layout获取选中的table行_TableLayout(表格布局)

1

2 xmlns:tools="http://schemas.android.com/tools"

3 android:layout_width="match_parent"

4 android:layout_height="match_parent"

5 android:orientation="vertical"

6 tools:context=".AndroidTableLayoutActivity" >

7

8

9

10

12 android:layout_width="match_parent"

13 android:layout_height="wrap_content"

14 android:shrinkColumns="1"

15 android:stretchColumns="2" >

16

17

18

19

21 android:layout_width="wrap_content"

22 android:layout_height="wrap_content"

23 android:text="独自一行" >

24

25

26

27

28

30 android:layout_width="wrap_content"

31 android:layout_height="wrap_content"

32 android:text="普通" >

33

34

35

37 android:layout_width="wrap_content"

38 android:layout_height="wrap_content"

39 android:text="允许被收缩允许被收缩允许被收缩允许被收缩" >

40

41

42

44 android:layout_width="wrap_content"

45 android:layout_height="wrap_content"

46 android:text="允许被拉伸" >

47

48

49

50

51

52

54 android:layout_width="match_parent"

55 android:layout_height="wrap_content"

56 android:collapseColumns="1" >

57

58

59

60

62 android:layout_width="wrap_content"

63 android:layout_height="wrap_content"

64 android:text="普通" >

65

66

67

69 android:layout_width="wrap_content"

70 android:layout_height="wrap_content"

71 android:text="被隐藏列" >

72

73

74

76 android:layout_width="wrap_content"

77 android:layout_height="wrap_content"

78 android:text="允许被拉伸" >

79

80

81

82

83

84

86 android:layout_width="match_parent"

87 android:layout_height="wrap_content"

88 android:stretchColumns="1"

89 >

90

91

92

93

95 android:layout_width="wrap_content"

96 android:layout_height="wrap_content"

97 android:text="普通" >

98

99

100

102 android:layout_width="wrap_content"

103 android:layout_height="wrap_content"

104 android:text="填满剩余空白" >

105

106

107

108

109

110

112 android:layout_width="match_parent"

113 android:layout_height="wrap_content"

114 >

115

116

117

118

120 android:layout_width="wrap_content"

121 android:layout_height="wrap_content"

122 android:text="普通" >

123

124

125

127 android:layout_column="2"

128 android:layout_width="wrap_content"

129 android:layout_height="wrap_content"

130 android:text="填满剩余空白" >

131

132

133

134

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值