Дизайн cardview и дизайн страницы с recyclerview
This commit is contained in:
parent
5f9cade3c0
commit
58f91fcf00
@ -4,10 +4,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardElevation="8dp"
|
||||
app:cardMaxElevation="10dp"
|
||||
app:cardElevation="0dp"
|
||||
style="@style/Theme.UiTemplate.CardView"
|
||||
app:cardPreventCornerOverlap="true"
|
||||
app:cardUseCompatPadding="true">
|
||||
<RelativeLayout
|
||||
|
@ -13,6 +13,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
style="@style/Theme.UiTemplate.FAB.AccentColor"
|
||||
android:src="@drawable/ic_close"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
@ -21,7 +22,8 @@
|
||||
android:id="@+id/textView5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
android:text="Entry History"
|
||||
style="@style/Theme.UiTemplate.TextH2"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/floatingActionButton2"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/floatingActionButton2"
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.UiTemplate.CardView" parent="Widget.MaterialComponents.CardView">
|
||||
<item name="cardBackgroundColor">@color/BackgroundGray</item>
|
||||
<item name="cardElevation">0dp</item>
|
||||
<item name="cardCornerRadius">120dp</item>
|
||||
<item name="cornerSize">10dp</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user