When inserting two images into Android Studio's Relative Layout, as shown in the photo below, you can see that images have been inserted into DrawableBottom, Foreground and Icon:
But when running the same graphical interface on the mobile, the images do not appear. Please, what to do for the images to appear? It's in the Relative Layout of Android Studio.
CodePudding user response:
For your case I think should do this to show
android:background:"@drawable/seta_direita"
Button:
<Button
android:id="@ id/btn"
android:layout_width="24dp"
android:layout_height="24dp"
android:background="@drawable/seta_direita"/>
RelativeLayout:
<RelativeLayout
android:id="@ id/layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/seta_direita">
</RelativeLayout>