|
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | 4 | android:layout_width="match_parent" |
5 | 5 | android:layout_height="wrap_content"> |
| 6 | + |
6 | 7 | <LinearLayout |
7 | 8 | android:orientation="vertical" |
8 | 9 | android:paddingLeft="8dp" |
|
11 | 12 | android:paddingBottom="@dimen/activity_vertical_margin" |
12 | 13 | android:layout_width="match_parent" |
13 | 14 | android:layout_height="wrap_content" > |
| 15 | + |
14 | 16 | <TextView |
15 | 17 | android:paddingLeft="10dp" |
16 | 18 | android:paddingRight="10dp" |
|
19 | 21 | android:text="@string/menu_power" |
20 | 22 | android:layout_marginBottom="8dp" |
21 | 23 | style="@style/textDefault" /> |
| 24 | + |
22 | 25 | <LinearLayout |
23 | 26 | android:orientation="horizontal" |
24 | 27 | android:layout_width="match_parent" |
25 | 28 | android:layout_height="wrap_content" |
26 | 29 | android:layout_marginBottom="8dp"> |
| 30 | + |
27 | 31 | <LinearLayout |
28 | 32 | android:orientation="horizontal" |
29 | 33 | android:id="@+id/power_shutdown" |
|
55 | 59 | style="@style/textTitle" /> |
56 | 60 | </LinearLayout> |
57 | 61 | </LinearLayout> |
| 62 | + |
58 | 63 | <LinearLayout |
59 | 64 | android:orientation="horizontal" |
60 | 65 | android:id="@+id/power_reboot" |
|
88 | 93 | </LinearLayout> |
89 | 94 | </LinearLayout> |
90 | 95 | </LinearLayout> |
| 96 | + |
91 | 97 | <LinearLayout |
92 | 98 | android:orientation="horizontal" |
93 | | - android:id="@+id/power_recovery" |
94 | | - android:background="@drawable/krscript_item_ripple_kin" |
95 | | - android:layout_marginBottom="8dp" |
96 | | - android:layout_height="65dp" |
97 | | - android:layout_weight="1.0" |
98 | | - style="@style/ListCardItemSmall"> |
99 | | - <ImageView |
100 | | - android:layout_gravity="center_vertical" |
101 | | - android:background="@drawable/action_menu_icon_bg" |
102 | | - android:layout_width="40dp" |
103 | | - android:layout_height="40dp" |
104 | | - android:src="@drawable/power_recovery" |
105 | | - android:scaleType="centerInside" |
106 | | - android:alpha="0.8" |
107 | | - android:layout_marginEnd="@dimen/activity_horizontal_margin" |
108 | | - android:backgroundTint="#FF00BCD4" |
109 | | - app:tint="#FFFFFFFF" /> |
| 99 | + android:layout_width="match_parent" |
| 100 | + android:layout_height="wrap_content" |
| 101 | + android:layout_marginBottom="8dp"> |
| 102 | + |
110 | 103 | <LinearLayout |
111 | | - android:layout_gravity="center_vertical" |
112 | | - android:orientation="vertical" |
113 | | - android:layout_width="0dp" |
114 | | - android:layout_height="wrap_content" |
115 | | - android:layout_weight="1.0"> |
116 | | - <TextView |
117 | | - android:layout_width="match_parent" |
| 104 | + android:orientation="horizontal" |
| 105 | + android:id="@+id/power_fastboot" |
| 106 | + android:background="@drawable/krscript_item_ripple_kin" |
| 107 | + android:layout_height="65dp" |
| 108 | + android:layout_weight="1.0" |
| 109 | + style="@style/ListCardItemSmall"> |
| 110 | + <ImageView |
| 111 | + android:layout_gravity="center_vertical" |
| 112 | + android:background="@drawable/action_menu_icon_bg" |
| 113 | + android:padding="10dp" |
| 114 | + android:layout_width="40dp" |
| 115 | + android:layout_height="40dp" |
| 116 | + android:src="@drawable/power_fastboot" |
| 117 | + android:scaleType="centerInside" |
| 118 | + android:alpha="0.8" |
| 119 | + android:layout_marginEnd="@dimen/activity_horizontal_margin" |
| 120 | + android:backgroundTint="#FFEA3F00" |
| 121 | + app:tint="#FFFFFFFF" /> |
| 122 | + <LinearLayout |
| 123 | + android:layout_gravity="center_vertical" |
| 124 | + android:orientation="vertical" |
| 125 | + android:layout_width="0dp" |
118 | 126 | android:layout_height="wrap_content" |
119 | | - android:layout_marginBottom="4dp" |
120 | | - android:text="@string/text_power_recovery" |
121 | | - style="@style/textTitle" /> |
| 127 | + android:layout_weight="1.0"> |
| 128 | + <TextView |
| 129 | + android:layout_width="match_parent" |
| 130 | + android:layout_height="wrap_content" |
| 131 | + android:layout_marginBottom="4dp" |
| 132 | + android:text="@string/text_power_fastboot" |
| 133 | + style="@style/textTitle" /> |
| 134 | + </LinearLayout> |
122 | 135 | </LinearLayout> |
123 | | - </LinearLayout> |
124 | | - <LinearLayout |
125 | | - android:orientation="horizontal" |
126 | | - android:id="@+id/power_fastboot" |
127 | | - android:background="@drawable/krscript_item_ripple_kin" |
128 | | - android:layout_marginBottom="8dp" |
129 | | - android:layout_height="65dp" |
130 | | - android:layout_weight="1.0" |
131 | | - style="@style/ListCardItemSmall"> |
132 | | - <ImageView |
133 | | - android:layout_gravity="center_vertical" |
134 | | - android:background="@drawable/action_menu_icon_bg" |
135 | | - android:padding="10dp" |
136 | | - android:layout_width="40dp" |
137 | | - android:layout_height="40dp" |
138 | | - android:src="@drawable/power_fastboot" |
139 | | - android:scaleType="centerInside" |
140 | | - android:alpha="0.8" |
141 | | - android:layout_marginEnd="@dimen/activity_horizontal_margin" |
142 | | - android:backgroundTint="#FFEA3F00" |
143 | | - app:tint="#FFFFFFFF" /> |
| 136 | + |
144 | 137 | <LinearLayout |
145 | | - android:layout_gravity="center_vertical" |
146 | | - android:orientation="vertical" |
147 | | - android:layout_width="0dp" |
148 | | - android:layout_height="wrap_content" |
149 | | - android:layout_weight="1.0"> |
150 | | - <TextView |
151 | | - android:layout_width="match_parent" |
| 138 | + android:orientation="horizontal" |
| 139 | + android:id="@+id/power_recovery" |
| 140 | + android:background="@drawable/krscript_item_ripple_kin" |
| 141 | + android:layout_height="65dp" |
| 142 | + android:layout_weight="1.0" |
| 143 | + style="@style/ListCardItemSmall"> |
| 144 | + <ImageView |
| 145 | + android:layout_gravity="center_vertical" |
| 146 | + android:background="@drawable/action_menu_icon_bg" |
| 147 | + android:layout_width="40dp" |
| 148 | + android:layout_height="40dp" |
| 149 | + android:src="@drawable/power_recovery" |
| 150 | + android:scaleType="centerInside" |
| 151 | + android:alpha="0.8" |
| 152 | + android:layout_marginEnd="@dimen/activity_horizontal_margin" |
| 153 | + android:backgroundTint="#FF00BCD4" |
| 154 | + app:tint="#FFFFFFFF" /> |
| 155 | + <LinearLayout |
| 156 | + android:layout_gravity="center_vertical" |
| 157 | + android:orientation="vertical" |
| 158 | + android:layout_width="0dp" |
152 | 159 | android:layout_height="wrap_content" |
153 | | - android:layout_marginBottom="4dp" |
154 | | - android:text="@string/text_power_fastboot" |
155 | | - style="@style/textTitle" /> |
| 160 | + android:layout_weight="1.0"> |
| 161 | + <TextView |
| 162 | + android:layout_width="match_parent" |
| 163 | + android:layout_height="wrap_content" |
| 164 | + android:layout_marginBottom="4dp" |
| 165 | + android:text="@string/text_power_recovery" |
| 166 | + style="@style/textTitle" /> |
| 167 | + </LinearLayout> |
156 | 168 | </LinearLayout> |
157 | 169 | </LinearLayout> |
| 170 | + |
158 | 171 | <LinearLayout |
159 | 172 | android:orientation="horizontal" |
160 | | - android:id="@+id/power_hot_reboot" |
161 | | - android:background="@drawable/krscript_item_ripple_kin" |
162 | | - android:layout_marginBottom="8dp" |
163 | | - android:layout_height="65dp" |
164 | | - android:layout_weight="1.0" |
165 | | - style="@style/ListCardItemSmall"> |
166 | | - <ImageView |
167 | | - android:layout_gravity="center_vertical" |
168 | | - android:background="@drawable/action_menu_icon_bg" |
169 | | - android:layout_width="40dp" |
170 | | - android:layout_height="40dp" |
171 | | - android:src="@drawable/power_hot_reboot" |
172 | | - android:scaleType="centerInside" |
173 | | - android:alpha="0.8" |
174 | | - android:layout_marginEnd="@dimen/activity_horizontal_margin" |
175 | | - android:backgroundTint="#C8787878" |
176 | | - app:tint="#FFFFFFFF" /> |
| 173 | + android:layout_width="match_parent" |
| 174 | + android:layout_height="wrap_content" |
| 175 | + android:layout_marginBottom="8dp"> |
| 176 | + |
177 | 177 | <LinearLayout |
178 | | - android:layout_gravity="center_vertical" |
179 | | - android:orientation="vertical" |
180 | | - android:layout_width="0dp" |
181 | | - android:layout_height="wrap_content" |
182 | | - android:layout_weight="1.0"> |
183 | | - <TextView |
184 | | - android:layout_width="match_parent" |
| 178 | + android:orientation="horizontal" |
| 179 | + android:id="@+id/power_hot_reboot" |
| 180 | + android:background="@drawable/krscript_item_ripple_kin" |
| 181 | + android:layout_height="65dp" |
| 182 | + android:layout_weight="1.0" |
| 183 | + style="@style/ListCardItemSmall"> |
| 184 | + <ImageView |
| 185 | + android:layout_gravity="center_vertical" |
| 186 | + android:background="@drawable/action_menu_icon_bg" |
| 187 | + android:layout_width="40dp" |
| 188 | + android:layout_height="40dp" |
| 189 | + android:src="@drawable/power_hot_reboot" |
| 190 | + android:scaleType="centerInside" |
| 191 | + android:alpha="0.8" |
| 192 | + android:layout_marginEnd="@dimen/activity_horizontal_margin" |
| 193 | + android:backgroundTint="#C8787878" |
| 194 | + app:tint="#FFFFFFFF" /> |
| 195 | + <LinearLayout |
| 196 | + android:layout_gravity="center_vertical" |
| 197 | + android:orientation="vertical" |
| 198 | + android:layout_width="0dp" |
185 | 199 | android:layout_height="wrap_content" |
186 | | - android:layout_marginBottom="4dp" |
187 | | - android:text="@string/text_power_dowload" |
188 | | - style="@style/textTitle" /> |
| 200 | + android:layout_weight="1.0"> |
| 201 | + <TextView |
| 202 | + android:layout_width="match_parent" |
| 203 | + android:layout_height="wrap_content" |
| 204 | + android:layout_marginBottom="4dp" |
| 205 | + android:text="@string/text_power_dowload" |
| 206 | + style="@style/textTitle" /> |
| 207 | + </LinearLayout> |
189 | 208 | </LinearLayout> |
190 | | - </LinearLayout> |
191 | | - <LinearLayout |
192 | | - android:orientation="horizontal" |
193 | | - android:id="@+id/power_emergency" |
194 | | - android:background="@drawable/krscript_item_ripple_kin" |
195 | | - android:layout_marginBottom="8dp" |
196 | | - android:layout_height="65dp" |
197 | | - android:layout_weight="1.0" |
198 | | - style="@style/ListCardItemSmall"> |
199 | | - <ImageView |
200 | | - android:layout_gravity="center_vertical" |
201 | | - android:background="@drawable/action_menu_icon_bg" |
202 | | - android:padding="11dp" |
203 | | - android:layout_width="40dp" |
204 | | - android:layout_height="40dp" |
205 | | - android:src="@drawable/power_emergency" |
206 | | - android:scaleType="centerInside" |
207 | | - android:alpha="0.8" |
208 | | - android:layout_marginEnd="@dimen/activity_horizontal_margin" |
209 | | - android:backgroundTint="#C8787878" |
210 | | - app:tint="#FFFFFFFF" /> |
| 209 | + |
211 | 210 | <LinearLayout |
212 | | - android:layout_gravity="center_vertical" |
213 | | - android:orientation="vertical" |
214 | | - android:layout_width="0dp" |
215 | | - android:layout_height="wrap_content" |
216 | | - android:layout_weight="1.0"> |
217 | | - <TextView |
218 | | - android:layout_width="match_parent" |
| 211 | + android:orientation="horizontal" |
| 212 | + android:id="@+id/power_emergency" |
| 213 | + android:background="@drawable/krscript_item_ripple_kin" |
| 214 | + android:layout_height="65dp" |
| 215 | + android:layout_weight="1.0" |
| 216 | + style="@style/ListCardItemSmall"> |
| 217 | + <ImageView |
| 218 | + android:layout_gravity="center_vertical" |
| 219 | + android:background="@drawable/action_menu_icon_bg" |
| 220 | + android:padding="11dp" |
| 221 | + android:layout_width="40dp" |
| 222 | + android:layout_height="40dp" |
| 223 | + android:src="@drawable/power_emergency" |
| 224 | + android:scaleType="centerInside" |
| 225 | + android:alpha="0.8" |
| 226 | + android:layout_marginEnd="@dimen/activity_horizontal_margin" |
| 227 | + android:backgroundTint="#C8787878" |
| 228 | + app:tint="#FFFFFFFF" /> |
| 229 | + <LinearLayout |
| 230 | + android:layout_gravity="center_vertical" |
| 231 | + android:orientation="vertical" |
| 232 | + android:layout_width="0dp" |
219 | 233 | android:layout_height="wrap_content" |
220 | | - android:layout_marginBottom="4dp" |
221 | | - android:text="@string/text_power_edl" |
222 | | - style="@style/textTitle" /> |
| 234 | + android:layout_weight="1.0"> |
| 235 | + <TextView |
| 236 | + android:layout_width="match_parent" |
| 237 | + android:layout_height="wrap_content" |
| 238 | + android:layout_marginBottom="4dp" |
| 239 | + android:text="@string/text_power_edl" |
| 240 | + style="@style/textTitle" /> |
| 241 | + </LinearLayout> |
223 | 242 | </LinearLayout> |
| 243 | + |
224 | 244 | </LinearLayout> |
| 245 | + |
225 | 246 | </LinearLayout> |
226 | 247 | </com.omarea.common.ui.OverScrollView> |
0 commit comments