How to change my background of the screen for my view
-
07-02-2021 - |
Question
I have simple job to do. I have to create an Help page for my android application. On that page I want to just put a full page of text of green color with some background image. Can anybody suggest me how can I do this in my XML file. Either in GraphicalLayoutMode or XML mode.
Please suggest what are the components required to this type of Help page...
Solution
android:background="#0abcde"
to set a color
android:background="@drawable/filename"
to set a image background.
use these tags for your layout parent view.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow