FramesLayout & Image View Pages 20-21. FrameLayout is a ViewGroup that divides the screen into blocks of area each of which is supposed to holds a single.

Slides:



Advertisements
Similar presentations
Today we will begin our PowerPoint presentation!
Advertisements

Bending Zen Intro Using Zen Themes functionality, but bending it into your own theme.
Drupal Basics Part 3 Create a new page Main tabs menu Using the theme Agricultural Communications Services Integrated Media Training Sessions
Android UserInterfaces Nasrullah Niazi. overView All user interface elements in an Android app are built using View and ViewGroup objects. A View is an.
Android User Interface
Using the What Am I Template Copy the presentation to your hard drive. Open the slides using slide sorter and copy slides #3, 4 and 5 for each question.
Introducing Microsoft PowerPoint 2010 John Matthews (ITS)
 User Interface - Raeha Sandalwala.  Introduction to UI  Layouts  UI Controls  Menus and ‘Toasts’  Notifications  Other interesting UIs ◦ ListView.
Click to Add Title 0 Click to Add Subtitle To replace this photo with one of your own, go to the master page, delete this image, insert your own image,
Layout and Control in UI The user interface (UI) is the graphical interface user can see and interact with your app comprising UI controls like textbox,
® IBM Software Group © 2006 IBM Corporation EGL/Web Project QuickStart – 3 of 4 – Creating the U.I. Layer These slides walk you through the process of.
Android: Layouts David Meredith
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Modify Android Objects Using.
© 2012 Boise State University1 WordPress Training February 14, 2013.
Using the Multiple Choice Template Copy this presentation to your hard drive. Open up slide sorter, copy slides #3, 4, and 5 each time you are going to.
How-To: Office XP PowerPoint By Allen Kuceba PowerPoint The infamous white screen intimidates many new users when they start a new PowerPoint These steps.
Word Knowledge Word Knowledge hero here keep beat field jelly
ANDROID – INTERFACE AND LAYOUT L. Grewe. Interfaces: Two Alternatives Code or XML  You have two ways you can create the interface(s) of your Application.
Android Fundamentals and Components Kris Secor Mobile Application Development.
PowerPoint Garry Storer IT Training Co-Ordinator IT Services.
Frank Xu Gannon University.  Linear Layout  Relative Layout  Table Layout.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Using Android XML Resources.
1/29/ Android Programming: FrameLayout By Dr. Ramji M. Makwana Professor and Head, Computer Engineering Department A.D. Patel.
UI Resources Layout Resources String Resources Image Resources.
® IBM Software Group © 2006 IBM Corporation “Essential” HTML Tags and Page Development Techniques This Learning Module describes the standard HTML tags.
User Interfaces: Part 1 (View Groups and Layouts).
Application Development for mobile Devices
How to Design a Page, Part 1 HOWE/ANDERSON. Step One: Log in  Go to  The JOB NO is  Enter your.
ANDROID – DRAWING IMAGES – SIMPLE EXAMPLE IN INTERFACE AND EVENT HANDLING L. Grewe.
MOBILE COMPUTING D10K-7D02 MC04: Layouts Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Photo Story 3 for Windows Find Photo Story 3 for Windows in “All Programs” in the Start menu. Click “Begin a new story” if you are just starting. Click.
1 Android Development Lean and mean introduction Based on a presentation by Mihail L. Sichitiu.
CS378 - Mobile Computing User Interface Basics. User Interface Elements View – Control – ViewGroup Layout Widget (Compound Control) Many pre built Views.
Building User Interfaces Basic Applications
Intoduction to Andriod studio Environment With a hello world program.
Android View Stuff. TextViews Display text Display images???
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Lesson 1: Delete Slides Pages: PPT Title and Content Layout with List Add your first bullet point here Add your second bullet point here Add your.
1. Import Menu 2. Drag & Drop 3. Import from Mobile 4. Import Zipped 5. Import Exercise [DELETE THIS TEXT: Modify the number of tabs and text for your.
Chapter 7 Touch Gestures. Figure 07.01: Common touch gestures for Android devices.
ANDROID LAYOUTS AND WIDGETS. Slide 2 Introduction Parts of the Android screen Sizing widgets and fonts Layouts and their characteristics Buttons, checkboxes.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
Making the website. Get your folders sorted first Create a new folder in “N” called “My hockey website” Create folders inside called “Documents”, “images”
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Test1 Here some text. Text 2 More text.
How to use the Jeopardy Template
[Title here] [Subtitle/date here].
Creation of an Android App By Keith Lynn
Android SDK & App Development
CS323 Android Getting Started
Instructions: DELETE this slide after reading
Using the Multiple Choice Template
FormTrap Design Tutorial
Mobile Applications (Android Programming)
[type text here] [type text here] [type text here] [type text here]
Building User Interfaces Basic Applications
Stomp Subtitle Goes Here by Your Name.
Your text here Your text here Your text here Your text here Your text here Pooky.Pandas.
Linen Subtitle Goes Here by Your Name.
Linen Subtitle Goes Here by Your Name.
Stomp Subtitle Goes Here by Your Name.
Dreamweaver Basics.
Your text here Your text here Your text here Your text here
Add your content here, or use any other layout you wish for your content slide or slide(s).
Consult America Technology Consulting Services
Android Developer Fundamentals V2
User Interface Screen Elements
Presentation transcript:

FramesLayout & Image View Pages 20-21

FrameLayout is a ViewGroup that divides the screen into blocks of area each of which is supposed to holds a single child View. You may place multiple child Views inside a single block, then the latter ones will overlay the preceding ones. The android:layout_gravity attribute of the child View will dictate which block it will go into. Let's build a page using FrameLayout as the layout model that contains an ImageView overlaid with a TextView.

Creating a FrameLayout Create a new Activity called "FrameLayout", then follow these steps to create a UI. – Open its layout XML file "activity_frame_layout.xml" in Design view – Delete the default RelativeLayout and TextView – Drag and drop a FrameLayout layout from the Palette to the screen – Drag and drop an ImageView to the center of the screen and set its src property to – Drag and drop a Large Text to overlay the ImageView

FrameLayout & Image View

Code for FrameLayout Open the "activity_frame_layout.xml" in Text view, the XML content should look like the image on the next slide. The code was hard coded the text for the android:text attribute of the TextView here, what a sin! But you should heed the advice from Learning Point 7. Try changing the value to the android:layout_gravity attribute and watch the change taking place in the Preview screen

Final Result