Explorar el Código

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

PabloG02 hace 3 años
padre
commit
1957b7e6cc
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/android/app/src/main/res/layout/card_game.xml

+ 2 - 1
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>