Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Add image to card_game.xml to preview in the Layout Editor

PabloG0209bbcceec6fd
diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml
index 469ad9edf1..1f5de219b8 100644
--- a/src/android/app/src/main/res/layout/card_game.xml
+++ b/src/android/app/src/main/res/layout/card_game.xml
@@ -38,7 +38,8 @@
<ImageView
android:id="@+id/image_game_screen"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ tools:src="@drawable/default_icon" />
</com.google.android.material.card.MaterialCardView>