Android Question set the activity background

yaniv hanya

Active Member
Licensed User
This is probably a simple question, but I could not find an answer.
I just have to load a picture to the activity background form the DirAssets
how do I call it?
Activity.Background= ???


Licensed User
or put a big ImageView at the bottom of your View stack (in Designer - go to the Views Tree tab and drag the ImageView to the top of the pile, just under Activity).

But given there's an Activity method specifically for the task, try that first.

edit: although... if it's a static image, then perhaps the ImageView-at-back method might be simpler, eg, no code required
Upvote 0