diff options
| author | 2023-11-12 13:55:20 -0500 | |
|---|---|---|
| committer | 2023-11-12 13:55:20 -0500 | |
| commit | 4efb9763d90f02e4f966034db90b51fca366c441 (patch) | |
| tree | a9fc987e97df7705b239f7715883bb1e36b4ae8d /src | |
| parent | android: Fix top app bar tint being cut off in the about fragment (diff) | |
| download | yuzu-4efb9763d90f02e4f966034db90b51fca366c441.tar.gz yuzu-4efb9763d90f02e4f966034db90b51fca366c441.tar.xz yuzu-4efb9763d90f02e4f966034db90b51fca366c441.zip | |
android: Shrink logo in settings tab
Adjusts padding between the cards and logo to fit appropriately
Diffstat (limited to 'src')
| -rw-r--r-- | src/android/app/src/main/res/layout/card_home_option.xml | 4 | ||||
| -rw-r--r-- | src/android/app/src/main/res/layout/fragment_home_settings.xml | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml index 6e8a232f9..cb667c928 100644 --- a/src/android/app/src/main/res/layout/card_home_option.xml +++ b/src/android/app/src/main/res/layout/card_home_option.xml | |||
| @@ -6,8 +6,8 @@ | |||
| 6 | android:id="@+id/option_card" | 6 | android:id="@+id/option_card" |
| 7 | android:layout_width="match_parent" | 7 | android:layout_width="match_parent" |
| 8 | android:layout_height="wrap_content" | 8 | android:layout_height="wrap_content" |
| 9 | android:layout_marginVertical="12dp" | 9 | android:layout_marginBottom="24dp" |
| 10 | android:layout_marginHorizontal="16dp" | 10 | android:layout_marginHorizontal="12dp" |
| 11 | android:background="?attr/selectableItemBackground" | 11 | android:background="?attr/selectableItemBackground" |
| 12 | android:backgroundTint="?attr/colorSurfaceVariant" | 12 | android:backgroundTint="?attr/colorSurfaceVariant" |
| 13 | android:clickable="true" | 13 | android:clickable="true" |
diff --git a/src/android/app/src/main/res/layout/fragment_home_settings.xml b/src/android/app/src/main/res/layout/fragment_home_settings.xml index 1cb421dcb..d84093ba3 100644 --- a/src/android/app/src/main/res/layout/fragment_home_settings.xml +++ b/src/android/app/src/main/res/layout/fragment_home_settings.xml | |||
| @@ -14,13 +14,14 @@ | |||
| 14 | android:layout_width="match_parent" | 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="match_parent" | 15 | android:layout_height="match_parent" |
| 16 | android:orientation="vertical" | 16 | android:orientation="vertical" |
| 17 | android:background="?attr/colorSurface"> | 17 | android:background="?attr/colorSurface" |
| 18 | android:paddingHorizontal="8dp"> | ||
| 18 | 19 | ||
| 19 | <ImageView | 20 | <ImageView |
| 20 | android:id="@+id/logo_image" | 21 | android:id="@+id/logo_image" |
| 21 | android:layout_width="128dp" | 22 | android:layout_width="96dp" |
| 22 | android:layout_height="128dp" | 23 | android:layout_height="96dp" |
| 23 | android:layout_margin="64dp" | 24 | android:layout_marginVertical="32dp" |
| 24 | android:layout_gravity="center_horizontal" | 25 | android:layout_gravity="center_horizontal" |
| 25 | android:src="@drawable/ic_yuzu_full" /> | 26 | android:src="@drawable/ic_yuzu_full" /> |
| 26 | 27 | ||