Translations:Android Training/Starting Another Activity/16/en: Unterschied zwischen den Versionen
Neue Version von externer Quelle importiert |
Neue Version von externer Quelle importiert |
||
Zeile 1: | Zeile 1: | ||
'''Note:''' If you are using an IDE other than Android Studio, your project does not contain the<code>activity_display_message</code> layout that's requested by <code>[http://developer.android.com/reference/android/app/Activity.html#setContentView(android.view.View) setContentView()]</code>. That's OK because you will update this method later and won't be using that layout. | '''Note:''' If you are using an IDE other than Android Studio, your project does not contain the <code>activity_display_message</code> layout that's requested by <code>[http://developer.android.com/reference/android/app/Activity.html#setContentView(android.view.View) setContentView()]</code>. That's OK because you will update this method later and won't be using that layout. | ||
# To your <code>strings.xml</code> file, add the new activity's title as follows: | # To your <code>strings.xml</code> file, add the new activity's title as follows: |