I have added a background image in Android studio. But I also want to add a button on the icture. however, when i drag the button element onto the background image, it doesn't appears on the Image. what should i do? I want the background image and the button to come on the same screen.
Asked
Active
Viewed 131 times
-1
-
2Show your xml code – Autocrab Sep 24 '20 at 12:02
-
Does this answer your question? [Put a button over an ImageView](https://stackoverflow.com/questions/7306453/put-a-button-over-an-imageview) – Mohamed AbdelraZek Sep 24 '20 at 13:26
-
Thank You, the Problem has been solved!! – swastika pallai Sep 25 '20 at 01:54
1 Answers
0
Use constraint layout or relative layout. For more info https://developer.android.com/training/constraint-layout https://developer.android.com/guide/topics/ui/layout/relative

Asad khan
- 156
- 7