|
42 | 42 | android:orientation="horizontal" > |
43 | 43 |
|
44 | 44 | <Button |
45 | | - android:layout_width="0dp" |
46 | | - android:layout_height="wrap_content" |
47 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 45 | + android:layout_width="match_parent" |
| 46 | + android:layout_height="match_parent" |
| 47 | + android:layout_marginTop="@dimen/button_vertical_margin" |
48 | 48 | android:layout_weight="1" |
49 | 49 | android:minHeight="@dimen/min_button_height" |
50 | 50 | android:onClick="onGetButtonClick" |
51 | 51 | android:text="@string/get_button" /> |
52 | 52 |
|
53 | 53 | <Button |
54 | | - android:layout_width="0dp" |
55 | | - android:layout_height="wrap_content" |
56 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 54 | + android:layout_width="match_parent" |
| 55 | + android:layout_height="match_parent" |
| 56 | + android:layout_marginTop="@dimen/button_vertical_margin" |
57 | 57 | android:layout_weight="1" |
58 | 58 | android:minHeight="@dimen/min_button_height" |
59 | 59 | android:onClick="onSetButtonClick" |
60 | 60 | android:text="@string/set_button" /> |
61 | | - </LinearLayout> |
62 | | - |
63 | | - <LinearLayout |
64 | | - android:layout_width="match_parent" |
65 | | - android:layout_height="wrap_content" |
66 | | - android:orientation="horizontal" > |
67 | 61 |
|
68 | 62 | <Button |
69 | | - android:layout_width="0dp" |
70 | | - android:layout_height="wrap_content" |
71 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 63 | + android:layout_width="match_parent" |
| 64 | + android:layout_height="match_parent" |
| 65 | + android:layout_marginTop="@dimen/button_vertical_margin" |
72 | 66 | android:layout_weight="1" |
73 | 67 | android:minHeight="@dimen/min_button_height" |
74 | 68 | android:onClick="onRemoveButtonClick" |
75 | 69 | android:text="@string/remove_button" /> |
| 70 | + </LinearLayout> |
| 71 | + |
| 72 | + <LinearLayout |
| 73 | + android:layout_width="match_parent" |
| 74 | + android:layout_height="wrap_content" |
| 75 | + android:orientation="horizontal" > |
76 | 76 |
|
77 | 77 | <Button |
78 | 78 | android:layout_width="0dp" |
79 | 79 | android:layout_height="wrap_content" |
80 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 80 | + android:layout_marginTop="@dimen/button_vertical_margin" |
81 | 81 | android:layout_weight="1" |
82 | 82 | android:minHeight="@dimen/min_button_height" |
83 | 83 | android:onClick="onClearAllButtonClick" |
|
87 | 87 | <Button |
88 | 88 | android:layout_width="match_parent" |
89 | 89 | android:layout_height="wrap_content" |
90 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 90 | + android:layout_marginTop="@dimen/button_vertical_margin" |
91 | 91 | android:onClick="onActivityButtonClick" |
92 | 92 | android:text="@string/activity_button" /> |
93 | 93 |
|
94 | 94 | <Button |
95 | 95 | android:layout_width="match_parent" |
96 | 96 | android:layout_height="wrap_content" |
97 | | - android:layout_marginTop="@dimen/activity_vertical_margin" |
| 97 | + android:layout_marginTop="@dimen/button_vertical_margin" |
98 | 98 | android:onClick="onFragmentButtonClick" |
99 | 99 | android:text="@string/fragment_button" /> |
100 | 100 |
|
|
0 commit comments