Drawables and Skinning Widgets MOBILE SOFTWARE DEVELOPMENT.

Slides:



Advertisements
Similar presentations
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Advertisements

Android User Interface
CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Lecture # 11 JavaScript Graphics. Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG), as the name implies, are - scalable (without pixelation):
Structured Problem Solving Object- Oriented Concepts 1.
Difference between content, layout and styles Miss Allgar
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
Styles and Themes. Tell me about this XML snippet
Basic HTML. HTML Background November 1990, first created by Tim Berners Lee, the father/inventor of WWW Knighted by Queen Victoria in 2004 Hypertext is.
HTML FORMATTING. CONTENTS HTML Formatting Formatting Example Formatting Example Output Summary Exercise.
0 How to Customize This Template Choose an appropriate title slide and delete the others Edit presentation title, author names, and affiliation(s) Choose.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
Using HTML to Create Tables in Web pages Connie Lindsey November 2005.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
Elements of Webdesign Week 1 \\ Website Layout, Software Overview, Proposal Guidelines.
Define html document byusing Example : Title of the document The content of the document......
2D Graphics: Part 2.
Building the User Interface by Using HTML5: Text, Graphics, and Media Lesson 2.
Page 1 Simple PowerPoint Menus Section 1 Section 3 Section 2 Tutorial.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
1 Basic HTML. 2 Part 1: Basic Web Page Production.
C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock.
DHTML: Structured Graphics ActiveX Control
Last week you should have had something that looked like this.
0 ICGA Presentation Template This is the institute’s official slide design – use it for all your presentations.
Chapter 2: Color and Applets Coming up: Introduction to Graphics.
Android Graphics Library. Color Android colors are represented with four numbers, one each for alpha, red, green, and blue (ARGB). Each component can.
HTML for ISD Brown Bag Presentation Session 2 What we will cover:  Basics of HTML  How to make your first page  Links  Text formatting.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
11/12/2015 Box Model Reed Crouch. 11/12/2015  HTML elements can be considered as boxes. In CSS, the term "box model" is used when referring to layout.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 19 – Dynamic HTML: Structured Graphics ActiveX Control Outline 19.1Introduction 19.2Shape.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
1 Introduction to Graphics b The last one or two sections of each chapter of the textbook focus on graphical issues b Most computer programs have graphical.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Android View Stuff. TextViews Display text Display images???
Introduction to Hypertext Markup Language James H. Harrison, Jr., M.D., Ph.D. Center for Biomedical Informatics University of Pittsburgh Medical Center.
XHTML HyperText Markup Language Instructs a browser how to “render”/display/format text.
Week-11 (Lecture-1) Introduction to HTML programming: A web based markup language for web. Ex.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
NEW HORIZONS COMPUTER LEARNING CENTERS Key Tips and Tricks For Microsoft PowerPoint 2010.
Chapter 4: Scalable Vector Graphics (SVG)
2D Graphics: Part 2.
Linking With Graphics INP150: Basic HTML March 25, 2002.
Lists, Thumbnails, and Icons
Synchronizing Text & Objects
Graphics (Characteristics 1)
A1 Student Posters Posters Print Services  Robinson Library  University of Newcastle  phone: Introduction The.
<ELLIIT Project Name>
How to Customize This Template
Presentation title.
Presentation title.
Poster Title Heading Heading Heading Heading Heading Heading
2016 REPORTING The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
2016 REPORT.
Adobe Photoshop Elements 2.0
Definición y tipos discriminación
Android: Shapes.
A0 PowerPoint Poster Posters at Print Services Robinson Library, Newcastle University • • phone Introduction.
Creating an Image Map.
2016 REPORT.
Common Barriers to Accessibility on the Web
A1 Student Posters Posters at Print Services  Robinson Library  University of Newcastle  phone: Introduction.
T A R S E L I T L I S S T O TEMPLATE – SUBTITLE
201X REPORT.
目 录 The quick brown fox. 目 录 The quick brown fox.
2016 REPORT.
Presentation transcript:

Drawables and Skinning Widgets MOBILE SOFTWARE DEVELOPMENT

2 Contents  XML Shapes  Applying a Shape to a View  Embed HTML  Nine Patches  Resources

3 XML Shapes

4 XML Shapes  Can specify as background shape of widget / button /text view etc.  Rectangle, Oval, Line, Ring  Automatically scales to size of View can also set size using tags  creates rounded corners for shape  specifies a colour gradient for a shape  pad view content ie. text

5 Nine Patch  Define stretchable and static areas of PNG image using control pixels at side of image

6 State List  Define widget graphics based on state ie. button focussed, pressed, button up <shape xmlns:android = " android:shape="oval">

7 HTML  Use static HTML.fromHTML() method to render simple HTML tags inside a TextView  Can render links, images, bold, italic etc.  Use static Linkify.addLinks() method to add clickable links to a TextView  If you want anything more complicated use a WebView TextView textView = (TextView) findViewById (R.id.textView1); Spanned test = Html.fromHtml("The quick brown fox, jumps over the lazy dog"); textView.setText(test);

8 Resources  Drawables  drawable-resource.html drawable-resource.html  drawable-resource.html#Shape drawable-resource.html#Shape  2d-graphics.html#nine-patch 2d-graphics.html#nine-patch   html html