How can i display an image as my application background

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Re: How can i display an image as my application background

Postby gymshoe » Sat Jun 19, 2010 7:58 pm

I am not too experienced, but I know that you can modify your view/layout dynamically using java code to some extent. For instance you can reassign the bitmap or drawable for an ImageView which will then essentially change the picture. You can modify a widget's (buttons, textview, imageview,etc) "visibility" so that it disappears, until you decide to make it visible again. I think you can add further widgets to a layout, even if these weren't in the static xml layout file, but easy to test. I don't know about what takes preference if you try to use a "setter" method (java code) to change a widget's property which has already been set through an underlying xml layout, but that would be easy to experiment with.

good luck
gymshoe
Junior Developer
Junior Developer
 
Posts: 15
Joined: Wed Sep 10, 2008 6:07 am

Top
Previous

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests