FrameLayout
来源:互联网 发布:使用c语言完成http请求 编辑:程序博客网 时间:2024/04/28 12:41
FrameLayout是占据屏幕一块区域去展示一个item。通常,应该只存放一个view,因为我们很难组装多个子元素让他们在不同的
屏幕上不产生重叠。然而,你可以通过设置layout_gravity属性来控制多个子元素。
Child views are drawn in a stack,像栈一样,先添加的在上面。FrameLayout的大小是他最大元素的大小,加上padding,无论
可见不可见。 Views that are GONE
are used for sizing only ifsetConsiderGoneChildrenWhenMeasuring()
is set to true。
GONE是压根就没有,不占据空间,空间可以让给别人,invisible,不可见,但是还是占着地方,我就是不显示而已,
所以我们可以做一个覆盖的图。比如疯狂java 的弥红灯。
0 0
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- Framelayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout
- FrameLayout.xml
- FrameLayout布局
- FrameLayout使用
- 关闭win7窗口自动排列功能的方法
- hellow mui 引导页的实现
- Linux C高级编程——文件操作之系统调用
- POJ 1088
- C语言实现封装、继承和多态
- FrameLayout
- cocos2dx和quick的区别
- Android开发之WebService介绍
- Change Queue Not Work In Unity Shader
- hdu 4003 Find Metal Mineral(树形dp+分组背包)
- swift中实现description
- 关于VC中 error C2871: 'std' : does not exist or is not a namespace
- 2016蓝桥杯假期任务之《泊松汾酒》
- C#上机实验(三)