User Tools

Site Tools


android_learning:headfirst_android_development_notes:chapter_6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android_learning:headfirst_android_development_notes:chapter_6 [2016/01/31 21:15] – [Chapter 6 notes] mithatandroid_learning:headfirst_android_development_notes:chapter_6 [2016/01/31 21:20] (current) – [Chapter 6 notes] mithat
Line 2: Line 2:
  
 <WRAP center round tip 90%> <WRAP center round tip 90%>
-When creating Activities in Android Studio 1.5, if you specify an **Empty** rather than a **Blank** layout template, the code that is generated will be very similar to what HFAD apps bases all its code on. This should allow you to use the book's code without modification. However, it will remove template code for some newer Activity features.+When creating Activities in Android Studio 1.5, if you specify an **Empty** rather than a **Blank** layout template, you will get template code that is very similar to what HFAD bases all its code on. This should allow you to use the book's code without modification. However, it will remove template code for some newer Activity features.
  
 The notes that follow assume you are creating **Empty** Activities. The notes that follow assume you are creating **Empty** Activities.
Line 78: Line 78:
 ===== p. 239 ===== ===== p. 239 =====
 If you use Android Studio's assistance to specify ''@array/options'', it will by default place the values in ''arrays.xml'' instead of ''strings.xml'': If you use Android Studio's assistance to specify ''@array/options'', it will by default place the values in ''arrays.xml'' instead of ''strings.xml'':
-{{youtube>PkFn13kh9ZA?large&rel=0}}+{{youtube>PkFn13kh9ZA?large&rel=0}}\\
 You'll find it easier if you add the needed ''string-array'' to ''strings.xml'' manually. You'll find it easier if you add the needed ''string-array'' to ''strings.xml'' manually.
  
android_learning/headfirst_android_development_notes/chapter_6.1454274933.txt.gz · Last modified: 2016/01/31 21:15 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki