yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

android: Shrink logo in settings tab

Adjusts padding between the cards and logo to fit appropriately
This commit is contained in:
t895 2023-11-12 13:55:20 -05:00
parent c600bc8652
commit 4efb9763d9
2 changed files with 7 additions and 6 deletions

View File

@ -6,8 +6,8 @@
android:id="@+id/option_card" android:id="@+id/option_card"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginVertical="12dp" android:layout_marginBottom="24dp"
android:layout_marginHorizontal="16dp" android:layout_marginHorizontal="12dp"
android:background="?attr/selectableItemBackground" android:background="?attr/selectableItemBackground"
android:backgroundTint="?attr/colorSurfaceVariant" android:backgroundTint="?attr/colorSurfaceVariant"
android:clickable="true" android:clickable="true"

View File

@ -14,13 +14,14 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:background="?attr/colorSurface"> android:background="?attr/colorSurface"
android:paddingHorizontal="8dp">
<ImageView <ImageView
android:id="@+id/logo_image" android:id="@+id/logo_image"
android:layout_width="128dp" android:layout_width="96dp"
android:layout_height="128dp" android:layout_height="96dp"
android:layout_margin="64dp" android:layout_marginVertical="32dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:src="@drawable/ic_yuzu_full" /> android:src="@drawable/ic_yuzu_full" />