从一个页面返回到另一个页面,两种方法:
第一种也是我最常用的一种:
android:id="@+id/linearLayout"
android:layout_width="fill_parent"
android:layout_height="45dp"
...
分类:
其他好文 时间:
2014-11-10 23:26:53
阅读次数:
283
Android - 直线(line)画法本文地址: http://blog.csdn.net/caroline_wendy横线(horizontal line)<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@androi...
分类:
移动开发 时间:
2014-10-30 21:05:50
阅读次数:
218
Android - match_parent 和 fill_parent的区别本文地址: http://blog.csdn.net/caroline_wendymatch_parent 和 fill_parent的用法相同, 其实是完全一样的. API版本不同,推荐使用match_parent(API Level 8+)....
分类:
移动开发 时间:
2014-10-30 19:09:01
阅读次数:
241
学习安卓布局前,先了解三个属性值:1、fill_parent: 设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间2、match_parent: Android2.2中match_parent和fill_parent是一个意思 .两个参数意思一...
分类:
移动开发 时间:
2014-10-29 00:09:54
阅读次数:
316
最近看到很多界面主页都差不多,决定研究研究写出来,以后直接拿来用,不做代码的轮子,多总结,多学习
还是废话少说,先上图
介绍一下我的代码:
首先是布局文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
...
分类:
微信 时间:
2014-10-22 14:44:06
阅读次数:
394
fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或控件为fill_parent将强制性让它布满整个屏幕。wrap_content设置一个视图的尺寸为wrap_...
分类:
移动开发 时间:
2014-10-21 19:34:41
阅读次数:
223
============问题描述============ 我想把这个LinearLayout宽度设置成为FILL_PARENT,源码如下LinearLayoutcheckboxLinearLayout=(LinearLayout)getLayoutInflater().inflate(R.layou...
分类:
其他好文 时间:
2014-10-20 22:51:32
阅读次数:
154
android:gravity:设置textview中的字体居中显示
android:id="@+id/tv_audit_title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:backgr...
分类:
移动开发 时间:
2014-10-17 15:35:09
阅读次数:
243
效果:
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:shrinkColumns="0" >
android:text="审核类型:"
...
分类:
其他好文 时间:
2014-10-17 12:01:16
阅读次数:
117
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
android:...
分类:
移动开发 时间:
2014-10-16 23:27:53
阅读次数:
201