fix several style-related issues on tablet ui

This commit is contained in:
Andrew Dolgov 2013-05-15 14:13:21 +04:00
parent 148e67b200
commit 1bc939e60b
6 changed files with 19 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -11,6 +11,7 @@
android:id="@+id/linearLayout6" android:id="@+id/linearLayout6"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="horizontal" >
<CheckBox <CheckBox

View File

@ -66,7 +66,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.5" android:layout_weight="0.5"
android:gravity="right|center_vertical" android:gravity="right|center_vertical"
android:paddingRight="12dp"
android:text="Jan 01" android:text="Jan 01"
android:textColor="?headlineSecondaryTextColor" android:textColor="?headlineSecondaryTextColor"
android:textSize="13sp" android:textSize="13sp"

View File

@ -9,7 +9,7 @@
<item name="articleBackground">@android:color/transparent</item> <item name="articleBackground">@android:color/transparent</item>
<item name="headlineSelectedBackground">@drawable/headline_row_selected_light</item> <item name="headlineSelectedBackground">@drawable/headline_row_selected_light</item>
<item name="headlineSelectedBackgroundSolid">@color/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="headlineNormalBackground">@android:color/transparent</item>
<item name="feedsSelectedBackground">@drawable/headline_row_selected_light</item> <item name="feedsSelectedBackground">@drawable/headline_row_selected_light</item>
<item name="feedsSelectedBackgroundSolid">@color/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="feedlistBackground">@drawable/shadow_feeds_sepia</item>
<item name="headlinesBackground">@drawable/shadow_headlines_sepia</item> <item name="headlinesBackground">@drawable/shadow_headlines_sepia</item>
<item name="headlinesBackgroundSolid">@drawable/paper_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="headlineSelectedBackground">@drawable/headline_row_selected_sepia</item>
<item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_sepia</item> <item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
<item name="feedsSelectedBackground">@drawable/headline_row_selected_sepia</item> <item name="feedsSelectedBackground">@drawable/headline_row_selected_sepia</item>

View File

@ -11,4 +11,6 @@
<color name="feeds_dark_gray">#1c1d1e</color> <color name="feeds_dark_gray">#1c1d1e</color>
<color name="headline_row_selected_gray">#22667f</color> <color name="headline_row_selected_gray">#22667f</color>
<color name="headline_row_unread_gray">#383c42</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> </resources>