Minor fixes for the thumbnail background

This commit is contained in:
Jakob Nixdorf 2018-02-26 17:01:33 +01:00
parent 8a4f52a923
commit 07cd1c3859
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC
3 changed files with 8 additions and 3 deletions

View file

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/cardStyle" >
app:contentPadding="0dp"
style="?attr/cardStyle">
<LinearLayout
android:orientation="horizontal"

View file

@ -11,5 +11,7 @@
<color name="paypal_dark">#003087</color>
<color name="paypal_light">#009cde</color>
<color name="dark_thumbnail_background">#ffe0e0e0</color> <!-- material_grey_300 -->
<color name="fab_small_label_background">#212121</color>
</resources>

View file

@ -33,6 +33,7 @@
<style name="CardViewStyle" parent="CardView">
<item name="cardCornerRadius">@dimen/card_corner_radius</item>
<item name="cardUseCompatPadding">true</item>
<item name="contentPadding">@dimen/activity_margin</item>
</style>
<!-- Dark application theme. -->
@ -42,7 +43,7 @@
<item name="colorAccent">@color/colorAccent</item>
<item name="windowBackground">?android:attr/colorBackground</item>
<item name="thumbnailBackground">@android:color/white</item>
<item name="thumbnailBackground">@color/dark_thumbnail_background</item>
<item name="colorGithub">@color/github_light</item>
<item name="colorPaypal">@color/paypal_light</item>
@ -62,7 +63,7 @@
<item name="colorAccent">@color/colorAccent</item>
<item name="windowBackground">@android:color/black</item>
<item name="thumbnailBackground">@android:color/white</item>
<item name="thumbnailBackground">@color/dark_thumbnail_background</item>
<item name="colorGithub">@color/github_light</item>
<item name="colorPaypal">@color/paypal_light</item>