1.1: INSTALL ANDROID STUDIO AND RUN HELLO WORLD

Task 1. Install Android Studio

1.1. Installing the Java Development Kit



1.2. Installing Android Studio

Task 2: Create “Hello World” app
2.1 Create the “Hello World” app


Task 3: Explore the project structure
3.1 Explore the project structure and layout

3.2 The Gradle build system

Task 4: Create a virtual device (emulator)
4.1 Create a virtual device


Task 5. Run your app on an emulator
5.1 Run your app on an emulator

Task 6. Add log statements to your app

6.1 Add log statements to your app

Task 7: Explore the AndroidManifest.xml file
7.1 Explore the AndroidManifest.xml file

Task 8. Explore the build.gradle file
8.1 Explore the build.gradle(Module app) file

1.2A: MAKE YOUR FIRST INTERACTIVE UI

Task 1. Create a new “Hello Toast” project
1.1. Create the “Hello Toast” project


Task 2: Add views to “Hello Toast” in the Layout Editor
2.1 Explore the Layout Editor ( Seharusnya tampilan tidak seperti dibawah ini, saya sudah mengerjakan namun laptop saya tiba-tiba mati/blue screen dan dokumennya tidak tersimpan. oleh karena itu saya tidak membuatnya ulang namun tetap tahapannya tersampaikan)

2.2 Change the view group to a LinearLayout

2.3 Add views to the Linear Layout in the Layout Editor


Task 3: Edit the “Hello Toast” layout in XML
3.1 Examine LinearLayout properties

3.2 Create string resources

3.3 Resize

3.4 Set colors and backgrounds

3.5 Gravity and weight



Task 4: Add onClick handlers for the buttons
4.1 Add an onClick property to a button

4.2 Show a toast when the Toast button is clicked

4.3 Increase the count in the text view when the Count button is clicked

1.2B: USING LAYOUTS
Task 1: Change the layout to RelativeLayout
1.1 Copy and refactor the Hello Toast app


1.2 Change LinearLayout to RelativeLayout


1.3 Rearrange views with the Design tab


1.4 Examine the XML code in the Text tab


1.5 Rearrange elements in the RelativeLayout





Task 2: Change the layout to ConstraintLayout
2.1 Copy and refactor the Hello Toast app



2.2 Add ConstraintLayout to your project