Android布局控件
来源:互联网 发布:慧博智能策略终端mac 编辑:程序博客网 时间:2024/06/05 02:00
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent" 4 android:orientation="vertical" 5 android:gravity="center_vertical" 6 > 7 8 <ImageView 9 android:id="@+id/imageView1"10 android:layout_width="match_parent"11 android:layout_height="wrap_content"12 android:src="@drawable/qq_image" />13 14 <CheckBox15 android:id="@+id/checkBox1"16 android:layout_width="wrap_content"17 android:layout_height="wrap_content"18 android:text="CheckBox" />19 20 <EditText21 android:id="@+id/editText1"22 android:layout_width="match_parent"23 android:layout_height="wrap_content"24 android:hint="EditText"25 android:ems="10" >26 27 <requestFocus />28 </EditText>29 30 <AutoCompleteTextView31 android:id="@+id/autoCompleteTextView1"32 android:layout_width="match_parent"33 android:layout_height="wrap_content"34 android:completionThreshold="2"35 android:hint="@string/editText1_name" >36 </AutoCompleteTextView>37 38 <MultiAutoCompleteTextView39 android:id="@+id/multiAutoCompleteTextView1"40 android:layout_width="match_parent"41 android:layout_height="wrap_content"42 android:completionThreshold="2"43 android:hint="@string/editText2_name" >44 </MultiAutoCompleteTextView>45 46 <Button47 android:id="@+id/button1"48 android:layout_width="match_parent"49 android:layout_height="50dp"50 android:background="#C0D9D9"51 android:text="Button" />52 53 <com.example.anroiddome.MyTextView54 android:id="@+id/textView1"55 android:layout_width="match_parent"56 android:layout_height="wrap_content"57 android:ellipsize="marquee"58 android:focusable="true"59 android:focusableInTouchMode="true"60 android:singleLine="true"61 android:text="@string/view_name" />62 63 <ToggleButton64 android:id="@+id/toggleButton"65 android:layout_width="match_parent"66 android:layout_height="wrap_content"67 android:checked="false"68 android:textOff="关(toggleButton)"69 android:textOn="开(toggleButton)" />70 71 <RadioGroup72 android:id="@+id/radioGroup1"73 android:layout_width="wrap_content"74 android:layout_height="wrap_content" 75 android:orientation="horizontal"76 >77 78 <RadioButton79 android:id="@+id/radio0"80 android:layout_width="match_parent"81 android:layout_height="wrap_content"82 android:text="男" />83 84 <RadioButton85 android:id="@+id/radio1"86 android:layout_width="match_parent"87 android:layout_height="wrap_content"88 android:checked="true"89 android:text="女" />90 </RadioGroup>91 92 </LinearLayout>
整理于http://naotu.baidu.com/file/e5880b84b1a906838116f7a45f58de78
0 0
- android之布局控件
- android布局控件隐藏
- android控件布局
- android控件大小布局
- Android 布局控件属性
- android基础控件,布局
- android 布局及控件
- Android布局常用控件
- android View控件布局
- Android布局控件LinearLayout
- Android布局控件属性
- android 控件布局
- Android布局控件属性
- Android控件布局
- Android布局控件
- Android布局控件
- Android 布局 & 一些控件
- Android布局控件
- C++写geohash
- 递推-hdu1041 Computer Transformation
- 【UE4学习】17_Socket测试
- Easyui-datagrid行编辑的combobox联动
- Java匿名类
- Android布局控件
- 深入分析Java的序列化与反序列化
- relativelayout常用属性
- TableLayout属性
- Activity之间的跳转
- 最大子列和问题
- 网易云数据结构- Maximum Subsequence Sum
- 代码仓库
- STM32的例程GPIO的汇编指令初探