diff options
| author | 2009-07-16 13:17:31 -0700 | |
|---|---|---|
| committer | 2009-07-16 13:17:31 -0700 | |
| commit | 2493097cb077b772af779bf14251e3ac0fff95f8 (patch) | |
| tree | ff9618778f505f113ff28c6a2ca1833cf61a3d21 | |
| parent | 3e1663a2539ff0b939193304cfb601f6b134af7d (diff) | |
| parent | c444805f9b31b03938024489b2b70f8eff063be4 (diff) | |
Merge change 7566 into donut
* changes:
Fix the style of preferences headers in the light theme.
| -rw-r--r-- | core/res/res/drawable/light_header.9.png | bin | 0 -> 183 bytes | |||
| -rw-r--r-- | core/res/res/values/styles.xml | 3 | ||||
| -rw-r--r-- | core/res/res/values/themes.xml | 26 |
3 files changed, 28 insertions, 1 deletions
diff --git a/core/res/res/drawable/light_header.9.png b/core/res/res/drawable/light_header.9.png Binary files differnew file mode 100644 index 000000000000..ad5dce1e241e --- /dev/null +++ b/core/res/res/drawable/light_header.9.png diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 7d235ec8d4ef..8eda12e1f131 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -348,7 +348,8 @@ </style> <style name="Widget.TextView.ListSeparator.White"> - <item name="android:textColor">?textColorSecondaryInverse</item> + <item name="android:textColor">?textColorPrimaryInverse</item> + <item name="android:background">@android:drawable/light_header</item> </style> <style name="Widget.EditText"> diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index be836ebec4e5..e3fffb74f11a 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -325,6 +325,32 @@ <item name="android:windowContentOverlay">@null</item> <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> + + <item name="textAppearance">@android:style/TextAppearance</item> + <item name="textAppearanceInverse">@android:style/TextAppearance.Inverse</item> + + <item name="textColorPrimary">@android:color/primary_text_dark</item> + <item name="textColorSecondary">@android:color/secondary_text_dark</item> + <item name="textColorTertiary">@android:color/tertiary_text_dark</item> + <item name="textColorPrimaryInverse">@android:color/primary_text_light</item> + <item name="textColorSecondaryInverse">@android:color/secondary_text_light</item> + <item name="textColorTertiaryInverse">@android:color/tertiary_text_light</item> + <item name="textColorPrimaryDisableOnly">@android:color/primary_text_dark_disable_only</item> + <item name="textColorPrimaryInverseDisableOnly">@android:color/primary_text_light_disable_only</item> + <item name="textColorPrimaryNoDisable">@android:color/primary_text_dark_nodisable</item> + <item name="textColorSecondaryNoDisable">@android:color/secondary_text_dark_nodisable</item> + <item name="textColorPrimaryInverseNoDisable">@android:color/primary_text_light_nodisable</item> + <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item> + <item name="textColorHint">@android:color/hint_foreground_dark</item> + <item name="textColorHintInverse">@android:color/hint_foreground_light</item> + <item name="textColorSearchUrl">@android:color/search_url_text</item> + + <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item> + <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item> + <item name="textAppearanceSmall">@android:style/TextAppearance.Small</item> + <item name="textAppearanceLargeInverse">@android:style/TextAppearance.Large.Inverse</item> + <item name="textAppearanceMediumInverse">@android:style/TextAppearance.Medium.Inverse</item> + <item name="textAppearanceSmallInverse">@android:style/TextAppearance.Small.Inverse</item> </style> <!-- Default theme for alert dialog windows, which is used by the |