码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果
android include进来的组件 调用其子元素
include标签包裹着一个可复用的布局: <include layout="@layout/footer_detail" android:id="@+id/footer" android:layout_width="match_parent" android:layout_height="wrap ...
分类:移动开发   时间:2016-12-30 18:48:23    阅读次数:200
Android中Service通信(一)——启动Service并传递数据
启动Service并传递数据的小实例(通过外界与服务进行通信): 1、activity_main.xml: <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:text= ...
分类:移动开发   时间:2016-12-22 11:53:53    阅读次数:314
android的ViewFlipper
activity_main.xml<LinearLayoutxmlns: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:orientation="vertical" > <V..
分类:移动开发   时间:2016-12-15 01:22:10    阅读次数:245
android的GridView和Gallery
GridView:activity_main.xml<RelativeLayoutxmlns: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:paddingBottom="@dimen/acti..
分类:移动开发   时间:2016-12-14 22:35:00    阅读次数:421
android的ExpandableListView
activity_main.xml<RelativeLayoutxmlns: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:paddingBottom="@dimen/activity_vert..
分类:移动开发   时间:2016-12-14 22:27:45    阅读次数:289
android的ImageSwitcher和TextSwitcher
ImageSwitcher:activity_main.xml<RelativeLayoutxmlns: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:paddingBottom="@dime..
分类:移动开发   时间:2016-12-14 22:14:30    阅读次数:212
Android 中使用MediaRecorder实现视频录制功能
设置视频录制的简易界面<SurfaceView android:id="@+id/surface" android:layout_width="match_parent" android:layout_height="match_parent" /> <LinearLayout android:la ...
分类:移动开发   时间:2016-12-14 19:12:31    阅读次数:308
android的ListView的分页加载
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
android将图片和文字水平排列
<?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
android的ListView图文混搭
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
981条   上一页 1 ... 14 15 16 17 18 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!