diff options
| author | t895 <clombardo169@gmail.com> | 2023-11-12 13:55:20 -0500 | 
|---|---|---|
| committer | t895 <clombardo169@gmail.com> | 2023-11-12 13:55:20 -0500 | 
| commit | 4efb9763d90f02e4f966034db90b51fca366c441 (patch) | |
| tree | a9fc987e97df7705b239f7715883bb1e36b4ae8d | |
| parent | c600bc86526bae9fe621cd3d8ab1a36d0fc7a931 (diff) | |
android: Shrink logo in settings tab
Adjusts padding between the cards and logo to fit appropriately
| -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 @@      android:id="@+id/option_card"      android:layout_width="match_parent"      android:layout_height="wrap_content" -    android:layout_marginVertical="12dp" -    android:layout_marginHorizontal="16dp" +    android:layout_marginBottom="24dp" +    android:layout_marginHorizontal="12dp"      android:background="?attr/selectableItemBackground"      android:backgroundTint="?attr/colorSurfaceVariant"      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 @@          android:layout_width="match_parent"          android:layout_height="match_parent"          android:orientation="vertical" -        android:background="?attr/colorSurface"> +        android:background="?attr/colorSurface" +        android:paddingHorizontal="8dp">          <ImageView              android:id="@+id/logo_image" -            android:layout_width="128dp" -            android:layout_height="128dp" -            android:layout_margin="64dp" +            android:layout_width="96dp" +            android:layout_height="96dp" +            android:layout_marginVertical="32dp"              android:layout_gravity="center_horizontal"              android:src="@drawable/ic_yuzu_full" />  | 
