码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
照相机
通过隐式意图来打开照相机 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:其他好文   时间:2015-05-26 23:32:15    阅读次数:312
自定义PopupWindow+ListView+Anim
activity_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:lay...
分类:Windows程序   时间:2015-05-26 21:29:14    阅读次数:368
TableLayout的相关属性
前三个是添加到TableLayout中的。 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" ??? android:layout_width="fill_parent" ??...
分类:其他好文   时间:2015-05-26 16:38:21    阅读次数:174
AdapterViewFlipper学习笔记
布局: <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-05-26 09:15:07    阅读次数:153
Android布局中对输入密码的隐藏和显示
<LinearLayout 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"...
分类:移动开发   时间:2015-05-26 00:21:42    阅读次数:194
android 实现侧滑菜单
1.主布局<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:background="@drawa...
分类:移动开发   时间:2015-05-25 16:48:31    阅读次数:211
UI设计之--仿微信聊天界面
1.首先编写main.xml文件: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientatio...
分类:微信   时间:2015-05-25 16:44:58    阅读次数:925
Android中Gallery和ImageSwitcher的使用
效果如下: 布局文件activity_main.xml如下:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"...
分类:移动开发   时间:2015-05-25 14:31:57    阅读次数:239
android解析一个本地txt文件
1,首先在res下面新建一个名字为raw的文件夹,添加一个txt文件在其下面; 2,创建一个布局文件,上面一个按钮出发点击事件,下面一个textview显示文本信息; 3,通过一个InputStream获取内容; xml布局代码:     android:layout_width="fill_parent"     android:layout_height="fill_pare...
分类:移动开发   时间:2015-05-25 10:17:30    阅读次数:419
简单的DatePicker样式设置
最近在搞一个关于日期选择DatePicker的PopupWindow需求,默认拖出来的空间都是年/月  可以上下滑动选择,可是日那块就是Calendar板的样式,网上搜了一大堆 ,竟然发现都是一样的,小白苟且猜测,大多是复制别人的,废话不多说,上代码: <DatePicker android:layout_width="wrap_content" ...
分类:其他好文   时间:2015-05-25 10:15:13    阅读次数:228
共981条   上一页 1 ... 56 57 58 59 60 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!