Lesson Plan: Unit - 04
Subject: P15A2AAD - Android Application Development
Topic of Study: Creating User Interfaces in Android
Grade/Level: Master of Computer Applications
Objective: To understand ho to create interface in android.
Time Allotment: 55 Minutes
- Creating user Interfaces in Android
- Layouts and user interface controls can be defined as application resources or created programmatically at runtime.
- Way – 1 Creating Layouts Using XML Resources
- Android provides a simple way to create layout files in XML as resources provided in the /res/layout project directory.
- You can configure almost any ViewGroup or View (or View subclass) attribute using the XML layout resource files.
- Exa. Way-01 (/res/layout/main.xml)
- Exa. Way-02 Creating Layouts Programmatically