Added dynamic theme
uses Holo for api =>11 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -13,7 +13,8 @@
|
|||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon"
|
android:icon="@drawable/icon"
|
||||||
android:label="@string/app_name" >
|
android:label="@string/app_name"
|
||||||
|
android:theme="@style/MyTheme" >
|
||||||
<activity
|
<activity
|
||||||
android:name=".AutoPlayerActivity"
|
android:name=".AutoPlayerActivity"
|
||||||
android:label="@string/app_name" >
|
android:label="@string/app_name" >
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
android:name="ConfirmDialog"
|
android:name="ConfirmDialog"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation"
|
android:configChanges="keyboard|keyboardHidden|orientation"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:theme="@android:style/Theme.Dialog" >
|
android:theme="@style/MyDialogTheme" >
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|||||||
12
AutoPlayer/res/values-v11/theme.xml
Normal file
12
AutoPlayer/res/values-v11/theme.xml
Normal 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>
|
||||||
12
AutoPlayer/res/values/theme.xml
Normal file
12
AutoPlayer/res/values/theme.xml
Normal 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>
|
||||||
Reference in New Issue
Block a user