cardview style
This commit is contained in:
parent
e00a7aa591
commit
38a0e77ebb
@ -4,8 +4,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="5dp"
|
android:layout_margin="5dp"
|
||||||
app:cardCornerRadius="8dp"
|
|
||||||
app:cardElevation="0dp"
|
|
||||||
style="@style/Theme.UiTemplate.CardView"
|
style="@style/Theme.UiTemplate.CardView"
|
||||||
app:cardPreventCornerOverlap="true"
|
app:cardPreventCornerOverlap="true"
|
||||||
app:cardUseCompatPadding="true">
|
app:cardUseCompatPadding="true">
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="Theme.UiTemplate.CardView" parent="Widget.MaterialComponents.CardView">
|
<style name="Theme.UiTemplate.CardView" parent="Widget.MaterialComponents.CardView">
|
||||||
|
<item name="cardBackgroundColor">@color/BackgroundGray</item>
|
||||||
<item name="cardElevation">0dp</item>
|
<item name="cardElevation">0dp</item>
|
||||||
<item name="cardCornerRadius">120dp</item>
|
<item name="cardCornerRadius">30dp</item>
|
||||||
<item name="cornerSize">10dp</item>
|
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user