ITPub博客

首页 > 应用开发 > IT综合 > Android 4.0 的 GridLayout

Android 4.0 的 GridLayout

IT综合 作者:2323684401 时间:2014-06-18 16:34:55 0 删除 编辑

11105333_V3OP.png

代码:

1

2

3       xmlns:android="http://schemas.android.com/apk/res/android"

4 

5        android:layout_width="match_parent"

6        android:layout_height="match_parent"

7 

8        android:useDefaultMargins="true"

9        android:alignmentMode="alignBounds"

10        android:columnOrderPreserved="false"

11 

12        android:columnCount="4"

13        >

14

15  

16            android:text="Email setup"

17           android:textSize="32dip"

18 

19            android:layout_columnSpan="4"

20            android:layout_gravity="center_horizontal"

21            />

22 

23    

24            android:text="You can configure email in just a few steps:"

25            android:textSize="16dip"css3

26 

27            android:layout_columnSpan="4"

28            android:layout_gravity="left"

29            />

30 

31    

32            android:text="Email address:"

33 

34            android:layout_gravity="right"

35            />

36 

37    

38            android:ems="10"

39            />

40 

41    

42            android:text="Password:"

43

44            android:layout_column="0"

45           android:layout_gravity="right"

46            />

47 

48    

49            android:ems="8"

50            />

51 

52    

53           android:layout_row="4"

54            android:layout_column="0"

55            android:layout_columnSpan="3"

56            android:layout_gravity="fill"

57            />

58 

59    

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29658298/viewspace-1188474/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-05-14

  • 博文量
    28
  • 访问量
    36542