Google+

Android4Beginners.com

Apps development for Android step by step

Lessons related to resources

Lesson 0.8: Additional information about project structure in Android Studio: java and resources folders

Let’s look again at the project tree (if you can’t see it, just click Project tab on the left of the screen).  Previously we were navigating directly to activity_main.xml file, but now we try to look also on other folders and files. Don’t worry only on a few of them, most we would never have to touch.

Read More

Lesson 1.2: Keeping text in a dedicated file (why and how to use strings.xml file in Android)

Our first app displays “I’m the best” on the screen. To achieve that goal we’ve used TextView tag and modified its android:text attribute. This attribute could keep a specific text (that we did in previous lesson) or reference to one of strings in a file dedicated for keeping all text.

Read More