remove headlineNormalBackground, default to framework theme; enable ripple effect on headlines list

This commit is contained in:
Andrew Dolgov 2015-04-07 11:58:14 +03:00
parent 70d366bcc5
commit 5f0b12d01d
6 changed files with 1 additions and 8 deletions

View File

@ -11,6 +11,7 @@
<ListView
android:id="@+id/headlines_list"
android:drawSelectorOnTop="true"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ListView>

View File

@ -5,7 +5,6 @@
android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?headlineNormalBackground"
tools:ignore="HardcodedText" >
<TableLayout

View File

@ -7,7 +7,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="?headlineNormalBackground"
tools:ignore="HardcodedText" >
<FrameLayout

View File

@ -3,7 +3,6 @@
android:id="@+id/headlines_row_loadmore"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?headlineNormalBackground"
android:gravity="center"
android:padding="16dp"
android:orientation="horizontal" >

View File

@ -7,7 +7,6 @@
<attr name="articleBackground" format="reference|color" />
<attr name="headlineSelectedBackground" format="reference|color" />
<attr name="headlineUnreadBackground" format="reference|color" />
<attr name="headlineNormalBackground" format="reference|color" />
<attr name="feedsSelectedBackground" format="reference|color" />
<attr name="feedlistTextColor" format="reference|color" />
<attr name="feedlistSelectedTextColor" format="reference|color" />

View File

@ -9,7 +9,6 @@
<item name="articleBackground">@android:color/white</item>
<item name="headlineSelectedBackground">?feedsSelectedBackground</item>
<item name="headlineUnreadBackground">@android:color/white</item>
<item name="headlineNormalBackground">#f5f5f5</item>
<item name="feedsSelectedBackground">#cccccc</item>
<item name="feedlistTextColor">@android:color/primary_text_light</item>
<item name="feedlistSelectedTextColor">?feedlistTextColor</item>
@ -53,8 +52,6 @@
<item name="articleNoteTextColor">?linkColor</item>
<item name="articleNoteBackground">#543800</item>
<item name="headlineNormalBackground">@android:color/black</item>
<item name="feedlistBackground">?colorPrimaryDark</item>
<item name="headlinesBackground">@android:color/black</item>
<item name="articleBackground">@android:color/black</item>
@ -86,7 +83,6 @@
<style name="DarkTheme" parent="Theme.AppCompat">
<item name="statusBarHintColor">?colorPrimary</item>
<item name="unreadCounterColor">#909090</item>
<item name="headlineNormalBackground">#151515</item>
<item name="feedlistTextColor">@android:color/primary_text_dark</item>
<item name="headlineUnreadTextColor">@android:color/primary_text_dark</item>
<item name="headlineSelectedTextColor">@android:color/white</item>