Android UI
[top] Duration
3 hours.
[top] Outline
In this module, you will learn how to create basic user interface in Android. You will learn that there is a declarative (XML-based) as well as programmatic (Java-based) approach to creating Android UI. Additionally, you will learn about activities, one of the most important building blocks for Android apps. You will explore at length the lifecycle of an activity as it is highly managed by the system and is important to understand from performance point of view. Topics in this module include:
- Two ways to create Android UI: XML versus Java approach
- Main view properties: width, height, ids, strings, and more
- Structure of UI: Views and Layouts
- Linear Layout vs. Relative Layout vs. Frame Layout vs. Absolute Layout
- Localization of UI
- Best practices for targeting various form factors: phone, tablet, TV
- Handling UI events: a bit about listeners
- Best practices when working designing Android UI