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 3: Zeile 3:


== 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.
#: ''res/layout/content_my.xml''<syntaxhighlight lang="java">
#: ''res/layout/content_my.xml''<syntaxhighlight lang="java">
372

Bearbeitungen