摘要:
How Android Draws Views When an Activity receives focus, it will be requested to draw its layout. The Android framework will handle the procedure for drawing, but the Activity must provide the root node of its layout hierarchy. Drawing begins with the root node of the layo... 阅读全文
文章分类 - Android
Android Dev Guide: Common Layout Objects
2012-03-21 14:13 by Jerikc, 298 阅读, 收藏,
摘要:
Common Layout Objects In this document FrameLayoutLinearLayoutTableLayoutRelativeLayoutSummary of Important View Groups This section describes some of the more common types of layout objects to use in your applications. Like all layouts, they are subclasses of View... 阅读全文
Android Dev Guide: Custom Components
2012-03-21 14:12 by Jerikc, 284 阅读, 收藏,
摘要:
Custom Components In this document The Basic ApproachFully Customized ComponentsCompound ControlsModifying an Existing View Type Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout classes: View and... 阅读全文
Android Dev Guide: Binding to Data with AdapterView
2012-03-21 14:12 by Jerikc, 197 阅读, 收藏,
摘要:
Binding to Data with AdapterView In this document Filling the Layout with DataHandling User Selections Related tutorials SpinnerList ViewGrid View The AdapterView is a ViewGroup subclass whose child Views are determined by an Adapter that binds to data of ... 阅读全文
Android Dev Guide: Styles and Themes
2012-03-21 14:11 by Jerikc, 346 阅读, 收藏,
摘要:
Styles and Themes In this document Defining Styles InheritanceStyle Properties Applying Styles and Themes to the UI Apply a style to a ViewApply a theme to an Activity or applicationSelect a theme based on platform version Using Platform Styles and... 阅读全文
Android Dev Guide: Drag and Drop
2012-03-21 14:11 by Jerikc, 1053 阅读, 收藏,
摘要:
Drag and Drop Quickview Allow users to move data within your Activity layout using graphical gestures. Supports operations besides data movement. Only wo... 阅读全文
Android Dev Guide: Status Bar Notifications
2012-03-21 14:10 by Jerikc, 612 阅读, 收藏,
摘要:
Status Bar Notifications Quickview A status bar notification allows your application to notify the user of an event without interupting their current activityYou can attach an intent to your notification that the system will initiate when the user clicks it ... 阅读全文
Android Dev Guide: Toast Notifications
2012-03-21 14:09 by Jerikc, 348 阅读, 收藏,
摘要:
Toast Notifications Quickview A toast is a message that appears on the surface of the screen for a moment, but it does not take focus (or pause the current activity), so it cannot accept user inputYou can customize the toast layout to include images In ... 阅读全文
Android Dev Guide: Dialogs
2012-03-21 14:07 by Jerikc, 159 阅读, 收藏,
摘要:
Dialogs In this document Showing a DialogDismissing a DialogCreating an AlertDialog Adding buttonsAdding a list Creating a ProgressDialog Showing a progress bar Creating a Custom Dialog Key classes DialogAlertDialogDialogFrag... 阅读全文
Android Dev Guide: Notifications
2012-03-21 14:07 by Jerikc, 164 阅读, 收藏,
摘要:
Notifications Several types of situations may arise that require you to notify the user about an event that occurs in your application. Some events require the user to respond and others do not. For example: When an event such as saving a file is complete, a small message ... 阅读全文
Android Dev Guide: Action Bar
2012-03-21 14:05 by Jerikc, 1326 阅读, 收藏,
摘要:
Action Bar Quickview A title bar that includes the application icon and activity titleProvides access to menu items and navigation modes such as tabsRequires API level 11 or greater In this document Adding the Action Bar Removing the action bar Adding Action... 阅读全文
Android Dev Guide: Menus
2012-03-21 14:04 by Jerikc, 485 阅读, 收藏,
摘要:
Menus In this document Defining a Menu in XMLCreating an Options Menu Handling click eventsChanging menu items at runtime Creating Contextual Menus Creating a floating context menuUsing the contextual action mode Creating a Popup Menu Handling click even... 阅读全文
Android Dev Guide: Input Events
2012-03-21 14:03 by Jerikc, 271 阅读, 收藏,
摘要:
Input Events In this document Event ListenersEvent HandlersTouch ModeHandling Focus Related tutorials Form Stuff On Android, there's more than one way to intercept the events from a user's interaction with your application. When considering events within your ... 阅读全文
Android Dev Guide: User Interface
2012-03-21 14:02 by Jerikc, 203 阅读, 收藏,
摘要:
User Interface In this document View HierarchyLayoutWidgetsInput EventsMenusAdvanced Topics AdaptersStyles and Themes Key classes ViewViewGroupWidget classes In an Android application, the user interface is built using View and ViewGroup objects. ... 阅读全文
Android Dev Guide: Processes and Threads
2012-03-21 14:00 by Jerikc, 284 阅读, 收藏,
摘要:
Processes and Threads Quickview Every application runs in its own process and all components of the application run in that process, by defaultAny slow, blocking operations in an activity should be done in a new thread, to avoid slowing down the user interface In this do... 阅读全文
Android Dev Guide: Intents and Intent Filters
2012-03-21 13:59 by Jerikc, 334 阅读, 收藏,
摘要:
Intents and Intent Filters In this document Intent ObjectsIntent ResolutionIntent filtersCommon casesUsing intent matchingNote Pad Example Key classes IntentIntentFilterBroadcastReceiverPackageManager Three of the core components of an application — activities, se... 阅读全文
Android Dev Guide: Calendar Provider
2012-03-21 13:58 by Jerikc, 632 阅读, 收藏,
摘要:
Calendar Provider In this document BasicsUser PermissionsCalendars table Querying a calendarModifying a calendarInserting a calendar Events table Adding EventsUpdating EventsDeleting Events Attendees table Adding Attendees Reminders table Adding Reminders ... 阅读全文
Android Dev Guide: Creating a Content Provider
2012-03-21 13:57 by Jerikc, 248 阅读, 收藏,
摘要:
Creating a Content Provider In this document Designing Data Storage Designing Content URIs Implementing the ContentProvider Class Required Methods Implementing the query() method ... 阅读全文
Android Dev Guide: Content Provider Basics
2012-03-21 13:56 by Jerikc, 297 阅读, 收藏,
摘要:
Content Provider Basics In this document Overview Accessing a provider Content URIs Retrieving Data from the Provider Requesting read a... 阅读全文
Android Dev Guide: Content Providers
2012-03-21 13:55 by Jerikc, 150 阅读, 收藏,
摘要:
Content Providers Topics Content Provider Basics Creating a Content Provider Calendar Provider Related Samples Contact Manager application "Cursor (P... 阅读全文
浙公网安备 33010602011771号