码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
使用FragmentTabHost 完成一个简单的底部导航栏
使用FragmentTabhost+Fragment实现一个底部导航栏 主布局: //放置Fragment <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1"...
分类:其他好文   时间:2016-05-07 07:58:07    阅读次数:139
Android小工具
公司网络烂,自己又不想findview写很多遍,所以自己写了个小工具,自动findview,生成代码到剪贴版. test: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" a...
分类:移动开发   时间:2016-05-07 06:59:28    阅读次数:275
使用手势模拟左右滑动
<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_pa...
分类:其他好文   时间:2016-05-07 01:10:11    阅读次数:191
Android04-UI01常用控件
1.常见控件的使用: TextView Button EditText ImageView 1.TextView <TextView android:id="@+id/text_view" android:layout_width="match_parent" android:layout_heig ...
分类:移动开发   时间:2016-05-06 20:31:39    阅读次数:196
ImageView的属性android:scaleType作用
在网上查了好多资料,大致都雷同,大家都是互相抄袭的,看着很费劲,不好理解,自己总结一下,留着需要看的话来查找。代码中的例子如下 ImageView android:id="@+id/iv_bit_1" android:layout_width="@dimen/passcode_width" android:layout_...
分类:移动开发   时间:2016-05-06 15:45:53    阅读次数:161
百度地图定位
//导入所有的jar包 <com.baidu.mapapi.map.MapView android:id="@+id/bmapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:cl ...
分类:其他好文   时间:2016-05-03 22:00:30    阅读次数:269
Android布局 屏幕滚动方法 ScrollView
ScrollView标签要放到最外层,事例: <ScrollViewxmlns: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"> <LinearLayout androi..
分类:移动开发   时间:2016-05-03 20:35:05    阅读次数:224
导航栏
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" and ...
分类:其他好文   时间:2016-05-02 14:21:52    阅读次数:166
PullToRefreshGridView
<com.handmark.pulltorefresh.library.PullToRefreshGridView android:id="@+id/pull_refresh_grid" android:layout_width="fill_parent" android:layout_height ...
分类:其他好文   时间:2016-04-30 12:59:11    阅读次数:220
Android 智能短信第一天(下午)
ConversationFragment的布局: 首先我们找到我们要写的Fragment布局文件。 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_p...
分类:移动开发   时间:2016-04-29 19:04:01    阅读次数:257
共981条   上一页 1 ... 26 27 28 29 30 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!