use cardview for article fragment
This commit is contained in:
parent
2e6ef16b20
commit
de998a1e92
@ -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:id="@+id/article_fragment"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:background="?articleBackground">
|
card_view:cardElevation="2dp"
|
||||||
|
card_view:cardBackgroundColor="?articleBackground"
|
||||||
|
tools:ignore="HardcodedText" >
|
||||||
|
|
||||||
<org.fox.ttrss.util.NoChildFocusScrollView
|
<org.fox.ttrss.util.NoChildFocusScrollView
|
||||||
android:id="@+id/article_scrollview"
|
android:id="@+id/article_scrollview"
|
||||||
@ -100,4 +105,4 @@
|
|||||||
</org.fox.ttrss.util.NoChildFocusScrollView>
|
</org.fox.ttrss.util.NoChildFocusScrollView>
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</android.support.v7.widget.CardView>
|
@ -8,7 +8,7 @@
|
|||||||
<item name="unreadCounterColor">#ffffff</item>
|
<item name="unreadCounterColor">#ffffff</item>
|
||||||
<item name="headlinesBackground"><!-- #f0f0f0 -->@drawable/shadow_headlines</item>
|
<item name="headlinesBackground"><!-- #f0f0f0 -->@drawable/shadow_headlines</item>
|
||||||
<item name="headlinesBackgroundSolid">#f0f0f0</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="headlineSelectedBackground">#88b0f0</item>
|
||||||
<item name="headlineUnreadBackground">@android:color/white</item>
|
<item name="headlineUnreadBackground">@android:color/white</item>
|
||||||
<item name="headlineNormalBackground">#f5f5f5</item>
|
<item name="headlineNormalBackground">#f5f5f5</item>
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<item name="headlinesBackgroundSolid">@drawable/paper_sepia</item>
|
<item name="headlinesBackgroundSolid">@drawable/paper_sepia</item>
|
||||||
<item name="headlineSelectedBackground">#E5B0A0</item>
|
<item name="headlineSelectedBackground">#E5B0A0</item>
|
||||||
<item name="feedsSelectedBackground">#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="unreadCounterBackground">@drawable/counter_background_sepia</item>
|
||||||
<item name="unreadSelectedCounterBackground">@drawable/counter_background_sepia</item>
|
<item name="unreadSelectedCounterBackground">@drawable/counter_background_sepia</item>
|
||||||
<item name="feedlistTextColor">#35281C</item>
|
<item name="feedlistTextColor">#35281C</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user