一、简介 二、代码1.xml(1)activity_main.xml 1 <ListView 2 android:id="@id/android:list" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_con
分类:
移动开发 时间:
2016-02-19 18:39:49
阅读次数:
260
<android.support.v7.widget.Toolbar android:id="@+id/toolbar_top" android:layout_height="wrap_content" android:layout_width="match_parent" android:minH
分类:
移动开发 时间:
2016-02-18 21:36:30
阅读次数:
460
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" and
分类:
移动开发 时间:
2016-02-18 18:04:06
阅读次数:
300
通常情况下我们想实现文字的走马灯效果需要在xml文件中这样设置
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="mar...
分类:
移动开发 时间:
2016-02-15 21:26:04
阅读次数:
304
1.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="fill_
分类:
移动开发 时间:
2016-02-13 14:35:06
阅读次数:
186
<?xml version="1.0" encoding="utf-8"?><ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" andro
分类:
其他好文 时间:
2016-02-12 15:10:08
阅读次数:
230
1.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="
分类:
移动开发 时间:
2016-02-12 14:01:11
阅读次数:
253
学了很多的ui的知识,这里就来实现个聊天的界面,首先来实现个layout的xml,代码如下:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_p...
分类:
移动开发 时间:
2016-02-11 22:42:28
阅读次数:
477
1. 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match
分类:
移动开发 时间:
2016-02-11 18:00:57
阅读次数:
258
在xml中知道style属性 <TextView style="@style/DavidStyleText1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/myTe
分类:
其他好文 时间:
2016-02-10 00:29:32
阅读次数:
222