summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-15 14:13:21 +0400
committerAndrew Dolgov <[email protected]>2013-05-15 14:13:21 +0400
commit1bc939e60b361bd85915511b0b3c27bb4ae12238 (patch)
treeb275039518f15eac5c49d5cc0a411b1d8519ef71
parent148e67b20065e7e58dcb75e646752d41d267b606 (diff)
fix several style-related issues on tablet ui
-rw-r--r--res/drawable/headline_row_unread_light.xml7
-rw-r--r--res/drawable/headline_row_unread_sepia.xml7
-rw-r--r--res/layout/headlines_row_selected_unread.xml1
-rw-r--r--res/layout/headlines_row_unread.xml1
-rw-r--r--res/values-v11/style.xml4
-rw-r--r--res/values/resources.xml2
6 files changed, 19 insertions, 3 deletions
diff --git a/res/drawable/headline_row_unread_light.xml b/res/drawable/headline_row_unread_light.xml
new file mode 100644
index 00000000..d64bd7be
--- /dev/null
+++ b/res/drawable/headline_row_unread_light.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@color/headline_row_unread_light"/>
+ <item android:drawable="@drawable/shadow"/>
+
+</layer-list> \ No newline at end of file
diff --git a/res/drawable/headline_row_unread_sepia.xml b/res/drawable/headline_row_unread_sepia.xml
new file mode 100644
index 00000000..a19a9559
--- /dev/null
+++ b/res/drawable/headline_row_unread_sepia.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@color/headline_row_unread_sepia"/>
+ <item android:drawable="@drawable/shadow"/>
+
+</layer-list> \ No newline at end of file
diff --git a/res/layout/headlines_row_selected_unread.xml b/res/layout/headlines_row_selected_unread.xml
index a91d5407..9051cfc9 100644
--- a/res/layout/headlines_row_selected_unread.xml
+++ b/res/layout/headlines_row_selected_unread.xml
@@ -11,6 +11,7 @@
android:id="@+id/linearLayout6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:gravity="center_vertical"
android:orientation="horizontal" >
<CheckBox
diff --git a/res/layout/headlines_row_unread.xml b/res/layout/headlines_row_unread.xml
index df794891..b43b7f22 100644
--- a/res/layout/headlines_row_unread.xml
+++ b/res/layout/headlines_row_unread.xml
@@ -66,7 +66,6 @@
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:gravity="right|center_vertical"
- android:paddingRight="12dp"
android:text="Jan 01"
android:textColor="?headlineSecondaryTextColor"
android:textSize="13sp"
diff --git a/res/values-v11/style.xml b/res/values-v11/style.xml
index d6797e5e..6fbb05e3 100644
--- a/res/values-v11/style.xml
+++ b/res/values-v11/style.xml
@@ -9,7 +9,7 @@
<item name="articleBackground">@android:color/transparent</item>
<item name="headlineSelectedBackground">@drawable/headline_row_selected_light</item>
<item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_light</item>
- <item name="headlineUnreadBackground">#f0f0f0</item>
+ <item name="headlineUnreadBackground">@drawable/headline_row_unread_light</item>
<item name="headlineNormalBackground">@android:color/transparent</item>
<item name="feedsSelectedBackground">@drawable/headline_row_selected_light</item>
<item name="feedsSelectedBackgroundSolid">@color/headline_row_selected_light</item>
@@ -32,7 +32,7 @@
<item name="feedlistBackground">@drawable/shadow_feeds_sepia</item>
<item name="headlinesBackground">@drawable/shadow_headlines_sepia</item>
<item name="headlinesBackgroundSolid">@drawable/paper_sepia</item>
- <item name="headlineUnreadBackground">#F2EAE8</item>
+ <item name="headlineUnreadBackground">@drawable/headline_row_unread_sepia</item> <!-- #F2EAE8 -->
<item name="headlineSelectedBackground">@drawable/headline_row_selected_sepia</item>
<item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
<item name="feedsSelectedBackground">@drawable/headline_row_selected_sepia</item>
diff --git a/res/values/resources.xml b/res/values/resources.xml
index a87b671b..a3fe5a2f 100644
--- a/res/values/resources.xml
+++ b/res/values/resources.xml
@@ -11,4 +11,6 @@
<color name="feeds_dark_gray">#1c1d1e</color>
<color name="headline_row_selected_gray">#22667f</color>
<color name="headline_row_unread_gray">#383c42</color>
+ <color name="headline_row_unread_light">#f0f0f0</color>
+ <color name="headline_row_unread_sepia">#F2EAE8</color>
</resources> \ No newline at end of file