Contents. Orientation SearchBar and Gallery List Advanced Multiple Form Multi Touch Animations Layout Designing UI using UI Builder
|
|
- Austin Dawson
- 6 years ago
- Views:
Transcription
1 Advanced UI
2 Contents Orientation SearchBar and Gallery List Advanced Multiple Form Multi Touch Animations Layout Designing UI using UI Builder
3 Introduction Advanced UI Concepts A detailed view of controls and interaction between them. Forms, Orientation etc. Then the friendly UI Builder. 3
4 1 Orientation
5 Orientation The orientation feature helps the device to adapt the screen orientation according to the rotation of the device Supported orientations are ORIENTATION_STATUS_PORTRAIT ORIENTATION_STATUS_LANDSCAPE ORIENTATION_STATUS_PORTRAIT_REVERSE ORIENTATION_STATUS_LANDSCAPE_REVERSE 5
6 How to Respond to the Orientation Change // In the class declaration of the form, // declare the form as an IOrientationEventListener class TestForm:..., public IOrientationEventListener // On construction time // or initialization time, TestForm::Construct() {... // register itself as the orientation listener AddOrientationEventListener (*this); } 6
7 How to Respond to the Orientation Change // orientation change listener function TestForm::OnOrientationChanged(const Control& source, OrientationStatus orientation){ // set the size and position of the sub controls // for the orientation switch( orientation ) { case ORIENTATION_STATUS_PORTRAIT: // say that you have a pointer of a sub-control // or get a sub-controls into ctrl1 via GetControl // change its position and/or size ctrl1->setsize(...); // for another sub-controls ctrl2->setbounds(... );... break; case... Draw(); } } 7
8 2 SearchBar and Gallery
9 SearchBar Supports two modes SEARCH_BAR_MODE_NORMAL SEARCH_BAR_MODE_INPUT Notifies for mode change ISearchBarEventListener interface OnSearchBarModeChanged event handler Button events IActionEventListener interface OnActionPerformed() event handler Content and content area Set using SetContent method 9
10 Using SearchBar : Class declaration class SearchBarSample : public Osp::Ui::Controls::Form, public Osp::Ui::Controls::ISearchBarEventListener, public Osp::Ui::ITextEventListener, public Osp::Ui::Controls::IListViewItemEventListener, public Osp::Ui::Controls::IListViewItemProvider {... protected: Osp::Ui::Controls::SearchBar* psearchbar; Osp::Ui::Controls::ListView* plist; public: virtual void OnSearchBarModeChanged( Osp::Ui::Controls::SearchBar& source, Osp::Ui::Controls::SearchBarMode mode); virtual void OnSearchBarContentAreaResized( Osp::Ui::Controls::SearchBar& source, Osp::Graphics::Dimension& size) {}; virtual void OnTextValueChanged(const Osp::Ui::Control& source); virtual void OnTextValueChangeCanceled(const Osp::Ui::Control& source);... } 10
11 Using SearchBar : Initialization result SearchBarSample::OnInitializing(void) { result r = E_SUCCESS; // Initialize searchbar psearchbar = new SearchBar(); r = psearchbar->construct(rectangle(0, 0, 480, 72)); psearchbar->settext("click here! "); AddControl(* psearchbar); psearchbar->addsearchbareventlistener(*this); psearchbar->addtexteventlistener(*this); // create the content control and set as content plist = new ListView(); plist->construct(rectangle(0, 0, 480, GetClientAreaBounds().height - 72), true, true); psearchbar->setcontent( plist); // Add other initialization code here return r; } 11
12 Using SearchBar : Events interface void SearchBarSample::OnSearchBarModeChanged(SearchBar& source, SearchBarMode mode) { if(mode == SEARCH_BAR_MODE_INPUT) { //Searchbar mode is input } else { // Searchbar mode is normal } } void SearchBarSample::OnTextValueChanged(const Osp::Ui::Control& source){ //Some text changed } 12
13 Gallery Used to display a set of still images one at a time Can also display the images as a slide show StartSlideShow StopSlideShow Supports provider class for Adding, deleting, retrieve image count, and refreshing RefreshGallery GetItemCount UpdateGallery Supports Zooming 13
14 Gallery Events IGalleryItemProvider Registered using SetItemProvider CreateItem DeleteItem IGalleryEventListener OnGalleryCurrentItemChanged OnGalleryItemClicked OnGallerySlideShowStarted OnGallerySlideShowStopped 14
15 3 List Advanced
16 More about Lists: CustomItem Multiple elements in an item CustomItem has a ICustomElement has multiple elements events for each element is notified via ICustomElement ICustomElement : each small element for custom drawing Custom Element String Element (size:50) String Element (size:25) 16
17 Creating Custom List Element Create a Custom List Element Derive a class from Osp::Ui::Controls::ICustomElement Override the OnDraw method. Construct a CustomItem In the CreateItem callback, create a CustomItem object Add Custom List Element 17
18 Creating Custom Items Creating a Custom List Element class CustomListElement : public ICustomElement { virual bool OnDraw(Canvas& canvas, const Rectangle& rect, ListItemDrawingStatus itemstatus) ; }; Creating a CustomItem ListItemBase* ListViewSample::CreateItem(int index, int itemwidth) { CustomItem* pitem = new CustomItem(); pitem->construct(dimension(itemwidth,100), style); pitem->addelement(rectangle(290, 20, 60, 60), ID_FORMAT_CUSTOM, *(static_cast<icustomelement *>( pcustomlistelement))); return pitem; } 18
19 ListContextItem ListContextItem Shown when a list item is swept Elements which can be a text, a bitmap or a combination of text and bitmap Creating ListContextItem ListContextItem* pitemcontext = new ListContextItem(); pitemcontext->construct(); pitemcontext->addelement(id_context_item_1, "Test1"); pitemcontext->addelement(id_context_item_2, "Test2"); pitem->setcontextitem(pitemcontext); 19
20 Interaction Events IListViewItemEventListener OnListViewItemStateChanged(... ) OnListViewContextItemStateChanged( ) OnListViewItemSwept( ) Click! - Item - Click! - Element - 20
21 ListView Example class ListViewSample : public Form,public IListViewItemEventListener, public IListViewItemProvider { protected: ListView* plist; CustomListElement* pcustomlistelement; public: // IListViewItemEventListener virtual void OnListViewContextItemStateChanged(ListView &listview, int index, int elementid, ListContextItemStatus state); virtual void OnListViewItemSwept(ListView &listview, int index, SweepDirection direction); //IListViewItemProvider Virtual ListItemBase* CreateItem(int index, int itemwidth); virtual int GetItemCount(void); }; 21
22 ListView Example : Initializing // Initializing result ListViewSample::OnInitializing(void) { result r = E_SUCCESS; pcustomlistelement = new CustomListElement(); CreateListView(); // Initialize other return r; } void ListViewSample::CreateListView(void) { plist = new ListView(); plist->construct(rectangle(0, 0, 480, GetClientAreaBounds().height), true, false); // Register listeners plist->setitemprovider(*this); plist->addlistviewitemeventlistener(*this); AddControl(* plist); } 22
23 ListView Example : ICustomElement class CustomListElement : public Osp::Ui::Controls::ICustomElement { public: CustomListElement(void){} ~CustomListElement (void){} }; bool OnDraw(Osp::Graphics::Canvas& canvas, const Osp::Graphics::Rectangle& rect, Osp::Ui::Controls::ListItemDrawingStatus itemstatus) { // Custom drawing code... canvas.setforegroundcolor(osp::graphics::color::color_green); canvas.drawtext(osp::graphics::point(rect.x+2, rect.y+20), L"Custom") ; return true; } 23
24 ListView Example : CreateItem Osp::Ui::Controls::ListItemBase* ListViewSample::CreateItem(int index, int itemwidth) { ListAnnexStyle style = LIST_ANNEX_STYLE_NORMAL; CustomItem* pitem = new CustomItem(); pitem->construct(osp::graphics::dimension(itemwidth,100), style); //Add Strings and bitmaps... //Add Custom element pitem->addelement(rectangle(290, 20, 60, 60), ID_FORMAT_CUSTOM, *(static_cast<icustomelement *>( pcustomlistelement))); //Add context item ListContextItem* pitemcontext = new ListContextItem(); pitemcontext->construct(); pitemcontext->addelement(id_context_item_1, "Test1"); pitemcontext->addelement(id_context_item_2, "Test2"); pitem->setcontextitem(pitemcontext); return pitem; } 24
25 ListView Example : Events void ListViewSample::OnListViewItemStateChanged(ListView &listview, int index, int elementid, ListItemStatus status) { switch (elementid) { //Event handling } } void ListViewSample::OnListViewItemSwept(ListView &listview, int index, SweepDirection direction) { //Event handling } void ListViewSample::OnListViewContextItemStateChanged(ListView &listview, int index, int elementid, ListContextItemStatus state) { switch (elementid) { //Event handling } } 25
26 4 Multiple Form
27 Multiple Form Application A Form acts as each sheet (or a screen) of an application An application may contain multiple forms Switching between forms is required Note: an application with many Forms needs a designated Form controller for memory efficiency 27
28 Example: Multiple Form (1/4) // Forms class Form1:... {... }; class Form2:... {... } // in the <App>.h class MyApp :... {... private: // Form array Form* pform[2];... public: result MoveToForm(int i); }; 28
29 Example: Multiple Form (2/4) MyApp::OnAppInitializing(... ) {... // Creating two forms (which are member variable now) pform[0] = new Form1(); ((Form1*)pForm[0])->Initialize(); pform[1] = new Form2(); ((Form2*)pForm[1])->Initialize();... // Adding two forms pframe->addcontrol(*pform[0]); pframe->addcontrol(*pform[1]); } // Setting the current form pframe->setcurrentform(*pform[0]);... 29
30 Example: Multiple Form (3/4) // The function to switch form available from the outside result MyApp::MoveToForm(int i) { // checking if the id is valid if( i<0 i>=2 ) return E_OBJ_NOT_FOUND; // exception } // Get pframe of the application Frame* pframe = GetAppFrame()->GetFrame(); // Setting the current form pframe->setcurrentform(*pform[i]); // Force the frame to redraw pform[i]->draw(); pform[i]->show(); return E_SUCCESS; 30
31 Example: Multiple Form (4/4) // Usually on some event // (action event listener for example) void Form1::OnActionEventListener(... )... if(... ) { MyApp* papp = (MyApp*)GetInstance(); app->movetoform(1); }... } 31
32 5 Multi Touch
33 Multi Touch Detect touch at multiple points at same time. Events to notify type of touch. Provides the co ordinates of all the points being touched. 33
34 Multi Touch usage Enabling Multi Touch //Enable the multi-touch function and add the event listener Touch touch; touch.setmultipointenabled(*this, true); AddTouchEventListener(*this); Knowing the number of points touched void MainForm::OnTouchPressed (const Osp::Ui::Control &source, const Osp::Graphics::Point ¤tposition, const Osp::Ui::TouchEventInfo &touchinfo) { Touch touch; IList *plist = null; plist = touch.gettouchinfolistn(source); //Read the number of points being touched int count = plist->getcount(); } 34
35 Multi Touch usage Extracting the points coordinates //Get the first two touched position TouchInfo* ptouchinfo = static_cast<touchinfo *>(plist->getat(0)); Point firstpoint = ptouchinfo->position; ptouchinfo = static_cast<touchinfo *>(plist->getat(1)); Point secondpoint = ptouchinfo->position; 35
36 6 Animations
37 Animations An illusion generated by showing sequential images in a swift manner Basic animation consists of Start value Key value (automatically calculated using interpolators) End value bada supports the following interpolators: ANIMATION_INTERPOLATOR_LINEAR ANIMATION_INTERPOLATOR_DISCRETE ANIMATION_INTERPOLATOR_EASE_IN ANIMATION_INTERPOLATOR_EASE_OUT ANIMATION_INTERPOLATOR_EASE_IN_OUT ANIMATION_INTERPOLATOR_BEZIER 37
38 Handling Animation bada provides methods to create an animation between the start and end values for the same data type in a given duration, using an interpolator Classes IntegerAnimation FloatAnimation PointAnimation DimensionAnimation RectangleAnimation RotateAnimation Using AnimationGroup class, multiple animations can be combined into on e animation group Animation can be applied to UI control properties like Position, Size, Alpha and Rotation 38
39 Listeners and important classes IControlAnimatorEventListener OnControlAnimationFinished OnControlAnimationStarted OnControlAnimationStopped IControlAnimatorDetailedEventListener OnControlAnimationFinished OnControlAnimationRepeated OnControlAnimationStarted OnControlAnimationStopped The ControlAnimator class used for Animating a control Animating multiple controls 39
40 Animation Example Example to animate a button from one position to another Class declaration Initialize controls Use point animation to animate from one point to another Class declaration class AnimationSample : public Osp::Ui::Controls::Form, public Osp::Ui::IActionEventListener { public: virtual result OnInitializing(void); virtual void OnActionPerformed(const Control& source, int actionid); protected: static const int ID_BUTTON = 101; Osp::Ui::Controls::Button * pbutton; }; 40
41 Initialize controls result AnimationSample::OnInitializing(void) { result r = E_SUCCESS; // Creates a button pbutton = new Button(); pbutton->construct(rectangle(10, 200, 460, 100)); pbutton->settext(l"start animation"); pbutton->setactionid(id_button); pbutton->addactioneventlistener(*this); AddControl(* pbutton); } return r; 41
42 Animate the button case ID_BUTTON: { // Starts an animation result r = E_SUCCESS; ControlAnimator* pbuttonanimator = pbutton->getcontrolanimator(); Point startpos = pbutton->getposition(); Point endpos(startpos.x, startpos.y + 200); PointAnimation pointanimation(startpos, endpos, 2000, ANIMATION_INTERPOLATOR_LINEAR); pointanimation.setautoreverseenabled(true); r = pbuttonanimator->startuseranimation(animation_target_position, pointanimation); if (IsFailed(r)) { AppLog("Start Animation on Button Failed.\n"); return; } } break; 42
43 7 Layout
44 Introduction Layout in simple terms is the Organization of Control in a container bada platform allows to attach a Layout to a container Attaching a layout to a parent container affects the size and position of all the child controls added to the parent container 3 types of layout Relative layout Single-dimensional layout: Horizontal box layout Vertical box layout 2-dimensional grid layout 44
45 Relative layout Size and position of each control is relative to the size and position of other child controls of the container For relative layout, it s a must to assign relationships between the controls Relationship style of a child control Align my side to the side of another control Invalidate all the relationships on my side Align my position to the center of the container Invalidate my center alignment 45
46 Single-dimensional layout The HorizontalBoxLayout positions the child controls in a linear horizontal layout. The VerticalBoxLayout positions the child controls in a linear vertical layout. Attributes for vertical and horizontal box layouts Weight Alignment Spacing Margin 46
47 2-dimensional grid layout The GridLayout positions in a cell of a 2-dimensional grid Each cell of the grid is sized based on the height and width of the control placed in it Attributes for Grid layout Stretch, shrink, or collapse Alignment Spacing Margin 47
48 Layout Example Creating a RelativeLayout: Construct a RelativeLayout: RelativeLayout* playout = new RelativeLayout; playout->construct(); Apply the layout to a container Panel* prelativepanel = new Panel; prelativepanel->construct(*playout, Rectangle(0, 0, 300, 500)); Retrieve the relative layout instance from the container RelativeLayout * playout = dynamic_cast<relativelayout*> (prelativepanel->getlayoutn()); 48
49 Layout Example contd Assign relationship and margin TextLeftTop.SetText(L"fixed"); // Align the left side of TextLeftTop to the parent panel s left side playout->setrelation(textlefttop, panel, RECT_EDGE_RELATION_LEFT_TO_LEFT); playout->setrelation(textlefttop, panel, RECT_EDGE_RELATION_TOP_TO_TOP); // Leave a margin of 15 to the left and top of TextLeftTop playout->setmargin(textlefttop, 15, 0, 15, 0); TextRightTop.SetText(L"scalable <=>"); playout->setrelation(textrighttop, TextLeftTop, RECT_EDGE_RELATION_LEFT_TO_RIGHT); playout->setrelation(textrighttop, panel,rect_edge_relation_right_to_right); playout->setrelation(textrighttop, panel,rect_edge_relation_top_to_top); playout->setmargin(textrighttop, 15, 15, 15, 0); TextCenter.SetText(L"centered"); layout.setcenteraligned(textcenter, CENTER_ALIGN_HORIZONTAL); Layout.SetCenterAligned(TextCenter, CENTER_ALIGN_VERTICAL); 49
50 8 Designing UI using UI Builder
51 UI Builder XML code for Form designs Can contain a variety of controls and their hierarchy Why XML Easy localization Choose XML for locale Multiple device support Choose XML for the device resolution & other device configurations WYSWYG (what you see is what you get) style UI design 51
52 UI Builder Common properties to specify ID Size & position Text, text alignments, and text colors Parent-child relationship 52
53 UI Builder At loading time Memory for controls are allocated Hierarchies are set Other properties of controls are set In your code Retrieve controls by their names Set additional properties only available in the code event listeners action id s List items... 53
54 UI Builder: Auto code generation 54
55 Using Controls in XML // Loading a form XML form.construct( IDF_FORM1 ); // name of the form // Getting the instance of a control from the form Button& button = (Button&)*(form.GetControl( IDC_BUT2 )); 55
56 String Table To localize application for multiple languages. Each localized string is saved to its own xml file in Res folder in the appl ication project. 56
57 Using String Table Application* papp = Application::GetInstance(); String str1; r = papp->getappresource()->getstring("ids_hello", str1); 57
58 Resource fallback policy: Bitmap AppResource::GetBitmapN selects and loads the best suited image available. 58
59 Resource fallback policy: Form XML Load target device-specific resources or a best matching resource if the target device-specific resource is unavailable. 59
60 Summary There are many types of controls for many different functionalities Forms can be used for multipage applications UI Builder can help the developer design Forms easily The corresponding XML file can be loaded using code and controls can be found by ID 60
Basic Components. Window and control hierarchy
bada UI Concepts Contents Basic components Frame and Form Controls and Containers Supported Controls by bada Header, Footer and Other Simple Controls ListView and Popup Introduction Here we will see the
More informationbada UI? Fun & Easy! Copyright 2010 Samsung Electronics Co., Ltd. All rights reserved.
bada UI? Fun & Easy! The MyPlaces bada app 2 Contents UI basics Using UI controls Weaving forms UI Builder essentials How to make your UI multilingual Some more use cases 3 UI basics 4 UI structure Indicator
More informationbada Tutorial: UI and Graphics bada
bada Tutorial: UI and Graphics bada 1.2.0 Copyright Copyright 2010 Samsung 2010 Electronics Samsung Co., Electronics Ltd. All Co., rights Ltd. reserved. All rights reserved. 1 Contents UI Graphics Copyright
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 informationUser Interface: Layout. Asst. Prof. Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University
User Interface: Layout Asst. Prof. Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University http://twitter.com/krunapon Agenda User Interface Declaring Layout Common Layouts User Interface
More informationCustom Views in Android Tutorial
Custom Views in Android Tutorial The Android platform provides an extensive range of user interface items that are sufficient for the needs of most apps. However, there may be occasions on which you feel
More informationContents. Canvas and Graphical shapes Drawing Font and Text Bitmaps and Buffer Example Animation 3D-Graphics Hardware Support
Graphics Contents Canvas and Graphical shapes Drawing Font and Text Bitmaps and Buffer Example Animation 3D-Graphics Hardware Support Introduction 2D and 3D graphics We will see how to use the canvas to
More informationCMSC434. Introduction to Human-Computer Interaction. Week 10 Lecture 17 Mar 31, 2016 Engineering Interfaces III. Jon
CMSC434 Introduction to Human-Computer Interaction Week 10 Lecture 17 Mar 31, 2016 Engineering Interfaces III Jon Froehlich @jonfroehlich Human Computer Interaction Laboratory COMPUTER SCIENCE UNIVERSITY
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 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 informationCreating Dynamic UIs with Qt Declarative UI
Creating Dynamic UIs with Qt Declarative UI Alex Luddy 8/25/2010 Purpose To inspire your usage of Qt s declarative UI Show how to use it Show how cool it is 1 Agenda Why Declarative UI? Examples Things
More informationOPTIMIZING ANDROID UI PRO TIPS FOR CREATING SMOOTH AND RESPONSIVE APPS
OPTIMIZING ANDROID UI PRO TIPS FOR CREATING SMOOTH AND RESPONSIVE APPS @CYRILMOTTIER GET TO KNOW JAVA DON T USE BOXED TYPES UNNECESSARILY HashMap hashmap = new HashMap();
More informationBetter UI Makes ugui Better!
Better UI Makes ugui Better! 2016 Thera Bytes UG Developed by Salomon Zwecker TABLE OF CONTENTS Better UI... 1 Better UI Elements... 4 1 Workflow: Make Better... 4 2 UI and Layout Elements Overview...
More informationBetter UI Makes ugui Better!
Better UI Makes ugui Better! version 1.2 2017 Thera Bytes UG Developed by Salomon Zwecker TABLE OF CONTENTS Better UI... 1 Better UI Elements... 5 1 Workflow: Make Better... 5 2 UI and Layout Elements
More informationCreating a Title Block & Border Using Chief Architect. Architectural Design & Residential Construction Penncrest High School
Creating a Title Block & Border Using Chief Architect Architectural Design & Residential Construction Penncrest High School 2017-2018 Select New Layout to begin designing your Title Block. Note: Once the
More informationProgramming of Mobile Services, Spring 2012
Programming of Mobile Services, Spring 2012 HI1017 Lecturer: Anders Lindström, anders.lindstrom@sth.kth.se Lecture 6 Today s topics Android graphics - Views, Canvas, Drawables, Paint - Double buffering,
More informationBetter UI Makes ugui Better!
Better UI Makes ugui Better! version 1.1.2 2017 Thera Bytes UG Developed by Salomon Zwecker TABLE OF CONTENTS Better UI... 1 Better UI Elements... 4 1 Workflow: Make Better... 4 2 UI and Layout Elements
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 informationASIC-200 Version 5.0. integrated industrial control software. HMI Guide
ASIC-200 Version 5.0 integrated industrial control software HMI Guide Revision Description Date C Name change, correct where applicable with document 4/07 HMI Guide: 139168(C) Published by: Pro-face 750
More informationThe MVC Design Pattern
The MVC Design Pattern The structure of iphone applications is based on the Model-View-Controller (MVC) design pattern because it benefits object-oriented programs in several ways. MVC based programs tend
More informationQuick Reference Card Business Objects Toolbar Design Mode
Icon Description Open in a new window Pin/Unpin this tab Close this tab File Toolbar New create a new document Open Open a document Select a Folder Select a Document Select Open Save Click the button to
More informationANDROID (4) 2D Graphics and Animation, Handling Screen Rotation. Marek Piasecki
ANDROID (4) 2D Graphics and Animation, Handling Screen Rotation Marek Piasecki Outline 2D graphics drawing Color / Paint / Canvas XML drawable (from resources) direct to a Canvas / View.onDraw() 2D animation
More informationUI Elements. If you are not working in 2D mode, you need to change the texture type to Sprite (2D and UI)
UI Elements 1 2D Sprites If you are not working in 2D mode, you need to change the texture type to Sprite (2D and UI) Change Sprite Mode based on how many images are contained in your texture If you are
More informationMicrosoft Excel Chapter 3. Working with Large Worksheets, Charting, and What-If Analysis
Microsoft Excel 2013 Chapter 3 Working with Large Worksheets, Charting, and What-If Analysis Objectives Rotate text in a cell Create a series of month names Copy, paste, insert, and delete cells Format
More informationSpring Lecture 7 Lecturer: Omid Jafarinezhad
Mobile Programming Sharif University of Technology Spring 2016 - Lecture 7 Lecturer: Omid Jafarinezhad Grid View GridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. The grid
More informationVive Input Utility Developer Guide
Vive Input Utility Developer Guide vivesoftware@htc.com Abstract Vive Input Utility is a tool based on the SteamVR plugin that allows developers to access Vive device status in handy way. We also introduce
More informationQt Quick From bottom to top
SERIOUS ABOUT SOFTWARE Qt Quick From bottom to top Timo Strömmer, Feb 11, 2011 1 Contents Day 2 Qt core features Shared data objects Object model, signals and slots, properties Hybrid programming QML fluid
More informationFlash Tutorial. Working With Text, Tween, Layers, Frames & Key Frames
Flash Tutorial Working With Text, Tween, Layers, Frames & Key Frames Opening the Software Open Adobe Flash CS3 Create a new Document Action Script 3 In the Property Inspector select the size to change
More informationInstallation and Configuration Manual
Installation and Configuration Manual IMPORTANT YOU MUST READ AND AGREE TO THE TERMS AND CONDITIONS OF THE LICENSE BEFORE CONTINUING WITH THIS PROGRAM INSTALL. CIRRUS SOFT LTD End-User License Agreement
More informationMicrosoft Excel Chapter 3. Working with Large Worksheets, Charting, and What-If Analysis
Microsoft Excel 2013 Chapter 3 Working with Large Worksheets, Charting, and What-If Analysis Objectives Rotate text in a cell Create a series of month names Copy, paste, insert, and delete cells Format
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 informationCorrecting Grammar as You Type
PROCEDURES LESSON 11: CHECKING SPELLING AND GRAMMAR Selecting Spelling and Grammar Options 2 Click Options 3 In the Word Options dialog box, click Proofing 4 Check options as necessary under the When correcting
More informationComputer Applications Final Exam Study Guide
Name: Computer Applications Final Exam Study Guide Microsoft Word 1. To use -and-, position the pointer on top of the selected text, and then drag the selected text to the new location. 2. The Clipboard
More informationCISC 1600 Lecture 2.2 Interactivity&animation in Processing
CISC 1600 Lecture 2.2 Interactivity&animation in Processing Topics: Interactivity: keyboard and mouse variables Interactivity: keyboard and mouse listeners Animation: vector graphics Animation: bitmap
More informationOffice 2010: New Features Course 01 - The Office 2010 Interface
Office 2010: New Features Course 01 - The Office 2010 Interface Slide 1 The Excel Ribbon (Home Tab) Slide 2 The Cell Styles Gallery in Excel Slide 3 Live Preview Default Live Preview of the cell style
More informationITP 342 Mobile App Dev. Animation
ITP 342 Mobile App Dev Animation Core Animation Introduced in Mac OS X Leopard Uses animatable "layers" built on OpenGL UIKit supports Core Animation out of the box Every UIView has a CALayer behind it
More informationINTRODUCTION TO ANDROID
INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android
More informationITP 342 Mobile App Dev. Animation
ITP 342 Mobile App Dev Animation Views Views are the fundamental building blocks of your app's user interface, and the UIView class defines the behaviors that are common to all views. Responsibilities
More informationDatabase Design Practice Test JPSFBLA
1. You see field names, data types, and descriptions in: a. Datasheet View c. Form View b. Design View d. Property View 2. The data type for insurance policy numbers, such as 0012-M-340-25 or 43F33-7805,
More informationChart And Graph. Features. Features. Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend
Chart And Graph Features Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend Overview Bar Chart Canvas World Space Category settings Pie Chart canvas World Space Pie Category Graph Chart
More informationMobile Application (Design and) Development
Mobile Application (Design and) Development 7 th class Prof. Stephen Intille s.intille@neu.edu Northeastern University 1 Q&A Workspace setup in lab. Anyone try it? Anyone looking for a partner? Boggle
More informationCISC 1600 Lecture 2.2 Interactivity&animation in Processing
CISC 1600 Lecture 2.2 Interactivity&animation in Processing Topics: Interactivity: keyboard and mouse variables Interactivity: keyboard and mouse listeners Animation: vector graphics Animation: bitmap
More informationAdobe Dreamweaver CS6 Digital Classroom
Adobe Dreamweaver CS6 Digital Classroom Osborn, J ISBN-13: 9781118124093 Table of Contents Starting Up About Dreamweaver Digital Classroom 1 Prerequisites 1 System requirements 1 Starting Adobe Dreamweaver
More informationWORD Creating Objects: Tables, Charts and More
WORD 2007 Creating Objects: Tables, Charts and More Microsoft Office 2007 TABLE OF CONTENTS TABLES... 1 TABLE LAYOUT... 1 TABLE DESIGN... 2 CHARTS... 4 PICTURES AND DRAWINGS... 8 USING DRAWINGS... 8 Drawing
More informationINFRAGISTICS WINDOWS FORMS 17.2 Volume Release Notes 2017
17.2 Volume Release Notes 2017 Infragistics Windows Forms controls provide breadth and depth in enabling developers to bring modern, trend-setting applications to market while shortening development time.
More informationios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout
ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout Overview : Today s Lecture Model View Controller Design Pattern Creating Views in Storyboard Connecting your Views to Code Auto
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 informationCS260 Intro to Java & Android 09.AndroidAdvUI (Part I)
CS260 Intro to Java & Android 09.AndroidAdvUI (Part I) Winter 2015 Winter 2015 CS260 - Intro to Java & Android 1 Creating TicTacToe for Android We are going to begin to use everything we ve learned thus
More informationMicrosoft Excel Chapter 3. What-If Analysis, Charting, and Working with Large Worksheets
Microsoft Excel 2010 Chapter 3 What-If Analysis, Charting, and Working with Large Worksheets Objectives Rotate text in a cell Create a series of month names Copy, paste, insert, and delete cells Format
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 informationDesktop Studio: Charts. Version: 7.3
Desktop Studio: Charts Version: 7.3 Copyright 2015 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived from,
More information10Tec igrid for.net 6.0 What's New in the Release
What s New in igrid.net 6.0-1- 2018-Feb-15 10Tec igrid for.net 6.0 What's New in the Release Tags used to classify changes: [New] a totally new feature; [Change] a change in a member functionality or interactive
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 informationMicrosoft Office. Microsoft Office
is an office suite of interrelated desktop applications, servers and services for the Microsoft Windows. It is a horizontal market software that is used in a wide range of industries. was introduced by
More informationIntroduction to Excel 2013
Introduction to Excel 2013 Copyright 2014, Software Application Training, West Chester University. A member of the Pennsylvania State Systems of Higher Education. No portion of this document may be reproduced
More informationCorrecting Grammar as You Type. 1. Right-click the text marked with the blue, wavy underline. 2. Click the desired option on the shortcut menu.
PROCEDURES LESSON 11: CHECKING SPELLING AND GRAMMAR Selecting Spelling and Grammar Options 2 Click Options 3 In the Word Options dialog box, click Proofing 4 Check options as necessary under the When correcting
More informationDesktop Studio: Charts
Desktop Studio: Charts Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Working with Charts i Copyright 2011 Intellicus Technologies This document
More informationFor more tips on using this workbook, press F1 and click More information about this template.
Excel: Menu to ribbon reference To view Office 2003 menu and toolbar commands and their Office 2010 equivalents, click a worksheet tab at the bottom of the window. If you don't see the tab you want, right-click
More informationCreating a Text Frame. Create a Table and Type Text. Pointer Tool Text Tool Table Tool Word Art Tool
Pointer Tool Text Tool Table Tool Word Art Tool Picture Tool Clipart Tool Creating a Text Frame Select the Text Tool with the Pointer Tool. Position the mouse pointer where you want one corner of the text
More informationExcel Level Three. You can also go the Format, Column, Width menu to enter the new width of the column.
Introduction Excel Level Three This workshop shows you how to change column and rows, insert and delete columns and rows, how and what to print, and setting up to print your documents. Contents Introduction
More informationACS-1805 Introduction to Programming (with App Inventor)
ACS-1805 Introduction to Programming (with App Inventor) Chapter 8 Creating Animated Apps 10/25/2018 1 What We Will Learn The methods for creating apps with simple animations objects that move Including
More informationStanislav Rost CSAIL, MIT
Session 2: Lifecycles, GUI Stanislav Rost CSAIL, MIT The Plan 1 Activity lifecycle Service lifecycle 2 Selected GUI elements UI Layouts 3 Hands on assignment: RoboChat Application GUI Design Birth, death,
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 informationChapter 7: Reveal! Displaying Pictures in a Gallery
Chapter 7: Reveal! Displaying Pictures in a Gallery Objectives In this chapter, you learn to: Create an Android project using a Gallery control Add a Gallery to display a horizontal list of images Reference
More informationANDROID APPS DEVELOPMENT FOR MOBILE GAME
ANDROID APPS DEVELOPMENT FOR MOBILE GAME Application Components Hold the content of a message (E.g. convey a request for an activity to present an image) Lecture 2: Android Layout and Permission Present
More informationChapter 1: Object-Oriented Programming Using C++
Chapter 1: Object-Oriented Programming Using C++ Objectives Looking ahead in this chapter, we ll consider: Abstract Data Types Encapsulation Inheritance Pointers Polymorphism Data Structures and Algorithms
More informationData Structures and Other Objects Using C++
Inheritance Chapter 14 discuss Derived classes, Inheritance, and Polymorphism Inheritance Basics Inheritance Details Data Structures and Other Objects Using C++ Polymorphism Virtual Functions Inheritance
More informationRELEASE NOTES. For MiniGUI V2.0.3/V1.6.9
RELEASE NOTES For MiniGUI V2.0.3/V1.6.9 Beijing Feynman Software Technology Co. Ltd. June, 2006 Copyright Claim Copyright 2006, Beijing Feynman Software Technology Co., Ltd. All rights reserved. By whatever
More informationGetting Started with Milestone 2. From Lat Lon, to Cartesian, and back again
Getting Started with Milestone 2 From Lat Lon, to Cartesian, and back again Initial Steps 1. Download m2 handout 2. Follow the walkthrough in Section 4 3. Read the EZGL QuickStart Guide 4. Modify main.cpp
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 informationOX Documents Release v Feature Overview
OX Documents Release v7.8.4 Feature Overview 1 Objective of this Document... 3 1.1 The Purpose of this Document... 3 2 General Improvements... 4 2.1 Security First: Working with Encrypted Files (OX Guard)...
More informationChart And Graph. Supported Platforms:
Chart And Graph Supported Platforms: Quick Start Folders of interest Running the Demo scene: Notes for oculus Bar Chart Stack Bar Chart Pie Chart Graph Chart Streaming Graph Chart Graph Chart Curves: Bubble
More informationAssignment 3: Inheritance
Assignment 3: Inheritance Due Wednesday March 21 st, 2012 by 11:59 pm. Submit deliverables via CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due).
More informationContent Elements. Contents. Row
Content Elements Created by Raitis S, last modified on Feb 09, 2016 This is a list of 40+ available content elements that can be placed on the working canvas or inside of the columns. Think of them as
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 informationToon Boom Harmony 14.0 Essentials Edition Keyboard Shortcuts
Toon Boom Harmony 14.0 Essentials Edition Keyboard Shortcuts Legal Notices Toon Boom Animation Inc. 4200 Saint-Laurent, Suite 1020 Montreal, Quebec, Canada H2W 2R2 Tel: +1 514 278 8666 Fax: +1 514 278
More informationCreating a Spreadsheet by Using Excel
The Excel window...40 Viewing worksheets...41 Entering data...41 Change the cell data format...42 Select cells...42 Move or copy cells...43 Delete or clear cells...43 Enter a series...44 Find or replace
More informationAdvanced Dreamweaver CS6
Advanced Dreamweaver CS6 Overview This advanced Dreamweaver CS6 training class teaches you to become more efficient with Dreamweaver by taking advantage of Dreamweaver's more advanced features. After this
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 informationBCIS 4650 Visual Programming for Business Applications
BCIS 4650 Visual Programming for Business Applications XAML Controls (That You Will, or Could, Use in Your BCIS 4650 App i.e., a Subset) 1 What is a XAML Control / Element? Is a Toolbox class which, when
More informationM1-R4: Programing and Problem Solving using C (JAN 2019)
M1-R4: Programing and Problem Solving using C (JAN 2019) Max Marks: 100 M1-R4-07-18 DURATION: 03 Hrs 1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter
More informationUsing Graphics to Enhance A PowerPoint Presentation
Using Graphics to Enhance A PowerPoint Presentation This document provides instructions for working with various types of graphics in Microsoft PowerPoint. A design rule of thumb is to include some sort
More informationComposite Pattern Diagram. Explanation. JavaFX Subclass Hierarchy, cont. JavaFX: Node. JavaFX Layout Classes. Top-Level Containers 10/12/2018
Explanation Component has Operation( ), which is a method that applies to all components, whether composite or leaf. There are generally many operations. Component also has composite methods: Add( ), Remove(
More information(c) Dr Sonia Sail LAJMI College of Computer Sciences & IT (girl Section) 1
Level 5: Baccalaureus in Computer Sciences CHAPTER 4: LAYOUTS AND VIEWS Dr. Sonia Saïd LAJMI PhD in Computer Sciences 1 Layout.xml 2 Computer Sciences & IT (girl Section) 1 Layout Requirements android:layout_width:
More informationEvent-Driven Programming with GUIs. Slides derived (or copied) from slides created by Rick Mercer for CSc 335
Event-Driven Programming with GUIs Slides derived (or copied) from slides created by Rick Mercer for CSc 335 Event Driven GUIs A Graphical User Interface (GUI) presents a graphical view of an application
More informationUsing the API... 3 edriven.core... 5 A PowerMapper pattern... 5 edriven.gui... 7 edriven.gui framework architecture... 7 Audio... 9 Animation...
1 Using the API... 3 edriven.core... 5 A PowerMapper pattern... 5 edriven.gui... 7 edriven.gui framework architecture... 7 Audio... 9 Animation... 11 Tween class... 11 TweenFactory class... 12 Styling...
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 informationContents. Timer Thread Synchronization
Osp::Base::Runtime Contents Timer Thread Synchronization Introduction Timers are provided to perform time based operations. The Runtime namespace contains classes for concurrent programming concepts like
More information2IS45 Programming
Course Website Assignment Goals 2IS45 Programming http://www.win.tue.nl/~wsinswan/programmeren_2is45/ Rectangles Learn to use existing Abstract Data Types based on their contract (class Rectangle in Rectangle.
More informationAndroid UI DateBasics
Android UI DateBasics Why split the UI and programing tasks for a Android AP The most convenient and maintainable way to design application user interfaces is by creating XML layout resources. This method
More informationMOBILE COMPUTING 1/20/18. How many of you. CSE 40814/60814 Spring have implemented a command-line user interface?
MOBILE COMPUTING CSE 40814/60814 Spring 2018 How many of you have implemented a command-line user interface? How many of you have implemented a graphical user interface? HTML/CSS Java Swing.NET Framework
More informationCSS MOCK TEST CSS MOCK TEST III
http://www.tutorialspoint.com CSS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to CSS. You can download these sample mock tests at your local machine
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 informationMICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi
MICROSOFT EXCEL Prepared By: Amna Alshurooqi Hajar Alshurooqi Lesson 1 BIS 202 1. INTRODUCTION Microsoft Excel is a spreadsheet application used to perform financial calculations, statistical analysis,
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 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 informationCiviX Author Custom Actions Cheat Sheet
Amendment Bylaw Elements CiviX Author Custom Actions Cheat Sheet 1 Alt + 6 Add Amendment Explanatory Note Add an amendment explan note which explains the purpose of the amendment - Occurs above an amendment
More informationInfragistics Windows Forms 17.1 Service Release Notes October 2017
Infragistics Windows Forms 17.1 Service Release Notes October 2017 Add complete usability and extreme functionality to your next desktop application with the depth and breadth our Windows Forms UI controls.
More informationThe New Office 2010 Interface and Shared Features
The New Office 2010 Interface and Shared Features The Ribbon and Ribbon Tabs Minimising and Maximising Minimise Ribbon button Double-click Keytips and shortcut keys (Press Alt or F10) Standard vs contextual
More informationAdFalcon ios SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group
AdFalcon ios SDK 4.1.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Prerequisites... 3 2 Install AdFalcon SDK... 4 2.1 Use CocoaPods
More information