Fixed dark transparent theme to work

pull/14/head
Tim Su 13 years ago
parent 955fdc20b6
commit 7044e9747f

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- Bottom 2dp Shadow -->
<item>
<shape android:shape="rectangle" >
<gradient
android:endColor="#33111111"
android:startColor="#33222222" />
<corners android:radius="4dp" />
</shape>
</item>
<item android:bottom="2dp" android:right="1dp">
<shape android:shape="rectangle" >
<solid android:color="#33000000" />
<corners android:radius="4dp" />
</shape>
</item>
</layer-list>

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Content"
android:orientation="horizontal">
<!-- Filter List -->

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Content"
android:orientation="horizontal">
<!-- Filter List -->

@ -3,5 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Content"
android:id="@+id/tasklist_fragment_container">
</FrameLayout>

@ -7,7 +7,6 @@
<style name="Theme" parent="@style/Theme.Sherlock">
<item name="android:windowBackground">@null</item>
<item name="asContentBackground">@android:color/black</item>
<item name="asHeaderBackground">@drawable/header_background</item>
<item name="asHeaderButtonBackground">@drawable/header_button</item>
<item name="asSeparatorBackground">@android:drawable/divider_horizontal_dark</item>
<item name="asTextColor">#ffffffff</item>
@ -31,6 +30,7 @@
<item name="asListsDisclosure">@drawable/lists_disclosure_blue</item>
<item name="asTaskEditArrow">@drawable/taskedit_arrow_up_white</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_blue</item>
<!-- actionbar-styling -->
<item name="abBackground">@drawable/header_blue</item>
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
@ -39,34 +39,29 @@
<item name="vpiTabTextStyle">@style/CustomTabPageIndicator.Text</item>
</style>
<style name="Theme.Transparent" parent="@style/Theme">
<item name="asContentBackground">@android:color/transparent</item>
<style name="Theme.Transparent" parent="Theme">
<item name="asContentBackground">#22000000</item>
<item name="abBackground">#aa000000</item>
<item name="asEditBackground">#33272327</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
<item name="asEditRowBackground">@drawable/task_edit_background_transparent</item>
<item name="asMembersHeaderBackground">@android:color/transparent</item>
<!-- actionbar-styling -->
<item name="abBackground">@drawable/header_background</item>
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
<item name="abLogo">@drawable/icon_48</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowShowWallpaper">true</item>
</style>
<style name="Theme.FullTransparent" parent="@style/Theme.Sherlock">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
<!-- actionbar-styling -->
<item name="abBackground">@drawable/header_background</item>
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
<item name="abLogo">@drawable/icon_48</item>
<item name="android:windowIsFloating">true</item>
</style>
<style name="Theme.White" parent="@style/Theme.Sherlock.Light">
<item name="asContentBackground">@android:color/white</item>
<item name="asEditBackground">#f7f3f7</item>
<item name="asHeaderBackground">@drawable/header_background_white</item>
<item name="asHeaderButtonBackground">@drawable/header_button_white</item>
<item name="asTextColor">#ff000000</item>
<item name="asDetailsColor">#ff6666aa</item>
@ -85,6 +80,7 @@
<item name="asListsDisclosure">@drawable/lists_disclosure_red</item>
<item name="asTaskEditArrow">@drawable/taskedit_arrow_up_white</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_red</item>
<!-- actionbar-styling -->
<item name="abBackground">@drawable/header_red</item>
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
@ -105,7 +101,6 @@
<style name="Theme_Dialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@null</item>
<item name="asContentBackground">@android:color/black</item>
<item name="asHeaderBackground">@drawable/header_background</item>
<item name="asHeaderButtonBackground">@drawable/header_button</item>
<item name="asSeparatorBackground">@android:drawable/divider_horizontal_dark</item>
<item name="asTextColor">#ffffffff</item>
@ -137,7 +132,6 @@
<style name="Theme_Dialog.White">
<item name="asContentBackground">@android:color/white</item>
<item name="asHeaderBackground">@drawable/header_background_white</item>
<item name="asHeaderButtonBackground">@drawable/header_button_white</item>
<item name="asTextColor">#ff000000</item>
<item name="asDetailsColor">#ff6666aa</item>
@ -157,11 +151,6 @@
<item name="android:background">?attr/asContentBackground</item>
</style>
<style name="Header">
<item name="android:background">?attr/asHeaderBackground</item>
<item name="android:textColor">?attr/asTextColor</item>
</style>
<style name="TEA_Separator">
<item name="android:background">?attr/asSeparatorBackground</item>
</style>

Loading…
Cancel
Save