RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:ba...
分类:
微信 时间:
2016-05-12 20:19:21
阅读次数:
441
xml version="1.0" encoding="utf-8"?>LinearLayoutandroid:gravity="center_horizontal"android:orientation="vertical"android:layout_width="fill_parent"android:layout_height="fill_parent"xmlns:android="htt...
分类:
微信 时间:
2016-05-12 20:17:36
阅读次数:
455
自定义view
布局
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_verti...
分类:
其他好文 时间:
2016-05-12 20:02:07
阅读次数:
311
先上效果图
加载完数据
首先定义一个底部正在加载的布局footer_layout.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_p...
分类:
移动开发 时间:
2016-05-12 19:39:03
阅读次数:
397
电话窃听器
用服务开发
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout...
分类:
移动开发 时间:
2016-05-12 18:44:34
阅读次数:
245
android :id= "@+id/root"
android :layout_width= "match_parent"
android :layout_height= "match_parent"
android :columnCount= "4"
android :rowCount= "6">
android :layout_width...
分类:
其他好文 时间:
2016-05-12 18:25:59
阅读次数:
274
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
界面非常的简单,就是一个Button,点击这个Button呢,会弹出一个对话框
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_par...
分类:
移动开发 时间:
2016-05-12 18:12:57
阅读次数:
318
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
实习中遇到的需要自定义没有title的dialog,这里图片是我自己乱搞的,大概查了一下百度就开始写了。先是dialog的布局。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width...
分类:
其他好文 时间:
2016-05-12 14:22:00
阅读次数:
253