码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
======自定义Spinner======
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res/com.example.myviewdemo" android:layout_width="match_parent" android:l...
分类:其他好文   时间:2015-01-30 10:47:54    阅读次数:99
Expert的View——StackView
StackView的使用效果: 使用方法: 在Xml布局文件中使用:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent...
分类:其他好文   时间:2015-01-29 14:37:30    阅读次数:138
第七十二讲:Chronometer定时器(二)
智者创造机会,强者把握机会,弱者等待机会。 本讲内容:定时器 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_par...
分类:其他好文   时间:2015-01-28 09:48:53    阅读次数:162
Android对话框(四)PopupWindow
主布局 <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="ma...
分类:移动开发   时间:2015-01-27 23:32:26    阅读次数:211
写数据到手机内存
当然是以文件形式写到手机内存,不过在模拟器上面运行会很慢 布局文件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent...
分类:移动开发   时间:2015-01-27 11:13:20    阅读次数:211
Android--MediaPlayer实现MP3播放小程序
Main.xml程序如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-26 22:56:41    阅读次数:385
Android对话框(二)ProgressDialog
main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_heigh...
分类:移动开发   时间:2015-01-26 21:07:58    阅读次数:256
Android对话框(三)DatePickerDialog and TimePikerDialog
有时间再写个日期时间合在一起的自定义时间选择对话框 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" and...
分类:移动开发   时间:2015-01-26 21:06:09    阅读次数:276
在app中插入广告,你可以用一个图片点击进去,也可以自定义布局
布局                 android:layout_width="fill_parent"                 android:layout_height="fill_parent"                 android:layout_weight="3"                 android:orientation="horizonta...
分类:移动开发   时间:2015-01-26 17:24:53    阅读次数:165
Fragment解析创建和传参,动态添加fragment
一下是个人的一些总结。 为fragment创建XML <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" ...
分类:其他好文   时间:2015-01-24 11:39:51    阅读次数:181
共981条   上一页 1 ... 72 73 74 75 76 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!