使用HttpClient方式请求网络
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2016-04-29 18:55:34
阅读次数:
293
样式效果
1、创建底部的布局 layout_footer.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
...
分类:
移动开发 时间:
2016-04-29 17:23:11
阅读次数:
231
1.下拉列表Spinner
1.1.activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_par...
分类:
其他好文 时间:
2016-04-29 15:18:38
阅读次数:
407
水平LinearLayout中如果A,B两个控件都是layout_weight="1",那么控件在水平方向占比为A的layout_width+1/2空闲空间,B的layout_width+1/2空闲空间,那么如果AB的layout_width为0的话,AB就平分整个屏幕了。 设置layout_wei ...
分类:
其他好文 时间:
2016-04-28 11:54:57
阅读次数:
140
ConversationFragment的布局:
首先我们找到我们要写的Fragment布局文件。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_p...
分类:
移动开发 时间:
2016-04-26 21:14:23
阅读次数:
187
样式效果
1、创建底部的布局 layout_footer.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
...
分类:
移动开发 时间:
2016-04-26 20:02:15
阅读次数:
217
使用HttpClient方式请求网络
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2016-04-24 23:17:03
阅读次数:
588
一直一来对android:layout_height、android:layout_width、android:height、android:width这几个属性的关系有些不理解,既然有了android:layout_height和android:layout_width为什么还要有android: ...
分类:
移动开发 时间:
2016-04-24 18:43:06
阅读次数:
191
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layo ...
分类:
其他好文 时间:
2016-04-22 09:27:21
阅读次数:
275
1 <?xml version="1.0" encoding="utf-8"?> 2 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent ...
分类:
其他好文 时间:
2016-04-22 01:05:38
阅读次数:
115