Android application (how to change the background) tutorial #3
Android Application Tutorial How to change the background Instructed on: 02-Mar-2012 | Tutorial: #05 5 By : Yasmine Sherif Mahmoud Tutorial Code: APS-05-2012All Copy Rights Saved to the 7th Students’ Conference on Communication and Information Based in the Faculty of Computersand Information Cairo University – Egypt 2011/2012 www.scci-cu.com
• We are now going to continue working on our last project to change its background.• Open your project and follow these steps:
I added a new picture to the drawable fileto use it as a background.You can add a new picture as we learned inthe last tutorial.
Here is the new picture in the drawable filethat I will use as a background.
Expand the layout file and open themain.xml file
You will begin editing your code hereChoose this tab.
Begin writing android:b and it will give you these options:Choose android:background
After choosing android:background write =and open a “ then it will give you theseoptions.Choose @drawable/
Type the name of your picture.Close the “Close the >