Lesson 2 Adding More Elements to the App

Designing the Home Screen

To add a VerticalArrangement component:

Lesson 2 Adding More Elements to the App

To add an English language button:

Lesson 2 Adding More Elements to the App

Creating the Second Screen of the App

Lesson 2 Adding More Elements to the App

To add a label:

Lesson 2 Adding More Elements to the App

To add a VerticalArrangement component:

Lesson 2 Adding More Elements to the App

To add a cities label:

Creating a List

Lesson 2 Adding More Elements to the App

To add a ListPicker component for Riyadh:

Lesson 2 Adding More Elements to the App

When you run the finished application on your mobile phone, the ListPicker component works in the

Creating the Third Screen of the App

Lesson 2 Adding More Elements to the App

Add a new screen as you have already learned and

To add elements on the screen:

Lesson 2 Adding More Elements to the App

Figure 3.27: Adding elements to the third screen

Lesson 2 Adding More Elements to the App

To add an image component:

To add a text description component:

Lesson 2 Adding More Elements to the App

Figure 3.29: Adding a text description component

Adding an Interactive Map to the Application

Horizontal Arrangement Component

Lesson 2 Adding More Elements to the App

To add a HorizontalArrangement component:

To add a map button:

Lesson 2 Adding More Elements to the App

Figure 3.31: Adding a map button

To add a map component:

Lesson 2 Adding More Elements to the App

Figure 3.32: Adding a Map component

Lesson 2 Adding More Elements to the App

Figure 3.33: Activation of the Map component by the map button

Lesson 2 Adding More Elements to the App

Describe how HorizontalArrangement and VerticalArrangement components help you form the layout of a mobile screen.

State the difference between a ListPicker and a Button component.

Lesson 2 Adding More Elements to the App

Design an application with a VerticalArrangement and two HorizontalArrangements. Each HorizontalArrangement has two buttons. All of the components are in the center of their container. Use th

Design another screen for the above application which has a HorizontalArrangement

Design another screen for the above application which has a VerticalArrangement and