Commit 9a88a502 authored by J-P Nurmi's avatar J-P Nurmi
Browse files

Document how to select a specific Android theme


Change-Id: If6d72a65b01453e2f2ea76026ec158c98e80421e
Reviewed-by: default avatarVenugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: default avatarCaroline Chao <caroline.chao@theqtcompany.com>
Reviewed-by: default avatarTopi Reiniö <topi.reinio@digia.com>
Showing with 20 additions and 1 deletion
src/controls/doc/images/qtquickcontrols-example-gallery-android-dark.png

25.2 KB

...@@ -41,10 +41,29 @@ ...@@ -41,10 +41,29 @@
\note The Android style requires Android 3.0 (API level 11) or later. \note The Android style requires Android 3.0 (API level 11) or later.
It is automatically selected and deployed on Android. See \l{Getting Started The style is automatically selected and deployed on Android. See \l{Getting Started
with Qt for Android} and \l{Deploying an Application on Android} for with Qt for Android} and \l{Deploying an Application on Android} for
more details on the Android essentials. more details on the Android essentials.
\section2 Android Themes
Applications may choose a specific \l{http://developer.android.com/design/style/themes.html}
{Android theme} by specifying it in \l{AndroidManifest.xml}.
\image qtquickcontrols-example-gallery-android-dark.png
The following example sets a dark Holo theme, and the result can be
seen in the screenshot above.
\code
<manifest ...>
<application ... android:theme="@android:style/Theme.Holo">
...
</application>
...
</manifest>
\endcode
\section2 Action Bar \section2 Action Bar
The \l{http://developer.android.com/guide/topics/ui/actionbar.html} The \l{http://developer.android.com/guide/topics/ui/actionbar.html}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment