android_learning:headfirst_android_development_notes:chapter_9
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
android_learning:headfirst_android_development_notes:chapter_9 [2016/03/03 02:13] – [The icons] mithat | android_learning:headfirst_android_development_notes:chapter_9 [2016/03/16 03:34] (current) – [p. 370: Creating the project] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <WRAP center round important | + | ====== Chapter 9 ====== |
+ | <WRAP center round important | ||
The changes to Android Studio 1.5.1 have put this chapter well out of sync with both the "Blank Activity" | The changes to Android Studio 1.5.1 have put this chapter well out of sync with both the "Blank Activity" | ||
</ | </ | ||
- | |||
- | ====== Chapter 9 ====== | ||
It might be a little ambiguous in the Chapter intro, so here's a summary of what you're going to do in the chapter. You will build an app that has an //action bar//. An action bar is space at the top of an app that holds the activity name or other info on the left (in LTR languages) as well as a menu on the right (in LTR languages). The menu will have a number of items; some of those items will be specified to be pulled out of the drop down list and placed on the action bar as //action buttons// alongside the menu. | It might be a little ambiguous in the Chapter intro, so here's a summary of what you're going to do in the chapter. You will build an app that has an //action bar//. An action bar is space at the top of an app that holds the activity name or other info on the left (in LTR languages) as well as a menu on the right (in LTR languages). The menu will have a number of items; some of those items will be specified to be pulled out of the drop down list and placed on the action bar as //action buttons// alongside the menu. | ||
- | The action bar is a bit of a cluster fudge at the moment. It wasn't to Android added until relatively recently, and if you want to build apps using action bars that target older versions of Android, you'll have to use compatibility libraries. The syntax when compatibility libraries is just different enough from current Android " | + | The action bar is a bit of a clustercuss |
Another issue is that the compatibility libraries seem to be buggier than the current Android " | Another issue is that the compatibility libraries seem to be buggier than the current Android " | ||
Line 16: | Line 15: | ||
</ | </ | ||
+ | It will hurt if you don't. | ||
- | It will hurt if you don' | + | Be sure you specify an **Empty app template** in the new app wizard. |
==== menu_main.xml ==== | ==== menu_main.xml ==== | ||
Line 88: | Line 88: | ||
===== p. 380 ===== | ===== p. 380 ===== | ||
- | The author' | + | The author' |
+ | |||
+ | Yay. | ||
<code java> | <code java> | ||
@Override | @Override | ||
Line 122: | Line 124: | ||
===== p. 382 ===== | ===== p. 382 ===== | ||
- | Be sure to create a new Empty activity. It should automagically generate | + | Be sure to create a new Empty activity. It should automagically generate |
===== p. 383 ===== | ===== p. 383 ===== | ||
Line 208: | Line 210: | ||
===== p. 392 ===== | ===== p. 392 ===== | ||
- | Curiously, in the manifest if you don' | + | Since this app isn't supporting API 16 and lower, you don' |
===== p. 393 ===== | ===== p. 393 ===== | ||
Code it like you see it. | Code it like you see it. |
android_learning/headfirst_android_development_notes/chapter_9.1456971184.txt.gz · Last modified: 2016/03/03 02:13 by mithat