I have 4activity and I want to set an image for these activities, I set the android:background="@drawable/background"
property but it scales the image but I want this image set as a title image(set the background image size). I don't want to use ImageView because I want other views locate on the background Image.
how can I do this?
Asked
Active
Viewed 27 times
0

BeginnerProgrammer
- 664
- 3
- 13
- 27
-
Check this https://stackoverflow.com/questions/34973661/how-to-adjust-background-image-size-to-fit-the-app-screen-size-in-android – sneharc May 10 '18 at 19:39
-
So basically what you're looking for is an image that you can use as a title that is consistent with all your activities, is that what you want? – Choudhury Saadmaan Mahmid May 10 '18 at 19:52
-
yes and also I want to determine height and width for this image – BeginnerProgrammer May 11 '18 at 05:20