|
1392 | 1392 | </LinearLayout> |
1393 | 1393 | </com.google.android.material.card.MaterialCardView> |
1394 | 1394 |
|
1395 | | - <!-- Subsection: Reorder --> |
1396 | | - <com.google.android.material.card.MaterialCardView |
1397 | | - android:id="@+id/card_appearance_reorder" |
1398 | | - style="@style/Widget.Material3.CardView.Outlined" |
1399 | | - android:layout_width="match_parent" |
1400 | | - android:layout_height="wrap_content" |
1401 | | - android:layout_marginBottom="6dp" |
1402 | | - app:cardBackgroundColor="?attr/colorSurfaceContainerLow"> |
1403 | | - |
1404 | | - <LinearLayout |
1405 | | - android:layout_width="match_parent" |
1406 | | - android:layout_height="wrap_content" |
1407 | | - android:orientation="vertical"> |
1408 | | - |
1409 | | - <LinearLayout |
1410 | | - android:id="@+id/header_appearance_reorder" |
1411 | | - android:layout_width="match_parent" |
1412 | | - android:layout_height="wrap_content" |
1413 | | - android:orientation="horizontal" |
1414 | | - android:gravity="center_vertical" |
1415 | | - android:paddingStart="14dp" |
1416 | | - android:paddingEnd="14dp" |
1417 | | - android:paddingTop="10dp" |
1418 | | - android:paddingBottom="10dp" |
1419 | | - android:background="?attr/selectableItemBackground" |
1420 | | - android:clickable="true" |
1421 | | - android:focusable="true"> |
1422 | | - |
1423 | | - <TextView |
1424 | | - android:id="@+id/header_title_appearance_reorder" |
1425 | | - android:layout_width="0dp" |
1426 | | - android:layout_height="wrap_content" |
1427 | | - android:layout_weight="1" |
1428 | | - android:text="REORDER" |
1429 | | - android:textColor="?attr/colorOnSurfaceVariant" |
1430 | | - android:textSize="13sp" |
1431 | | - android:textStyle="bold" |
1432 | | - android:letterSpacing="0.05"/> |
1433 | | - |
1434 | | - <ImageView |
1435 | | - android:id="@+id/header_chevron_appearance_reorder" |
1436 | | - android:layout_width="20dp" |
1437 | | - android:layout_height="20dp" |
1438 | | - android:src="@drawable/ic_chevron_down" |
1439 | | - android:rotation="0" |
1440 | | - app:tint="?attr/colorOnSurfaceVariant" |
1441 | | - android:contentDescription="Expand/collapse"/> |
1442 | | - </LinearLayout> |
1443 | | - |
1444 | | - <LinearLayout |
1445 | | - android:id="@+id/content_appearance_reorder" |
1446 | | - android:layout_width="match_parent" |
1447 | | - android:layout_height="wrap_content" |
1448 | | - android:orientation="vertical" |
1449 | | - android:visibility="gone" |
1450 | | - android:paddingStart="8dp" |
1451 | | - android:paddingEnd="8dp" |
1452 | | - android:paddingBottom="8dp"> |
1453 | | - |
1454 | | - <include layout="@layout/settings_reorder_section" |
1455 | | - android:id="@+id/row_reorder_section" |
1456 | | - android:layout_width="match_parent" |
1457 | | - android:layout_height="wrap_content"/> |
1458 | | - </LinearLayout> |
1459 | | - </LinearLayout> |
1460 | | - </com.google.android.material.card.MaterialCardView> |
1461 | | - |
1462 | 1395 | <!-- Subsection: Transparency --> |
1463 | 1396 | <com.google.android.material.card.MaterialCardView |
1464 | 1397 | android:id="@+id/card_appearance_transparency" |
|
1530 | 1463 | </LinearLayout> |
1531 | 1464 | </com.google.android.material.card.MaterialCardView> |
1532 | 1465 |
|
| 1466 | + <!-- FEATURE: Reorder --> |
| 1467 | + <com.google.android.material.card.MaterialCardView |
| 1468 | + android:id="@+id/card_appearance_reorder" |
| 1469 | + style="@style/Widget.Material3.CardView.Outlined" |
| 1470 | + android:layout_width="match_parent" |
| 1471 | + android:layout_height="wrap_content" |
| 1472 | + android:layout_marginBottom="8dp" |
| 1473 | + app:cardBackgroundColor="?attr/colorSurfaceContainerHigh"> |
| 1474 | + |
| 1475 | + <LinearLayout |
| 1476 | + android:layout_width="match_parent" |
| 1477 | + android:layout_height="wrap_content" |
| 1478 | + android:orientation="vertical"> |
| 1479 | + |
| 1480 | + <LinearLayout |
| 1481 | + android:id="@+id/header_appearance_reorder" |
| 1482 | + android:layout_width="match_parent" |
| 1483 | + android:layout_height="wrap_content" |
| 1484 | + android:orientation="horizontal" |
| 1485 | + android:gravity="center_vertical" |
| 1486 | + android:paddingStart="16dp" |
| 1487 | + android:paddingEnd="16dp" |
| 1488 | + android:paddingTop="14dp" |
| 1489 | + android:paddingBottom="14dp" |
| 1490 | + android:background="?attr/selectableItemBackground" |
| 1491 | + android:clickable="true" |
| 1492 | + android:focusable="true"> |
| 1493 | + |
| 1494 | + <ImageView |
| 1495 | + android:id="@+id/header_icon_appearance_reorder" |
| 1496 | + android:layout_width="24dp" |
| 1497 | + android:layout_height="24dp" |
| 1498 | + android:layout_marginEnd="12dp" |
| 1499 | + android:src="@android:drawable/ic_menu_sort_by_size" |
| 1500 | + android:contentDescription="Icon" |
| 1501 | + app:tint="?attr/colorPrimary"/> |
| 1502 | + |
| 1503 | + <TextView |
| 1504 | + android:id="@+id/header_title_appearance_reorder" |
| 1505 | + android:layout_width="0dp" |
| 1506 | + android:layout_height="wrap_content" |
| 1507 | + android:layout_weight="1" |
| 1508 | + android:text="Reorder" |
| 1509 | + android:textColor="?attr/colorOnSurface" |
| 1510 | + android:textSize="16sp" |
| 1511 | + android:textStyle="bold" /> |
| 1512 | + |
| 1513 | + <ImageView |
| 1514 | + android:id="@+id/header_chevron_appearance_reorder" |
| 1515 | + android:layout_width="24dp" |
| 1516 | + android:layout_height="24dp" |
| 1517 | + android:src="@drawable/ic_chevron_down" |
| 1518 | + android:rotation="0" |
| 1519 | + app:tint="?attr/colorOnSurfaceVariant" |
| 1520 | + android:contentDescription="Expand/collapse"/> |
| 1521 | + </LinearLayout> |
| 1522 | + |
| 1523 | + <LinearLayout |
| 1524 | + android:id="@+id/content_appearance_reorder" |
| 1525 | + android:layout_width="match_parent" |
| 1526 | + android:layout_height="wrap_content" |
| 1527 | + android:orientation="vertical" |
| 1528 | + android:visibility="gone" |
| 1529 | + android:paddingStart="8dp" |
| 1530 | + android:paddingEnd="8dp" |
| 1531 | + android:paddingBottom="8dp"> |
| 1532 | + |
| 1533 | + <include layout="@layout/settings_reorder_section" |
| 1534 | + android:id="@+id/row_reorder_section" |
| 1535 | + android:layout_width="match_parent" |
| 1536 | + android:layout_height="wrap_content"/> |
| 1537 | + </LinearLayout> |
| 1538 | + </LinearLayout> |
| 1539 | + </com.google.android.material.card.MaterialCardView> |
| 1540 | + |
1533 | 1541 | </LinearLayout> |
1534 | 1542 | </androidx.core.widget.NestedScrollView> |
1535 | 1543 |
|
|
0 commit comments