Zum Inhalt springen

Android Training/Starting Another Activity/en: Unterschied zwischen den Versionen

Neue Version von externer Quelle importiert
(Neue Version von externer Quelle importiert)
(Neue Version von externer Quelle importiert)
 
Zeile 145: Zeile 145:
}
}
</syntaxhighlight>
</syntaxhighlight>
#: '''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:
#: <syntaxhighlight lang="xml">
#: <syntaxhighlight lang="xml">
372

Bearbeitungen

Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.