summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-10-25 12:10:58 +0400
committerAndrew Dolgov <[email protected]>2014-10-25 12:10:58 +0400
commitde998a1e927f93344bee8f881b8876f27f629eca (patch)
tree9afd9f225d3bedd7274ac48afbfeb97aad762257 /org.fox.ttrss/src/main/res/layout
parent2e6ef16b20488157e4af80a87742d2c6a1c3f526 (diff)
use cardview for article fragment
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r--org.fox.ttrss/src/main/res/layout/article_fragment.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/article_fragment.xml b/org.fox.ttrss/src/main/res/layout/article_fragment.xml
index 56d42d89..14c84804 100644
--- a/org.fox.ttrss/src/main/res/layout/article_fragment.xml
+++ b/org.fox.ttrss/src/main/res/layout/article_fragment.xml
@@ -1,8 +1,13 @@
-<RelativeLayout 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/article_fragment"
android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:background="?articleBackground">
+ android:layout_height="wrap_content"
+ card_view:cardElevation="2dp"
+ card_view:cardBackgroundColor="?articleBackground"
+ tools:ignore="HardcodedText" >
<org.fox.ttrss.util.NoChildFocusScrollView
android:id="@+id/article_scrollview"
@@ -100,4 +105,4 @@
</org.fox.ttrss.util.NoChildFocusScrollView>
-</RelativeLayout> \ No newline at end of file
+</android.support.v7.widget.CardView> \ No newline at end of file