Android基础TOP1_1:线性布局EditText

Activity:

 1  <LinearLayout
 2       android:layout_width="match_parent"
 3     android:layout_height="match_parent"
 4     //设置排列方式为纵向
 5     android:orientation="vertical" >
 6     
 7  
 8         <EditText
 9         android:layout_width="fill_parent"
10         android:layout_height="wrap_content"
11         android:hint="请输入任意字符"/>
12        <EditText
13         android:layout_width="fill_parent"
14         android:layout_height="wrap_content"
15         android:hint="请输入整数"/>
16        <EditText
17         android:layout_width="fill_parent"
18         android:layout_height="wrap_content"
19         android:hint="请输入日期"/>
20        <EditText
21         android:layout_width="fill_parent"
22         android:layout_height="wrap_content"
23         android:hint="请输入电话"/>

posted @ 2017-04-08 12:33  AndrioidCSY  阅读(361)  评论(0)    收藏  举报