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

This commit is contained in:
PabloG02 2023-06-01 17:51:40 +02:00 committed by bunnei
parent a7e0a0d5b1
commit 1957b7e6cc
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@
<ImageView <ImageView
android:id="@+id/image_game_screen" android:id="@+id/image_game_screen"
android:layout_width="match_parent" 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> </com.google.android.material.card.MaterialCardView>