diff options
author | Andrew Dolgov <[email protected]> | 2014-11-13 16:18:07 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-11-13 16:18:07 +0300 |
commit | 25622e276128efb21ade7d436eeb591f65556b8a (patch) | |
tree | a03f432b67ff1b8783b4222b6403ba670962976a /org.fox.ttrss/src/main/res | |
parent | 876b31b41017edbf9762b0956a3d34fb71ca6e30 (diff) |
properly fix missing cardview padding on 5.0, duh
Diffstat (limited to 'org.fox.ttrss/src/main/res')
5 files changed, 9 insertions, 5 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml b/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml index 575707bb..181b1d0c 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml @@ -10,12 +10,12 @@ android:layout_height="match_parent" > <ListView - android:padding="8dp" + android:padding="4dp" android:id="@+id/headlines_list" android:layout_width="match_parent" android:layoutAnimation="@anim/layout_headline" - android:dividerHeight="8dp" - android:divider="@android:color/transparent" + android:dividerHeight="0dp" + android:divider="@null" android:layout_height="match_parent" > </ListView> </android.support.v4.widget.SwipeRefreshLayout> diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index 408a2251..681c024c 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -7,6 +7,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" card_view:cardElevation="2dp" + card_view:cardUseCompatPadding="true" card_view:cardBackgroundColor="?headlineNormalBackground" tools:ignore="HardcodedText" > diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml index 36224ba0..6a66b3ad 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml @@ -7,6 +7,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" card_view:cardElevation="2dp" + card_view:cardUseCompatPadding="true" card_view:cardBackgroundColor="?headlineSelectedBackground" tools:ignore="HardcodedText" > diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml index ad144313..a07de550 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml @@ -6,7 +6,8 @@ android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - card_view:cardElevation="2dp" + card_view:cardElevation="4dp" + card_view:cardUseCompatPadding="true" card_view:cardBackgroundColor="?headlineSelectedBackground" tools:ignore="HardcodedText" > diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml index 5931b26c..4e5b9ab1 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -6,7 +6,8 @@ android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - card_view:cardElevation="2dp" + card_view:cardElevation="4dp" + card_view:cardUseCompatPadding="true" card_view:cardBackgroundColor="?headlineUnreadBackground" tools:ignore="HardcodedText" > |