diff options
author | Andrew Dolgov <[email protected]> | 2014-10-24 13:43:16 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-24 13:43:16 +0400 |
commit | c0ef67b46846e5fb38634993d91e8b1a356d736f (patch) | |
tree | 30d4263dbee847f2a4edce2a7192d940a4c8b6a4 /org.fox.ttrss/src/main/res/layout | |
parent | 7783ff3b42551dd54d2e12667a48cc633b4acc20 (diff) |
switch to cardview, remove obsolete drawables
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
5 files changed, 30 insertions, 30 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 16e25520..df44f739 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_fragment.xml @@ -13,8 +13,6 @@ android:id="@+id/headlines" android:scrollbars="vertical" android:layout_width="match_parent" - android:dividerHeight="0dp" - android:divider="@null" android:paddingTop="3dp" android:layout_height="match_parent" > </android.support.v7.widget.RecyclerView> 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 975485a3..28880f9d 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<android.support.v7.widget.CardView + xmlns:card_view="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingBottom="3dp" - android:paddingLeft="6dp" - android:paddingRight="6dp" - android:paddingTop="3dp" + card_view:cardElevation="2dp" + card_view:cardBackgroundColor="?headlineNormalBackground" tools:ignore="HardcodedText" > <LinearLayout android:id="@+id/inner_row" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?headlineNormalBackground" android:orientation="vertical" android:paddingBottom="2dp" android:paddingLeft="6dp" @@ -158,4 +157,4 @@ </LinearLayout> </LinearLayout> -</FrameLayout>
\ No newline at end of file +</android.support.v7.widget.CardView>
\ No newline at end of file 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 5371dce3..5fa4e279 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 @@ -1,18 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<android.support.v7.widget.CardView + xmlns:card_view="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingBottom="3dp" - android:paddingLeft="6dp" - android:paddingRight="6dp" - android:paddingTop="3dp" > + card_view:cardElevation="2dp" + card_view:cardBackgroundColor="?headlineSelectedBackground" + tools:ignore="HardcodedText" > <LinearLayout android:id="@+id/inner_row" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?headlineSelectedBackground" android:orientation="vertical" android:paddingBottom="2dp" android:paddingLeft="6dp" @@ -156,4 +157,4 @@ </LinearLayout> </LinearLayout> -</FrameLayout>
\ No newline at end of file +</android.support.v7.widget.CardView>
\ No newline at end of file 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 8d03620b..51aaa263 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 @@ -1,18 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<android.support.v7.widget.CardView + xmlns:card_view="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingBottom="3dp" - android:paddingLeft="6dp" - android:paddingRight="6dp" - android:paddingTop="3dp" > + card_view:cardElevation="2dp" + card_view:cardBackgroundColor="?headlineSelectedBackground" + tools:ignore="HardcodedText" > <LinearLayout android:id="@+id/inner_row" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?headlineSelectedBackground" android:orientation="vertical" android:paddingBottom="2dp" android:paddingLeft="6dp" @@ -157,4 +158,4 @@ </LinearLayout> </LinearLayout> -</FrameLayout> +</android.support.v7.widget.CardView> 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 b5e9d3f6..1fdd4f8a 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 @@ -1,18 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<android.support.v7.widget.CardView + xmlns:card_view="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingBottom="3dp" - android:paddingLeft="6dp" - android:paddingRight="6dp" - android:paddingTop="3dp" > + card_view:cardElevation="2dp" + card_view:cardBackgroundColor="?headlineUnreadBackground" + tools:ignore="HardcodedText" > <LinearLayout android:id="@+id/inner_row" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?headlineUnreadBackground" android:orientation="vertical" android:paddingBottom="2dp" android:paddingLeft="6dp" @@ -157,4 +158,4 @@ </LinearLayout> </LinearLayout> -</FrameLayout>
\ No newline at end of file +</android.support.v7.widget.CardView>
\ No newline at end of file |