Download presentation
Presentation is loading. Please wait.
1
Mobile Applications (Android Programming)
Semester II Dr. Saman Mirza Abdullah
2
Class Objective The objective of this class is:
To transition between fragments suing sliding. Mobile Application - Ishik
3
Steps Step -1 : Opening a new project.
Delete text view in the layout file. Change the type of the layout file tag to the RelativeLayout. Mobile Application - Ishik
4
Step-2 Add the ViewPager method, with parameters. Layout file
Mobile Application - Ishik
5
Step-2 Add the ViewPager method, with parameters. MainActivity file
Mobile Application - Ishik
6
Step-3 Crating new fragment. Creating java class.
Mobile Application - Ishik
7
Step-3 Creating new Fragment
Delete “Hello blank Fragment”. Change extend from Fragment to Fragment.support.v4.app.Fragment. Change <FrameLayout> to <RelativeLayout>. Insert text view. Mobile Application - Ishik
8
Step-3 Creating new Fragment
Mobile Application - Ishik
9
Step-3 Creating new Fragment
Mobile Application - Ishik
10
Step-3 Java Class Mobile Application - Ishik
11
Step-3 Java Class Mobile Application - Ishik
12
Step-3 Java Class Mobile Application - Ishik
13
Step-4 Fragment Modification
Mobile Application - Ishik
14
Step-4 MainActivity Modification
Mobile Application - Ishik
15
Class End Mobile Application - Ishik
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.