|
261 | 261 | android:layout_height="wrap_content"
|
262 | 262 | android:layout_below="@+id/textwrapper"
|
263 | 263 | android:layout_gravity="right"
|
264 |
| - android:gravity="right" |
265 | 264 | android:foregroundGravity="right"
|
| 265 | + android:gravity="right" |
266 | 266 | android:orientation="horizontal">
|
267 | 267 |
|
268 | 268 | <az.plainpie.PieView
|
269 | 269 | android:id="@+id/pieView"
|
270 | 270 | android:layout_width="60dp"
|
271 | 271 | android:layout_height="60dp"
|
272 |
| - android:layout_marginTop="7dp" |
273 | 272 | android:layout_gravity="right"
|
274 |
| - android:gravity="right" |
| 273 | + android:layout_marginTop="7dp" |
275 | 274 | android:foregroundGravity="right"
|
| 275 | + android:gravity="right" |
276 | 276 | plainpie:inner_pie_padding="5"
|
277 | 277 | plainpie:inner_text_visibility="true"
|
278 | 278 | plainpie:percentage="50"
|
|
283 | 283 | android:layout_width="wrap_content"
|
284 | 284 | android:layout_height="wrap_content"
|
285 | 285 | android:layout_gravity="right"
|
286 |
| - android:gravity="right" |
287 | 286 | android:foregroundGravity="right"
|
| 287 | + android:gravity="right" |
288 | 288 | app:useMaterialThemeColors="false" />
|
289 | 289 |
|
290 | 290 | <com.google.android.material.button.MaterialButton
|
291 | 291 | android:id="@+id/on_button"
|
292 | 292 | style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
293 | 293 | android:layout_width="60dp"
|
294 | 294 | android:layout_height="wrap_content"
|
| 295 | + android:layout_marginLeft="8dp" |
| 296 | + android:layout_weight="1" |
295 | 297 | android:layout_gravity="right"
|
296 |
| - android:gravity="right" |
297 | 298 | android:foregroundGravity="right"
|
298 | 299 | android:text="@string/button_state_on"
|
299 | 300 | android:textColor="?attr/buttonTextColor"
|
|
305 | 306 | android:layout_width="60dp"
|
306 | 307 | android:layout_height="wrap_content"
|
307 | 308 | android:layout_gravity="right"
|
308 |
| - android:gravity="right" |
309 |
| - android:foregroundGravity="right" |
310 | 309 | android:layout_marginLeft="7dp"
|
311 | 310 | android:layout_weight="1"
|
| 311 | + android:foregroundGravity="right" |
312 | 312 | android:text="@string/button_state_off"
|
313 | 313 | android:textColor="?attr/buttonTextColor"
|
314 | 314 | android:textSize="10dp" />
|
|
319 | 319 | android:layout_width="56dp"
|
320 | 320 | android:layout_height="wrap_content"
|
321 | 321 | android:layout_gravity="right"
|
322 |
| - android:gravity="right" |
323 | 322 | android:foregroundGravity="right"
|
324 | 323 | android:text="@string/set_temperature"
|
325 | 324 | android:textColor="?attr/buttonTextColor"
|
|
330 | 329 | android:layout_width="25dp"
|
331 | 330 | android:layout_height="25dp"
|
332 | 331 | android:layout_gravity="right"
|
333 |
| - android:gravity="right" |
334 |
| - android:foregroundGravity="right" |
335 | 332 | android:layout_margin="7dp"
|
336 | 333 | android:layout_marginTop="10dp"
|
| 334 | + android:foregroundGravity="right" |
| 335 | + android:gravity="right" |
337 | 336 | android:src="@drawable/baseline_keyboard_arrow_up_black_24"
|
338 | 337 | app:tint="@color/primary" />
|
339 | 338 |
|
|
342 | 341 | android:layout_width="25dp"
|
343 | 342 | android:layout_height="25dp"
|
344 | 343 | android:layout_gravity="right"
|
345 |
| - android:gravity="right" |
346 |
| - android:foregroundGravity="right" |
347 | 344 | android:layout_margin="7dp"
|
348 | 345 | android:layout_marginTop="10dp"
|
| 346 | + android:foregroundGravity="right" |
| 347 | + android:gravity="right" |
349 | 348 | android:src="@drawable/baseline_stop_black_24"
|
350 | 349 | app:tint="@color/primary" />
|
351 | 350 |
|
|
0 commit comments