Merge pull request #254 from maniac103/holo-improvements

Holo improvements
This commit is contained in:
maniac103 2013-02-14 08:34:32 -08:00
commit 897f6e3d1c
8 changed files with 10 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false"
android:drawable="@drawable/btn_star_big_buttonless_off" />
<item android:state_checked="true"
android:drawable="@drawable/btn_star_big_buttonless_on" />
</selector>

View file

@ -173,7 +173,7 @@
android:layout_alignParentRight="true"
android:layout_alignTop="@id/from"
android:focusable="false"
android:button="@drawable/star"
style="?android:attr/starStyle"
android:checked="false" />
</RelativeLayout>

View file

@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!-- We need to override the dark theme to *not* use the workarounds of Theme.K9.Dark in
res/values/ -->
<style name="Theme.K9.Dark" parent="Theme.K9.Dark.Base">
<item name="composerBackgroundColor">@android:color/background_dark</item>
</style>
<style name="Theme.K9.Light" parent="Theme.K9.Light.Base">
<item name="composerBackgroundColor">@android:color/background_light</item>
</style>
<style name="Theme.K9.Dialog.Dark" parent="Theme.K9.Dark">

View file

@ -44,11 +44,9 @@
<item name="messageListDividerColor">#ffcccccc</item>
<item name="messageViewHeaderBackgroundColor">#ffffffff</item>
<item name="messageViewAttachmentBackground">@drawable/attachment_text_box_light</item>
<item name="composerBackgroundColor">@android:color/white</item>
</style>
<style name="Theme.K9.Dark.Base" parent="Theme.Sherlock">
<item name="android:windowBackground">@android:color/black</item>
<item name="iconFolder">@drawable/folder_dark</item>
<item name="iconListItemMenu">@drawable/dropdown_ic_arrow_normal_holo_dark</item>
<item name="iconMenuInfoDetails">@android:drawable/ic_menu_info_details</item>
@ -91,14 +89,16 @@
<item name="messageListDividerColor">#ff333333</item>
<item name="messageViewHeaderBackgroundColor">#000000</item>
<item name="messageViewAttachmentBackground">@drawable/attachment_text_box_dark</item>
<item name="composerBackgroundColor">@android:color/black</item>
</style>
<style name="Theme.K9.Light" parent="Theme.K9.Light.Base">
<item name="composerBackgroundColor">@android:color/white</item>
</style>
<!-- Work around some oddities -->
<style name="Theme.K9.Dark" parent="Theme.K9.Dark.Base">
<item name="android:windowBackground">@android:color/black</item>
<item name="composerBackgroundColor">@android:color/black</item>
<!-- Work around some oddities -->
<item name="android:autoCompleteTextViewStyle">@style/Widget.K9.AutoCompleteTextView</item>
<item name="textColorPrimaryRecipientDropdown">@android:color/primary_text_light</item>
<item name="textColorSecondaryRecipientDropdown">@android:color/secondary_text_light</item>