码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
Android中ListVIew高度自适应,解决ScrollView冲突问题以及Android表格
效果图 类似格式, listView_item.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" ...
分类:移动开发   时间:2016-05-07 08:43:42    阅读次数:177
JSON解析
这一篇是json解析的小案例,具体步骤如下: 第一步:写一个布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".Ma...
分类:Web程序   时间:2016-05-07 08:43:11    阅读次数:177
使用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
使用手势模拟左右滑动
<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
百度地图定位
//导入所有的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
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
Android学习(45) -- 自定义控件(9) 下拉刷新 (添加footer)
样式效果 1、创建底部的布局 layout_footer.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" ...
分类:移动开发   时间:2016-04-29 17:23:11    阅读次数:231
ListView优化中的细节问题
1、android:layout_height属性: 必须将ListView的布局高度属性设置为非“wrap_content”(可以是“match_parent / fill_parent / 400dp等绝对数值”),如果ListView的布局高度为“wrap_content”,那么getView ...
分类:其他好文   时间:2016-04-28 21:21:12    阅读次数:208
604条   上一页 1 ... 15 16 17 18 19 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!