Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mobile Applications (Android Programming)

Similar presentations


Presentation on theme: "Mobile Applications (Android Programming)"— Presentation transcript:

1 Mobile Applications (Android Programming)
Semester II Dr. Saman Mirza Abdullah

2 Start Fragment One Start Fragment Two Frame One Frame Two
Mobile Application - Ishik

3 Class Objective The objective of this class is:
To activate and control fragments . Mobile Application - Ishik

4 Creating a function for both buttons.
When Clicked Start Fragment One When Clicked Start Fragment Two Frame One Frame One Frame Two Frame Two Mobile Application - Ishik

5 Mobile Application - Ishik

6 Creating a function for both buttons.
(Button Defining + Action Listeners) We should go to the main activity. The file that comes under java main folder. Start Fragment One Start Fragment Two Frame One Frame Two Mobile Application - Ishik

7 Mobile Application - Ishik

8 Creating a function for both buttons.
(Fragments’ Design) For the first fragment, we need to open the .xml file under the layout  res folders Mobile Application - Ishik

9 Creating a function for both buttons.
(Fragments’ Design) For the first fragment, we need to open the .xml file under the layout  res folders Do changes inside the fragment ONE Mobile Application - Ishik

10 Creating a function for both buttons.
(Fragments’ Design) For the first fragment, we need to open the .xml file under the layout  res folders Do changes inside the fragment TWO Mobile Application - Ishik

11 Creating a function for both buttons.
(Fragments’ Design) For the first fragment, we need to open the .xml file under the java folders Do changes inside the fragment ONE and TWO Mobile Application - Ishik

12 Creating a function for both buttons.
(Fragments’ Design) Finally, go to the main Activity java file and insert the action to the button function. Mobile Application - Ishik

13 Class End Mobile Application - Ishik


Download ppt "Mobile Applications (Android Programming)"

Similar presentations


Ads by Google