Added dynamic theme

uses Holo for api =>11

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-04-22 11:17:33 -04:00
parent 6cb87ce722
commit 6b0d7d0c22
3 changed files with 27 additions and 2 deletions

View File

@@ -13,7 +13,8 @@
<application
android:icon="@drawable/icon"
android:label="@string/app_name" >
android:label="@string/app_name"
android:theme="@style/MyTheme" >
<activity
android:name=".AutoPlayerActivity"
android:label="@string/app_name" >
@@ -46,7 +47,7 @@
android:name="ConfirmDialog"
android:configChanges="keyboard|keyboardHidden|orientation"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Dialog" >
android:theme="@style/MyDialogTheme" >
</activity>
</application>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyTheme" parent="@android:style/Theme.Holo">
<!-- Any customizations for your app running on devices with Theme.Holo here -->
</style>
<style name="MyDialogTheme" parent="@android:style/Theme.Holo.Dialog">
<!-- Any customizations for your app running on pre-3.0 devices here -->
</style>
</resources>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyTheme" parent="@android:style/Theme">
<!-- Any customizations for your app running on pre-3.0 devices here -->
</style>
<style name="MyDialogTheme" parent="@android:style/Theme.Dialog">
<!-- Any customizations for your app running on pre-3.0 devices here -->
</style>
</resources>