Index
A
- action bar, Test drive the app
- (see also app bar)
- ActionBarActivity class, MainActivity needs to be an AppCompatActivity
- ActionBar class, ActionBar vs. Toolbar, Test drive the app
- ActionBarDrawerToggle class, Add a drawer toggle
- actions
- about, But we don’t know what apps are on the user’s device
- category specified with, How Android uses the intent filter, If you have NO matching activities
- determining activities for, The intent filter tells Android which activities can handle which actions
- in app bar
- adding, Add actions to the app bar, The code for AndroidManifest.xml
- icons for, 1. Add the action’s resources, Control the action’s appearance
- menu for, 2. Create the menu resource file, 3. Add the menu to the app bar with the onCreateOptionsMenu() method
- method for, 4. React to action item clicks with the onOptionsItemSelected() method
- title for, 1. Add the action’s resources, Control the action’s appearance
- share actions, Add a share action provider to menu_main.xml
- specifying in an intent, But we don’t know what apps are on the user’s device
- types of, Create an intent that specifies an action
- activities
- about, Welcome to Androidville, Activities and layouts from 50,000 feet, Refine the app, Let’s build a Beer Adviser app, How do activities really work?
- backward compatibility for, Create the Pizza app, MainActivity needs to be an AppCompatActivity
- calling custom Java classes from, Enhance the activity to call the custom Java class so that we can get REAL advice
- calling methods from, We need to make ...
Get Head First Android Development, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.