main6.xml<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ListView
androi..
分类:
移动开发 时间:
2016-12-14 14:37:50
阅读次数:
238
<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center"
>
&l..
分类:
移动开发 时间:
2016-12-13 16:38:52
阅读次数:
224
main4.xml<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<ListView
android:id="@+id/listView4_1_1"
..
分类:
移动开发 时间:
2016-12-13 16:37:23
阅读次数:
231
要实现这种效果,LinearLayout的嵌套实现2.使用RelativeLayout<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:..
分类:
移动开发 时间:
2016-12-09 01:34:16
阅读次数:
226
<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orien..
分类:
移动开发 时间:
2016-12-08 07:50:49
阅读次数:
254
1.TextView:显示文本控件 属性:android:id 控件的id android:layout_width 控件的宽度 android:layout_height 控件的高度 android:layout_text 文本内容 android:layout_textSize 文本大小 and ...
分类:
其他好文 时间:
2016-12-05 23:16:05
阅读次数:
264
<EditText android:id="@+id/et_phoneNum" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@null" android:di ...
分类:
其他好文 时间:
2016-12-01 11:55:06
阅读次数:
234
一、布局的代码: <TextView android:id="@+id/textViews" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/networkt ...
分类:
其他好文 时间:
2016-11-22 01:48:03
阅读次数:
183
activity_main.xml <RadioGroup android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:layout ...
分类:
其他好文 时间:
2016-11-17 13:02:15
阅读次数:
205
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent ...
分类:
移动开发 时间:
2016-10-25 19:22:18
阅读次数:
318