Small card fixes (#338)

This commit is contained in:
Bram van de Kerkhof 2016-06-07 20:36:40 +02:00
parent 172305fc6a
commit 86db7497e9
3 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/cv_manga" android:id="@+id/cv_manga"
style="@style/Theme.Widget.CardView" style="@style/Theme.Widget.CardView"
android:layout_marginBottom="0dp"
> >
<LinearLayout <LinearLayout

View File

@ -145,7 +145,10 @@
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:background">?attr/background_card</item> <item name="android:background">?attr/background_card</item>
<item name="android:layout_margin">@dimen/card_margin</item> <item name="android:layout_marginLeft">@dimen/card_margin</item>
<item name="android:layout_marginRight">@dimen/card_margin</item>
<item name="android:layout_marginTop">@dimen/card_margin</item>
<item name="android:layout_marginBottom">@dimen/card_margin</item>
</style> </style>
<style name="Theme.Widget.GridView"> <style name="Theme.Widget.GridView">

View File

@ -33,7 +33,7 @@
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item> <item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
<item name="divider_drawable">@drawable/line_divider_light</item> <item name="divider_drawable">@drawable/line_divider_light</item>
<item name="text_color_primary">@color/textColorPrimaryLight</item> <item name="text_color_primary">@color/textColorPrimaryLight</item>
<item name="background_card">@color/backgroundLight</item> <item name="background_card">@color/dialogLight</item>
</style> </style>
<style name="Theme.Tachiyomi" parent="Theme.Base"> <style name="Theme.Tachiyomi" parent="Theme.Base">
@ -69,7 +69,7 @@
<item name="selectable_library_drawable">@drawable/library_item_selector_dark</item> <item name="selectable_library_drawable">@drawable/library_item_selector_dark</item>
<item name="divider_drawable">@drawable/line_divider_dark</item> <item name="divider_drawable">@drawable/line_divider_dark</item>
<item name="text_color_primary">@color/textColorPrimaryDark</item> <item name="text_color_primary">@color/textColorPrimaryDark</item>
<item name="background_card">@color/backgroundDark</item> <item name="background_card">@color/dialogDark</item>
</style> </style>
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark"> <style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">