✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
AI编程基础
->
JAVA
LinearLayout中margin属性小结(二)
2014-11-24 11:52:29
·
作者:
·
浏览:
49
标签:
LinearLayout
margin
属性
小结
rginLeft="10dip"
android:layout_marginRight="20dip"
android:text="button2" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"
android:text="button3" />
vertical.xml如下:
[html]
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="30dip"
android:layout_marginBottom="130dip"
android:text="button1" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dip"
android:text="button2" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dip"
android:layout_marginBottom="10dip"
android:text="button3" />
首页
上一页
1
2
下一页
尾页
2
/2/2