Android Training/Supporting Different Platform Versions/de: Unterschied zwischen den Versionen

Die Seite wurde neu angelegt: „Um ein Thema für deine komplette App anzuwenden (alle Activities), füge das <code>android:theme</code> Attribut zu dem <code>[http://developer.android.com/gu…“
(Die Seite wurde neu angelegt: „Für mehr über das Erstellen und Benutzen von Themes, lies den [http://developer.android.com/guide/topics/ui/themes.html Styles und Themes] Guide.“)
(Die Seite wurde neu angelegt: „Um ein Thema für deine komplette App anzuwenden (alle Activities), füge das <code>android:theme</code> Attribut zu dem <code>[http://developer.android.com/gu…“)
 
Zeile 46: Zeile 46:
<activity android:theme="@style/CustomTheme">
<activity android:theme="@style/CustomTheme">
</syntaxhighlight>
</syntaxhighlight>
To apply a theme to your entire app (all activities), add the <code>android:theme</code> attribute to the <code>[http://developer.android.com/guide/topics/manifest/application-element.html <application>]</code> element:
Um ein Thema für deine komplette App anzuwenden (alle Activities), füge das <code>android:theme</code> Attribut zu dem <code>[http://developer.android.com/guide/topics/manifest/application-element.html <application>]</code> Element hinzu:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<application android:theme="@style/CustomTheme">
<application android:theme="@style/CustomTheme">
11.008

Bearbeitungen