From 8a9f504138025ec99c527480c892ef7d9e55cd69 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 20 Mar 2014 12:56:44 +0100 Subject: [PATCH] Fixed contrast of text in notifications for Android 2.x and 3.x --- res/layout-v11/notification_with_progress_bar.xml | 7 ++----- res/layout/notification_with_progress_bar.xml | 9 +++------ res/values-v11/versioned_styles.xml | 13 +++++++++++++ res/values-v9/versioned_styles.xml | 12 ++++++++++++ res/values/versioned_styles.xml | 12 ++++++++++++ 5 files changed, 42 insertions(+), 11 deletions(-) create mode 100644 res/values-v9/versioned_styles.xml diff --git a/res/layout-v11/notification_with_progress_bar.xml b/res/layout-v11/notification_with_progress_bar.xml index 5f8d1782..f4d4fab3 100644 --- a/res/layout-v11/notification_with_progress_bar.xml +++ b/res/layout-v11/notification_with_progress_bar.xml @@ -39,9 +39,7 @@ android:singleLine="true" android:ellipsize="marquee" android:fadingEdge="horizontal" - android:textColor="?android:attr/textColorPrimary" - android:textSize="18sp" - android:textStyle="bold" + style="@style/Theme.ownCloud.NotificationText.Title" /> @color/button_text_color + + + + + + diff --git a/res/values-v9/versioned_styles.xml b/res/values-v9/versioned_styles.xml new file mode 100644 index 00000000..57bb396f --- /dev/null +++ b/res/values-v9/versioned_styles.xml @@ -0,0 +1,12 @@ + + + + + + + + -- 2.11.0