use cardview for article fragment

This commit is contained in:
Andrew Dolgov 2014-10-25 12:10:58 +04:00
parent 2e6ef16b20
commit de998a1e92
2 changed files with 11 additions and 6 deletions

View File

@ -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>
</android.support.v7.widget.CardView>

View File

@ -8,7 +8,7 @@
<item name="unreadCounterColor">#ffffff</item>
<item name="headlinesBackground"><!-- #f0f0f0 -->@drawable/shadow_headlines</item>
<item name="headlinesBackgroundSolid">#f0f0f0</item>
<item name="articleBackground">@android:color/transparent</item>
<item name="articleBackground">@android:color/white</item>
<item name="headlineSelectedBackground">#88b0f0</item>
<item name="headlineUnreadBackground">@android:color/white</item>
<item name="headlineNormalBackground">#f5f5f5</item>
@ -43,7 +43,7 @@
<item name="headlinesBackgroundSolid">@drawable/paper_sepia</item>
<item name="headlineSelectedBackground">#E5B0A0</item>
<item name="feedsSelectedBackground">#E5B0A0</item>
<item name="articleBackground">@drawable/paper_sepia</item>
<item name="articleBackground">@android:color/white</item>
<item name="unreadCounterBackground">@drawable/counter_background_sepia</item>
<item name="unreadSelectedCounterBackground">@drawable/counter_background_sepia</item>
<item name="feedlistTextColor">#35281C</item>