Bearbeiten von „Translations:Android Training/Starting Another Activity/2/en“
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
== Respond to the Send Button == | == Respond to the Send Button == | ||
# In Android Studio, from the <code>res/layout</code> directory, edit the <code>content_my.xml</code> file. | # In Android Studio, from the <code>res/layout</code> directory, edit the<code>content_my.xml</code> file. | ||
# Add the <code>[http://developer.android.com/reference/android/view/View.html#attr_android:onClick android:onClick]</code> attribute to the <code>[http://developer.android.com/reference/android/widget/Button.html <Button>]</code> element. | # Add the <code>[http://developer.android.com/reference/android/view/View.html#attr_android:onClick android:onClick]</code> attribute to the <code>[http://developer.android.com/reference/android/widget/Button.html <Button>]</code> element. |