set all cards to same elevation

fix headline footer being invisible in amber theme
This commit is contained in:
Andrew Dolgov 2014-11-13 16:33:16 +03:00
parent 25622e2761
commit b6e132c65f
5 changed files with 9 additions and 4 deletions

View File

@ -10,6 +10,6 @@
android:layout_marginTop="10dp"
android:layout_width="128dp"
android:layout_height="1dp"
android:background="?feedsSelectedBackground"/>
android:background="?headlineFooterColor"/>
</FrameLayout>

View File

@ -6,7 +6,7 @@
android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
card_view:cardElevation="2dp"
card_view:cardElevation="4dp"
card_view:cardUseCompatPadding="true"
card_view:cardBackgroundColor="?headlineNormalBackground"
tools:ignore="HardcodedText" >

View File

@ -6,7 +6,7 @@
android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
card_view:cardElevation="2dp"
card_view:cardElevation="4dp"
card_view:cardUseCompatPadding="true"
card_view:cardBackgroundColor="?headlineSelectedBackground"
tools:ignore="HardcodedText" >

View File

@ -11,7 +11,7 @@
<attr name="feedsSelectedBackground" format="reference|color" />
<attr name="feedlistTextColor" format="reference|color" />
<attr name="feedlistSelectedTextColor" format="reference|color" />
<attr name="headlineTextColor" format="reference|color" />
<!-- <attr name="headlineTextColor" format="reference|color" /> -->
<attr name="headlineUnreadTextColor" format="reference|color" />
<attr name="headlineSelectedTextColor" format="reference|color" />
<attr name="headlineExcerptTextColor" format="reference|color" />
@ -28,4 +28,5 @@
<attr name="articleHeader" format="reference|color" />
<attr name="articleHeaderTextColor" format="reference|color" />
<attr name="articleTextColor" format="reference|color" />
<attr name="headlineFooterColor" format="reference|color" />
</resources>

View File

@ -29,6 +29,7 @@
<item name="articleHeaderTextColor">@android:color/white</item>
<item name="articleTextColor">@android:color/black</item>
<item name="floatingActionButtonStyle">@style/FabTheme</item>
<item name="headlineFooterColor">?colorPrimary</item>
<item name="colorPrimary">#6482af</item>
<item name="colorPrimaryDark">#526A8E</item>
@ -73,6 +74,8 @@
<item name="headlineUnreadBackground">@android:color/black</item>
<item name="headlineSelectedBackground">#635200</item>
<item name="headlineFooterColor">?colorAccent</item>
<item name="colorPrimary">@android:color/black</item>
<item name="colorPrimaryDark">@android:color/black</item>
<item name="colorAccent">#EACF4C</item>
@ -107,6 +110,7 @@
<item name="articleHeaderTextColor">@android:color/white</item>
<item name="floatingActionButtonStyle">@style/FabTheme</item>
<item name="articleTextColor">#e0e0e0</item>
<item name="headlineFooterColor">?colorPrimary</item>
<item name="colorPrimary">#51698E</item>
<item name="colorPrimaryDark">#445877</item>