Tablayout 结合 viewPager <android.support.design.widget.TabLayout
android:id="@+id/tab_FindFragment_title"
android:layout_width="match_parent"
android:layout_height="wrap_co...
分类:
其他好文 时间:
2016-05-12 18:18:30
阅读次数:
144
ListView 在APP开发中几乎无处不在,重要性,不言而喻!
XML 代码:
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/ctype">
常用属性:
android:divider 用于为列表实例设置分隔条...
分类:
移动开发 时间:
2016-05-12 14:40:11
阅读次数:
252
1.activity_main.xml
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewpager"
android:layout_width="match_parent"
and...
分类:
其他好文 时间:
2016-05-12 14:02:28
阅读次数:
170
页面布局
android :layout_width= "match_parent"
android :layout_height= "match_parent"
android :orientation= "horizontal">
android :id= "@+id/img"
android :...
分类:
其他好文 时间:
2016-05-12 13:32:51
阅读次数:
275
1.日历 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" andro ...
分类:
其他好文 时间:
2016-05-10 20:38:13
阅读次数:
324
1、碎片的动态切换: 1-1:页面填写 <FrameLayout android:id="@+id/fl_layout" android:layout_weight="1" android:layout_width="match_parent" android:layout_height="matc ...
分类:
其他好文 时间:
2016-05-08 19:43:58
阅读次数:
173
效果图
类似格式,
listView_item.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
...
分类:
移动开发 时间:
2016-05-07 08:43:42
阅读次数:
177
这一篇是json解析的小案例,具体步骤如下:
第一步:写一个布局文件
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Ma...
分类:
Web程序 时间:
2016-05-07 08:43:11
阅读次数:
177
使用FragmentTabhost+Fragment实现一个底部导航栏
主布局: //放置Fragment
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_weight="1"...
分类:
其他好文 时间:
2016-05-07 07:58:07
阅读次数:
139
公司网络烂,自己又不想findview写很多遍,所以自己写了个小工具,自动findview,生成代码到剪贴版.
test:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
a...
分类:
移动开发 时间:
2016-05-07 06:59:28
阅读次数:
275