星空网 > 软件开发 > 操作系统

LinearLayout嵌套

<??><LinearLayout ="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="match_parent"  android:orientation="vertical" >  <LinearLayout    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:orientation="horizontal" >    <TextView      android:layout_width="wrap_content"      android:layout_height="wrap_content"      android:text="用户名  :" />    <EditText      android:id="@+id/editText1"      android:layout_width="match_parent"      android:layout_height="wrap_content"      android:hint="请输入用户名" />  </LinearLayout>  <LinearLayout    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:orientation="horizontal" >    <TextView      android:layout_width="wrap_content"      android:layout_height="wrap_content"      android:text="密    码:" />    <EditText      android:id="@+id/editText2"      android:layout_width="match_parent"      android:layout_height="wrap_content"      android:hint="请输入密码"      android:inputType="textPassword" />  </LinearLayout>  <LinearLayout    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:orientation="horizontal" >    <TextView      android:layout_width="wrap_content"      android:layout_height="wrap_content"      android:text="确认密码:" />    <EditText      android:id="@+id/editText3"      android:layout_width="match_parent"      android:layout_height="wrap_content"      android:hint="请再输入密码"      android:inputType="textPassword" />  </LinearLayout>  <LinearLayout    android:layout_width="match_parent"    android:layout_height="wrap_content" >    <Button      android:id="@+id/btn_confirm"      android:layout_width="wrap_content"      android:layout_height="wrap_content"      android:layout_weight="1"      android:background="@drawable/login_btn_click"      android:text="确认" />    <Button      android:id="@+id/btn_back"      android:layout_width="wrap_content"      android:layout_height="wrap_content"      android:layout_weight="1"      android:background="@drawable/login_btn_click"      android:text="返回" />  </LinearLayout></LinearLayout>

 




原标题:LinearLayout嵌套

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

联递国际物流集团:https://www.goluckyvip.com/tag/37462.html
联合国国际贸易中心:https://www.goluckyvip.com/tag/37463.html
联合国贸发会:https://www.goluckyvip.com/tag/37464.html
联合国气候变化大会:https://www.goluckyvip.com/tag/37465.html
联合国卫塞节:https://www.goluckyvip.com/tag/37466.html
联合营销:https://www.goluckyvip.com/tag/37468.html
长治婚庆女司仪和主持人:https://www.vstour.cn/a/366176.html
北京丰台区水上乐园哪家好玩?:https://www.vstour.cn/a/366177.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流