Androidlayout heightfill parent androidtextstringhello

Save the file.

2. Inside the res/values / folder, open strings.xml. This is where you should save all default text strings for your user interface. If you're using Eclipse, then ADT will have started you with two strings, hello and app_name. Revise hello to something else. Perhaps "Hello, Android! I am a string resource!" The entire file should now look like this:

3. Now open and modify your HelloAndroid class use the XML layout. Edit the file to look like this:

0 0

Post a comment