CHAPTER 4. Fragments ActionBar Menus
|
|
- Garry Davidson
- 5 years ago
- Views:
Transcription
1 CHAPTER 4 Fragments ActionBar Menus Explore how to build applications that use an ActionBar and Fragments Understand the Fragment lifecycle Learn to configure the ActionBar Implement Fragments with Responsive Design Techniques Explore animation in Fragment Transactions Experiment with Fragments, ListViews, and ArrayAdapters 1
2 4.1 Fragmentation and Android Fragments There are many shapes and screen sizes and different performance characteristics Multiple versions of Android are being used This translates into a wider audience to build applications for When designing and coding layouts, there are several factors to consider, such as spacing, positioning, size, and the grouping of user interface controls Layouts must be compatible with many physical screens A Fragment is modeled as a subdivision of an Activity Fragment is integrated into an Activity, and needs an Activity to run The advantage of building applications that use Fragments is their ability to easily present a consistently welldesigned user interface Fragments are particularly helpful in adapting a user experience across a wide range of devices. 2
3 4.2 The Fragment Lifecycle Fragments are associated with an activity and can be created, added or removed while the activity is running Similar to an Activity, a Fragment has its own lifecycle, as well as its own user interface The Fragment s lifecycle is connected to the activity that owns it Each fragment has its own callback methods in the standard Activity lifecycle. Callbacks used in the lifecycle of a Fragment. oncreateview() oninflate() onactivitycreated() onattach() ondestroyview() ondetach() 3
4 4.3 Action Bar The action bar provides information and displays control elements to the user. In a basic configuration, the action bar displays the application icon and a title The title often identifies the running activity Users are given an indication of where they are and a consistent identity from which to recognize the application Action bar features: Application Icon Action Items Action overflow 4
5 4.4 ActionBar Configurations Control elements that appear directly on the action bar as an icon and/or text are known as action buttons When an Activity starts, its associated layout is inflated on the screen and the action bar is populated with action buttons The activity's oncreateoptionsmenu() method is responsible for inflating a menu hierarchy from a specified XML resource file 4.4 ActionBar Configurations Control elements that appear directly on the action bar as an icon and/or text are known as action buttons When an Activity starts, its associated layout is inflated on the screen and the action bar is populated with action buttons The activity's oncreateoptionsmenu() method is responsible for inflating a menu hierarchy from a specified XML resource file Figure 04.06: Action bar with five action buttons and the overflow button 5
6 4.4.1 Overflow on the Action Bar Narrow devices can often require the use of the overflow button When creating layouts on devices with a narrow screen, use ifroom to request that an item appear in the action bar Allow the system to move elements into the overflow when there is not enough room Figure 04.07: Buttons placed in the overflow menu display text titles Lab Experiment 4-1: Fragment and the ActionBar: Menu Experiment Figure 04.02: An Actionbar containing Tabs 6
7 Lab Experiment 4-1: Fragment and the ActionBar: Menu Experiment Figure 04.03: Project structure for the ActionBar Experiment application Lab Experiment 4-1: Fragment and the ActionBar: Menu Experiment Figure 04.04: activity_my.xml contains a LinearLayout view for storing fragments 7
8 Lab Experiment 4-1: Fragment and the ActionBar: Menu Experiment Figure 04.05: The fragment_snack.xml layout shown in landscape orientation Adding an Action View An action view is simply a widget that appears in the action bar as a substitute for an action button An action view provides quick access to heavily used actions Consider a collapsible search view widget. A search action view can be added as an embedded search view widget in the action bar To declare an action view, the actionlayout or actionviewclass attribute can be added to an item to specify either a layout resource or a widget class 8
9 Lab Experiment 4-2: Unit Conversion Calculator App (using overflow menu) Figure 04.08: Unit Conversion Calculator Lab Experiment 4-2: Unit Conversion Calculator App (using overflow menu) Figure 04.09: The Overflow menu contains Action Items 9
10 Lab Experiment 4-2: Unit Conversion Calculator App Figure 04.10: Project structure for the Unit Conversion Calculator app Lab Experiment 4-2: Unit Conversion Calculator App Figure 04.11: The layout design for activity_my.xml 10
11 4.5 Responsive Design with Fragments Responsive design works across different screens sizes Responsive design techniques should also be applied to Android applications for solving interactive design and layout problems Responsive design is used for heavy data driven content. Adaptive design is primarily used for the re-arrangement of fixed user interface elements in an application Figure 04.12: Fragments can be combined or separated on a device 4.5 Responsive Design with Fragments Responsive design makes use of Fragments A user interface can be divided into multiple panes using Fragments and reused in more than one screen of an application, as shown in the following figure Fragments can be combined or separated on a device When building an application that follows a similar master/detail design pattern, the application often needs a set of Java and XML layout resource files 11
12 4.5 Responsive Design with Fragments 4.5 Responsive Design with Fragments Responsive design revolves around a master/detail flow interface design pattern The user is provided with a list of items Upon selecting one of the items, additional information relating to that item is then presented to the user 12
13 This design concept is called responsive in the sense that list and detail panels of the app can change based on the width of the device On a large tablet-sized Android device, the screen is large enough to display both panels The master list can appear as a narrow vertical panel along the left hand edge of the screen while the remainder of the screen can display the detail panel This arrangement is referred to as two-pane mode. Figure 04.14: One- and two-pane configurations Lab Experiment 4-3: Shades App: A Fragment Experiment (using responsive design two-pane/single-pane configuration) Figure 04.14: One- and two-pane configurations 13
14 Lab Experiment 4-3: Shades App: A Fragment Experiment Figure 04.15: The final project structure for the Shades application Lab Experiment 4-3: Shades App: A Fragment Experiment (Individual Fragment Layouts) Figure 04.16: list_fragment.xml 14
15 Lab Experiment 4-3: Shades App: A Fragment Experiment (Individual Fragment Layouts) Figure 04.17: The layout, information_fragment.xml, used to hold color information Lab Experiment 4-3: Shades App: A Fragment Experiment (The Main User Interface to Hold the Fragments) Figure 04.18: activity_my.xml uses a LinearLayout root element 15
16 Lab Experiment 4-3: Shades App: A Fragment Experiment (The Main User Interface to Hold the Fragments) Figure 04.19: The main layout designed for portrait orientation. Fragment1 is shown holding the color list 4.6 Animation in Fragment Transactions Transition animations can be applied directly to fragments that are entering and exiting a transaction The FragmentManager provides the structure that handles transactions between fragments A transaction refers to the sequence of steps that add, replace, or remove fragments. Operations performed by the FragmentManager will occur inside a transaction 16
17 Lab Experiment 4-4: Recipes-Fragments with Transition (Basic animation effects and the Android Interpolator) Figure 04.20: The Recipes app: A button in the lower left corner for flipping the photograph Lab Experiment 4-4: Recipes-Fragments with Transition Figure 04.21: Project structure for the Recipes application 17
18 Lab Experiment 4-4: Recipes-Fragments with Transition (Designing Individual Fragments) Figure 04.22: The visual layout design for fragment_recipe_photo Lab Experiment 4-4: Recipes-Fragments with Transition (Designing Individual Fragments) Figure 04.23: The layout, fragment_recipe.xml, used to hold color information 18
19 Lab Experiment 4-4: Recipes-Fragments with Transition (User Interface and Fragment Design) Figure 04.24: The visual design for activity_my.xml Lab Experiment 4-4: Recipes-Fragments with Transition (The Transition Animation) Figure 04.25: Animation effect rotationx rotates around the x-axis 19
20 4.7 ListViews and Adapters (dynamic data) A ListView is similar to a ScrollView A ScrollView is an extension of the FrameLayout, and is suitable for holding a single control element It provides the user with the scroll mechanism to reveal more content than can be displayed on the screen at once A LinearLayout, containing multiple View items, can be placed within a ScrollView 4.7 ListViews and Adapters (dynamic data) A ListView is a specialized control that is optimized for displaying long lists of items When the data content for the layout is dynamic or not pre-determined, it is possible to use a layout that subclasses an AdapterView to populate the layout with views at runtime 20
21 Lab Experiment 4-5: Redlands Music Events App Adapters and ListViews Figure 04.26: A Fragment containing a ListView Lab Experiment 4-5: Redlands Music Events App Adapters and ListViews Figure 04.27: Project structure for the Redlands Music Events application 21
22 Lab Experiment 4-5: Redlands Music Events App Adapters and ListViews (The Fragment Layout File) Figure 04.28: The layout design for the Music Festival application 4.8 Handling Click Events in a ListView A ListView might be populated with items that need to respond to a click event You can respond to click events on an item in an AdapterView by implementing the AdapterView.OnItemClickListener interface The onitemclick () callback method will always be invoked when an item in the AdapterView has been clicked. 22
23 Lab Experiment 4-6: Shades (Part 2): Clickable Shades of Color in the ListView Figure 04.29: Shades II application features a scrollable list of clickable items Lab Experiment 4-6: Shades (Part 2): Clickable Shades of Color in the ListView Figure 04.30: Project structure for Shades II application 23
24 Lab Experiment 4-6: Shades (Part 2): Clickable Shades of Color in the ListView Figure 04.31: The visual structure for the master list, list_fragment.xml 24
Topics of Discussion
Reference CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Fragments, ActionBar and Menus Part 1 of 5 Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones
More informationTopics of Discussion
Reference CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Fragments, ActionBar and Menus Part 3 of 5 Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones
More informationCS371m - Mobile Computing. More UI Action Bar, Navigation, and Fragments
CS371m - Mobile Computing More UI Action Bar, Navigation, and Fragments ACTION BAR 2 Options Menu and Action Bar prior to Android 3.0 / API level 11 Android devices required a dedicated menu button Pressing
More informationCS371m - Mobile Computing. More UI Navigation, Fragments, and App / Action Bars
CS371m - Mobile Computing More UI Navigation, Fragments, and App / Action Bars EFFECTIVE ANDROID NAVIGATION 2 Clicker Question Have you heard of the terms Back and Up in the context of Android Navigation?
More informationBuilding User Interface for Android Mobile Applications II
Building User Interface for Android Mobile Applications II Mobile App Development 1 MVC 2 MVC 1 MVC 2 MVC Android redraw View invalidate Controller tap, key pressed update Model MVC MVC in Android View
More informationEMBEDDED SYSTEMS PROGRAMMING UI and Android
EMBEDDED SYSTEMS PROGRAMMING 2016-17 UI and Android STANDARD GESTURES (1/2) UI classes inheriting from View allow to set listeners that respond to basic gestures. Listeners are defined by suitable interfaces.
More informationTablets have larger displays than phones do They can support multiple UI panes / user behaviors at the same time
Tablets have larger displays than phones do They can support multiple UI panes / user behaviors at the same time The 1 activity 1 thing the user can do heuristic may not make sense for larger devices Application
More informationMultiple devices. Use wrap_content and match_parent Use RelativeLayout/ConstraintLayout Use configuration qualifiers
Multiple devices Multiple devices Use wrap_content and match_parent Use RelativeLayout/ConstraintLayout Use configuration qualifiers Create a new directory in your project's res/ and name it using the
More informationProduced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology
Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie User Interface Design" & Development -
More informationCS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu
CS 4518 Mobile and Ubiquitous Computing Lecture 4: Data-Driven Views, Android Components & Android Activity Lifecycle Emmanuel Agu Announcements Group formation: Projects 2, 3 and final project will be
More informationFragments were added to the Android API in Honeycomb, API 11. The primary classes related to fragments are: android.app.fragment
FRAGMENTS Fragments An activity is a container for views When you have a larger screen device than a phone like a tablet it can look too simple to use phone interface here. Fragments Mini-activities, each
More informationListView Containers. Resources. Creating a ListView
ListView Containers Resources https://developer.android.com/guide/topics/ui/layout/listview.html https://developer.android.com/reference/android/widget/listview.html Creating a ListView A ListView is a
More informationCS 4330/5390: Mobile Application Development Exam 1
1 Spring 2017 (Thursday, March 9) Name: CS 4330/5390: Mobile Application Development Exam 1 This test has 8 questions and pages numbered 1 through 7. Reminders This test is closed-notes and closed-book.
More informationUI Fragment.
UI Fragment 1 Contents Fragments Overviews Lifecycle of Fragments Creating Fragments Fragment Manager and Transactions Adding Fragment to Activity Fragment-to-Fragment Communication Fragment SubClasses
More informationProduced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology
Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie The image cannot be displayed. Your computer
More informationProduced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology
Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie The image cannot be displayed. Your computer
More informationCS 4518 Mobile and Ubiquitous Computing Lecture 5: Data-Driven Views and Android Components Emmanuel Agu
CS 4518 Mobile and Ubiquitous Computing Lecture 5: Data-Driven Views and Android Components Emmanuel Agu Announcements Slight modifications to course timeline posted No class February 16 (Advising day)
More informationCS260 Intro to Java & Android 05.Android UI(Part I)
CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2015 Winter 2015 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base
More informationCS260 Intro to Java & Android 05.Android UI(Part I)
CS260 Intro to Java & Android 05.Android UI(Part I) Winter 2018 Winter 2018 CS250 - Intro to Java & Android 1 User Interface UIs in Android are built using View and ViewGroup objects A View is the base
More informationAndroid Essentials with Java
Android Essentials with Java Before You Program o Exercise in algorithm generation Getting Started o Using IntelliJ CE Using Variables and Values o Store data in typed variables Static Methods o Write
More informationCS 4518 Mobile and Ubiquitous Computing Lecture 5: Rotating Device, Saving Data, Intents and Fragments Emmanuel Agu
CS 4518 Mobile and Ubiquitous Computing Lecture 5: Rotating Device, Saving Data, Intents and Fragments Emmanuel Agu Administrivia Moved back deadlines for projects 2, 3 and final project See updated schedule
More informationCS 528 Mobile and Ubiquitous Computing Lecture 2a: Introduction to Android Programming. Emmanuel Agu
CS 528 Mobile and Ubiquitous Computing Lecture 2a: Introduction to Android Programming Emmanuel Agu Editting in Android Studio Recall: Editting Android Can edit apps in: Text View: edit XML directly Design
More informationCS 528 Mobile and Ubiquitous Computing Lecture 4a: Fragments, Camera Emmanuel Agu
CS 528 Mobile and Ubiquitous Computing Lecture 4a: Fragments, Camera Emmanuel Agu Fragments Recall: Fragments Sub-components of an Activity (screen) An activity can contain multiple fragments, organized
More informationACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi
ACTIVITY, FRAGMENT, NAVIGATION Roberto Beraldi Introduction An application is composed of at least one Activity GUI It is a software component that stays behind a GUI (screen) Activity It runs inside the
More informationActivities and Fragments
Activities and Fragments 21 November 2017 Lecture 5 21 Nov 2017 SE 435: Development in the Android Environment 1 Topics for Today Activities UI Design and handlers Fragments Source: developer.android.com
More informationEECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University. Overview (Review)
EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget
More informationPro Android 2. Sayed Y. Hashimi Satya Komatineni Dave Mac Lean. Apress
Pro Android 2 Sayed Y. Hashimi Satya Komatineni Dave Mac Lean Apress Contents Contents at a Glance Contents About the Authors About the Technical Reviewer Acknowledgments Foreword iv v xiii xiv xv xvi
More informationFragments and the Maps API
Fragments and the Maps API Alexander Nelson October 6, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Fragments Fragments Fragment A behavior or a portion of a user
More informationDesigning and Implementing Android UIs for Phones and Tablets
Designing and Implementing Android UIs for Phones and Tablets Matias Duarte Rich Fulcher Roman Nurik Adam Powell Christian Robertson #io2011 #Android 2 Ask questions Give feedback http://goo.gl/mod/zdyr
More informationAndroid. The Toolbar
Android The Toolbar Credits Lectures are heavily based of materials and examples from: Android Programming The Big Nerd Ranch Guides Bill Phillips and Brian Hardy April 7, 2013 ToDoList We re going to
More informationPolishing and Running a Presentation
Polishing and Running a Presentation Objectives Add pictures Add sound Add video Set slide transitions and timing Animate slide objects 2 Objectives Use speaker notes and slide show commands Print handouts
More informationACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi
ACTIVITY, FRAGMENT, NAVIGATION Roberto Beraldi View System A system for organizing GUI Screen = tree of views. View = rectangular shape on the screen that knows how to draw itself wrt to the containing
More informationEECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University
EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget
More informationMobile Development Lecture 10: Fragments
Mobile Development Lecture 10: Fragments Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Elgayyar.weebly.com Situational Layouts Your app can use different layout in different situations: different device type
More informationSmartArt Office 2007
SmartArt Office 2007 This is not an official training handout of the, Davis School District SmartArt... 2 Inserting SmartArt... 2 Entering the Text... 2 Adding a Shape... 2 Deleting a Shape... 2 Adding
More informationCS 528 Mobile and Ubiquitous Computing Lecture 2a: Android UI Design in XML + Examples. Emmanuel Agu
CS 528 Mobile and Ubiquitous Computing Lecture 2a: Android UI Design in XML + Examples Emmanuel Agu Android UI Design in XML Recall: Files Hello World Android Project XML file used to design Android UI
More informationProgramming with Android: Android for Tablets. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Android for Tablets Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Android for Tablets: A Case Study Android for Tablets:
More information05. RecyclerView and Styles
05. RecyclerView and Styles 08.03.2018 1 Agenda Intents Creating Lists with RecyclerView Creating Cards with CardView Application Bar Menu Styles and Themes 2 Intents 3 What is Intent? An Intent is an
More informationMobile Computing Practice # 2a Android Applications - Interface
Mobile Computing Practice # 2a Android Applications - Interface 1. Create an Android Lunch Places List application that allows the user to take note of restaurant characteristics like its name, address
More informationANDROID USER INTERFACE
1 ANDROID USER INTERFACE Views FUNDAMENTAL UI DESIGN Visual interface element (controls or widgets) ViewGroup Contains multiple widgets. Layouts inherit the ViewGroup class Activities Screen being displayed
More informationCS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Programming. Emmanuel Agu
CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android Programming Emmanuel Agu Android Apps: Big Picture UI Design using XML UI design code (XML) separate from the program (Java) Why?
More informationMobile Application Development Android
Mobile Application Development Android Lecture 2 MTAT.03.262 Satish Srirama satish.srirama@ut.ee Android Lecture 1 -recap What is Android How to develop Android applications Run & debug the applications
More informationYou ve been told lies about Fragments.
You ve been told lies about Fragments. Mateusz Herych Android Tech Lead @ IG Google Developer Expert on Android GDG Kraków co-organizer Father of twins @mherych / github.com/partition You ve been told
More informationAndroid Application Model I. CSE 5236: Mobile Application Development Instructor: Adam C. Champion, Ph.D. Course Coordinator: Dr.
Android Application Model I CSE 5236: Mobile Application Development Instructor: Adam C. Champion, Ph.D. Course Coordinator: Dr. Rajiv Ramnath 1 Framework Support (e.g. Android) 2 Framework Capabilities
More informationViews & View Events View Groups, AdapterViews & Layouts Menus & ActionBar Dialogs
Views & View Events View Groups, AdapterViews & Layouts Menus & ActionBar Dialogs Activities usually display a user interface Android provides many classes for constructing user interfaces Key building
More informationMS_40541 Build Native Cross-Platform Mobile Apps with a Shared C# Business Logic for ios, Android, and UWP in C#.NET with Xamarin and Visual Studio
Build Native Cross-Platform Mobile Apps with a Shared C# Business Logic for ios, Android, and UWP in C#.NET with Xamarin and Visual Studio www.ked.com.mx Av. Revolución No. 374 Col. San Pedro de los Pinos,
More informationMobile Computing Fragments
Fragments APM@FEUP 1 Fragments (1) Activities are used to define a full screen interface and its functionality That s right for small screen devices (smartphones) In bigger devices we can have more interface
More informationFig. 2.2 New Android Application dialog. 2.3 Creating an App 41
AndroidHTP_02.fm Page 41 Wednesday, April 30, 2014 3:00 PM 2.3 Creating an App 41 the Welcome app s TextView and the ImageViews accessibility strings, then shows how to test the app on an AVD configured
More informationXamarin for C# Developers
Telephone: 0208 942 5724 Email: info@aspecttraining.co.uk YOUR COURSE, YOUR WAY - MORE EFFECTIVE IT TRAINING Xamarin for C# Developers Duration: 5 days Overview: C# is one of the most popular development
More informationAndroid Programming - Jelly Bean
1800 ULEARN (853 276) www.ddls.com.au Android Programming - Jelly Bean Length 5 days Price $4235.00 (inc GST) Overview This intensive, hands-on five-day course teaches programmers how to develop activities,
More informationPowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects 2013
PowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects Microsoft Office 2013 2013 Objectives Insert a graphic from a file Insert, resize, and reposition clip art Modify the color and shape
More informationDeveloping Android Applications Introduction to Software Engineering Fall Updated 1st November 2015
Developing Android Applications Introduction to Software Engineering Fall 2015 Updated 1st November 2015 Android Lab 3 & Midterm Additional Concepts No Class Assignment 2 Class Plan Android : Additional
More informationDeveloping Android Applications
Developing Android Applications SEG2105 - Introduction to Software Engineering Fall 2016 Presented by: Felipe M. Modesto TA & PhD Candidate Faculty of Engineering Faculté de Génie uottawa.ca Additional
More informationCS378 -Mobile Computing. User Interface Basics
CS378 -Mobile Computing User Interface Basics User Interface Elements View Control ViewGroup Layout Widget (Compound Control) Many pre built Views Button, CheckBox, RadioButton TextView, EditText, ListView
More information1. What are the key components of Android Architecture? 2. What are the advantages of having an emulator within the Android environment?
1. What are the key components of Android Architecture? Android Architecture consists of 4 key components: - Linux Kernel - Libraries - Android Framework - Android Applications 2. What are the advantages
More informationAndroid Basics. Android UI Architecture. Android UI 1
Android Basics Android UI Architecture Android UI 1 Android Design Constraints Limited resources like memory, processing, battery à Android stops your app when not in use Primarily touch interaction à
More informationAndroid Application Model I
Android Application Model I CSE 5236: Mobile Application Development Instructor: Adam C. Champion, Ph.D. Course Coordinator: Dr. Rajiv Ramnath Reading: Big Nerd Ranch Guide, Chapters 3, 5 (Activities);
More informationCS378 -Mobile Computing. More UI -Part 2
CS378 -Mobile Computing More UI -Part 2 Special Menus Two special application menus options menu context menu Options menu replaced by action bar (API 11) menu action bar 2 OptionsMenu User presses Menu
More informationChapter 8 Positioning with Layouts
Introduction to Android Application Development, Android Essentials, Fifth Edition Chapter 8 Positioning with Layouts Chapter 8 Overview Create user interfaces in Android by defining resource files or
More informationIntroduction. Creating a New Publication. Publisher 2010 Creating a New Publication. To Create a New Publication from a Template: Page 1
Publisher 2010 Creating a New Publication Introduction Page 1 In the previous lesson, you learned about planning and designing a publication. With that knowledge, you're now ready to create a new publication.
More informationHello World. Lesson 1. Android Developer Fundamentals. Android Developer Fundamentals. Layouts, and. NonCommercial
Hello World Lesson 1 This work is licensed This under work a Creative is is licensed Commons under a a Attribution-NonCommercial Creative 4.0 Commons International Attribution- License 1 NonCommercial
More informationIntroductory Mobile App Development
Introductory Mobile App Development 152-160 Quick Links & Text References Overview Pages ListView Pages ArrayAdaper Pages Filling a ListView Pages Sensing Click Pages Selected Item Info Pages Configuring
More informationCS371m - Mobile Computing. User Interface Basics
CS371m - Mobile Computing User Interface Basics Clicker Question Have you ever implemented a Graphical User Interface (GUI) as part of a program? A. Yes, in another class. B. Yes, at a job or internship.
More informationCE881: Mobile & Social Application Programming
CE881: Mobile & Social Application Programming, s, s and s Jialin Liu Senior Research Officer Univerisity of Essex 6 Feb 2017 Recall of lecture 3 and lab 3 :) Please download Kahoot or open a bowser and
More informationCOLLEGE OF ENGINEERING, NASHIK-4
Pune Vidyarthi Griha s COLLEGE OF ENGINEERING, NASHIK-4 DEPARTMENT OF COMPUTER ENGINEERING 1) What is Android? Important Android Questions It is an open-sourced operating system that is used primarily
More information06. Advanced Widget. DKU-MUST Mobile ICT Education Center
06. Advanced Widget DKU-MUST Mobile ICT Education Center Goal Learn how to deal with advanced widget. Learn how the View Container and its applications Learn how to set the AndroidManiFest.xml Page 2 1.
More informationGUI Widget. Lecture6
GUI Widget Lecture6 AnalogClock/Digital Clock Button CheckBox DatePicker EditText Gallery ImageView/Button MapView ProgressBar RadioButton Spinner TextView TimePicker WebView Android Widgets Designing
More informationBy: Ms. Fatima Shannag Ms. Essra Al-Mousa. Edited by: Khawlah Almutlaq
By: Ms. Fatima Shannag Ms. Essra Al-Mousa 1 PowerPoint web app PowerPoint Web App is a limited version of PowerPoint, enabling you to display information through slide shows A PowerPoint presentation is
More informationCreating a Custom ListView
Creating a Custom ListView References https://developer.android.com/guide/topics/ui/declaring-layout.html#adapterviews Overview The ListView in the previous tutorial creates a TextView object for each
More informationMore Effective Layouts
More Effective Layouts In past weeks, we've looked at ways to make more effective use of the presented display (e.g. elastic layouts, and separate layouts for portrait and landscape), as well as autogenerating
More informationFragments. Lecture 11
Fragments Lecture 11 Situational layouts Your app can use different layouts in different situations Different device type (tablet vs. phone vs. watch) Different screen size Different orientation (portrait
More informationRev. D 10/26/2012 Downers Grove Public Library Page 1 of 44
Table of Contents Introduction... 3 Objectives... 3 PowerPoint Screen Components... 3 Office Button... 4 Quick Access Toolbar... 5 Fluid User Interface aka the Ribbon... 5 Dialog Launcher and Dialog Screens...
More informationBeginning Android Tablet
Beginning Android Tablet Programming Starting with Android Honeycomb for Tablets Robbie Matthews Apress* Contents About the Author About the Technical Reviewer - Acknowledgments Some Notes on Using the
More informationMICROSOFT POWERPOINT 2016 Quick Reference Guide
MICROSOFT POWERPOINT 2016 Quick Reference Guide PowerPoint What is it? What s new in PowerPoint 2016? PowerPoint is a computer program that allows you to create, edit and produce slide show presentations.
More informationProgramming Android UI. J. Serrat Software Design December 2017
Programming Android UI J. Serrat Software Design December 2017 Preliminaries : Goals Introduce basic programming Android concepts Examine code for some simple examples Limited to those relevant for the
More informationMC Android Programming
MC1921 - Android Programming Duration: 5 days Course Price: $3,395 Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse
More informationAdapter.
1 Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view The Adapter provides access to the data items The Adapter is also responsible for making a View
More informationAndroid Programming (5 Days)
www.peaklearningllc.com Android Programming (5 Days) Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse tools. This Android
More informationThe Photo Gallery. Adding a Photo Gallery Page. Adding a Photo Gallery App
Adding a Photo Gallery Page The Photo Gallery Above the Summary tab, in the list of Current Pages, click on the New Page button. Choose Photo Gallery from the Available Page Types. Give the page a name.
More informationAndroidfp_printOnly.book Page vii Tuesday, October 4, :15 AM. Contents. Before You Begin
Androidfp_printOnly.book Page vii Tuesday, October 4, 2011 9:15 AM Preface Before You Begin xiv xxii 1 Introduction to Android 1 1.1 Introduction 2 1.2 Android Overview 4 1.3 Android 2.2 (Froyo) 7 1.4
More informationMobile Device Features - Android and ios
Mobile Device Features - Android and ios Introduction In this lab, you will set the autorotation, brightness, and turn GPS on and off. Recommended Equipment The following equipment is required for this
More informationAndroid Programming in Bluetooth Cochlea Group
Android Programming in Bluetooth Cochlea Group Zijian Zhao Abstract: My project is mainly android programming work in the Bluetooth Cochlea Group. In this report I will first introduce the background of
More informationBeginning PowerPoint XP for Windows
Beginning PowerPoint XP for Windows Tutorial Description This course introduces you to the PowerPoint program basics for creating a simple on-screen presentation. Intended Audience Individuals interested
More informationCreated by: Leslie Arakaki
Created by: Leslie Arakaki Fall, 2000 Page 1 Starting PowerPoint: 1. Double click on the icon. PowerPoint-ing your work! For PC computers with PowerPoint 97/2000 Using the Design Template feature to create
More informationListView (link) An ordered collection of selectable choices. key attributes in XML:
CS 193A Lists This document is copyright (C) Marty Stepp and Stanford Computer Science. Licensed under Creative Commons Attribution 2.5 License. All rights reserved. ListView (link) An ordered collection
More informationUser Interface Development. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr.
User Interface Development CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath 1 Outline UI Support in Android Fragments 2 UI Support in the Android
More informationMicrosoft Powerpoint 2007
Microsoft Powerpoint 2007 Getting started Select the Start button towards the bottom left of the screen. Select each of the following: Programs; Microsoft Office > Microsoft Powerpoint 2007. Within a few
More informationANDROID SERVICES, BROADCAST RECEIVER, APPLICATION RESOURCES AND PROCESS
ANDROID SERVICES, BROADCAST RECEIVER, APPLICATION RESOURCES AND PROCESS 1 Instructor: Mazhar Hussain Services A Service is an application component that can perform long-running operations in the background
More informationHP Color LaserJet CM2320 MFP Series Print tasks
Cancel a print job Cancel a print job from the product control panel NOTE: Pressing Cancel clears the job that the product is currently processing. If more than one process is running (for example, the
More informationAndroid VirtuTrace Remote VTRemote Final Report
Android VirtuTrace Remote VTRemote Final Report Group May14-21 Kollin Burns Tanner Borglum Sheil Patel Alexander Maxwell Lukas Herrmann Table of Contents Project Overview... 3 Project Goals... 4 Deliverables...
More informationFragments. Fragments may only be used as part of an ac5vity and cannot be instan5ated as standalone applica5on elements.
Fragments Fragments A fragment is a self- contained, modular sec5on of an applica5on s user interface and corresponding behavior that can be embedded within an ac5vity. Fragments can be assembled to create
More informationHow to Export a Dashboard in Analyze
Introduction There are many instances where Dashboard information is needed outside of VITA, whether in a presentation, document, website, etc. VITA provides an option to download a Dashboard s content
More information07. Menu and Dialog Box. DKU-MUST Mobile ICT Education Center
07. Menu and Dialog Box DKU-MUST Mobile ICT Education Center Goal Learn how to create and use the Menu. Learn how to use Toast. Learn how to use the dialog box. Page 2 1. Menu Menu Overview Menu provides
More informationPresentation Software. Answers
Presentation Software ECDL Driving Lesson 9 Answers 2. Blank Presentation, or choose from the templates displayed. 4. 4 (by default). 5 Not available to use at present. 6. The Ribbon contains groups of
More informationAndroid Application Development 101. Jason Chen Google I/O 2008
Android Application Development 101 Jason Chen Google I/O 2008 Goal Get you an idea of how to start developing Android applications Introduce major Android application concepts Provide pointers for where
More information[Not for Circulation] This document provides a variety of shortcuts for working in PowerPoint 2007.
PowerPoint Shortcuts This document provides a variety of shortcuts for working in PowerPoint 2007. Using Slides from Other Presentations To add a slide from an existing presentation to the current presentation,
More informationMobile and Ubiquitous Computing: Android Programming (part 3)
Mobile and Ubiquitous Computing: Android Programming (part 3) Master studies, Winter 2015/2016 Dr Veljko Pejović Veljko.Pejovic@fri.uni-lj.si Based on Programming Handheld Systems, Adam Porter, University
More informationReference Services Division Presents. Microsoft Word 2
Reference Services Division Presents Microsoft Word 2 This handout covers the latest Microsoft Word 2010. This handout includes instructions for the tasks we will be covering in class. Basic Tasks Review
More informationMicrosoft PowerPoint 2007 Beginning
Microsoft PowerPoint 2007 Beginning Educational Technology Center PowerPoint Presentations on the Web... 2 Starting PowerPoint... 2 Opening a Presentation... 2 Microsoft Office Button... 3 Quick Access
More informationMobile Application Programing: Android. OpenGL Operation
Mobile Application Programing: Android OpenGL Operation Activities Apps are composed of activities Activities are self-contained tasks made up of one screen-full of information Activities start one another
More information