码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
安卓开发3-自定义安卓组件titlebar
1,titlebar button + textview实现 在layout文件夹内创建titlebar.xml文件 创建一个水平linearlayout ,将button与text放进去,根绝上一节的 自适应特性 设置 layout-width 与layout-height 值...
分类:移动开发   时间:2015-06-25 19:04:24    阅读次数:259
EditTex属性
xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"    android:orientation="vertical"     tools:context=".MainActivity" ...
分类:其他好文   时间:2015-06-25 17:35:24    阅读次数:115
edittext SearchView 失去焦点问题
edittext 默认自动获取焦点的 而且会出现小键盘很烦人               android:id="@+id/focus"             android:layout_width="fill_parent"             android:layout_height="60dp"             android:background="#E...
分类:其他好文   时间:2015-06-25 12:28:30    阅读次数:150
android:hint属性对TextView的影响
最近看到同事写的一段代码,很简单吧就是: <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:orientation...
分类:移动开发   时间:2015-06-24 11:01:00    阅读次数:122
第十四章,通过Intent打开其他软件(Android)
activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...
分类:移动开发   时间:2015-06-23 21:43:43    阅读次数:178
Android存储数据到本地文件
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" android:padding="5dp" &g..
分类:移动开发   时间:2015-06-23 18:12:19    阅读次数:144
Android中Spinner的使用
本博文介绍了基本的Spinner的使用方法首先写一下xml中的代码部分<Spinner android:id="@+id/myspinner" android:layout_width="fill_parent" android:layout_height="wrap_content" />再写一下Strings.xml中的文件部分<string-array name="tongxue" > <ite..
分类:移动开发   时间:2015-06-23 13:45:51    阅读次数:182
Android第三十八期 - 评价标签FlowLayout
代码已经整理好,这里要说一下,因为手动和Json获取写法不一样。手动直接xml设置:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="..
分类:移动开发   时间:2015-06-19 21:50:01    阅读次数:265
Android短信发送功能
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:padding="10dp" > <EditText a..
分类:移动开发   时间:2015-06-19 21:39:20    阅读次数:180
Android实现拨号器电话
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:padding="20dp" > <TextView and..
分类:移动开发   时间:2015-06-19 13:40:55    阅读次数:152
共981条   上一页 1 ... 49 50 51 52 53 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!