CardView slight adjustments

This commit is contained in:
topjohnwu 2016-10-18 21:24:29 +08:00
parent 0ee8f5efe3
commit 92df7747b2

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
style="?attr/cardStyle"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
style="?attr/cardStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
@ -12,8 +12,7 @@
android:layout_marginTop="@dimen/card_vertical_margin"
android:minHeight="?android:attr/listPreferredItemHeight"
card_view:cardCornerRadius="@dimen/card_corner_radius"
card_view:cardElevation="@dimen/card_elevation"
card_view:cardUseCompatPadding="true">
card_view:cardElevation="@dimen/card_elevation">
<RelativeLayout
android:layout_width="match_parent"