android LinearLayout布局
16lz
2021-01-23
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="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:id="@+id/textView1" android:layout_width="70dip" android:layout_height="wrap_content" android:text="客户" /> <EditText android:id="@+id/editText1" android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" android:ems="10" android:inputType="textPassword" > <requestFocus /> </EditText> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/textView2" android:layout_width="70dip" android:layout_height="wrap_content" android:text="仓库" /> <EditText android:id="@+id/editText2" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:inputType="textPassword" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" > <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="60dp" android:text="Button1" /> <Button android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button2" /> </LinearLayout></LinearLayout>
更多相关文章
- (源码)200多种Android动画效果的强悍框架、外卖020的演示客户端、a
- Android客户端判断服务器是否开启 HttpHostException解决方案
- android 客户端访问服务器端
- Android聊天客户端Demo,开源了.基本功能都有,数据库,服务器都Ok
- PC客户端与Android服务端的Socket同步通信(USB)
- Socket 通信原理(Android客户端和服务器以TCP&&UDP方式互通)
- Android客户端和服务器交换数据的一种方案
- Android客户端如何从Web服务端加载图片