fix: CardView Radius

This commit is contained in:
J-Jamet
2023-06-19 19:03:31 +02:00
parent c630b9d0c0
commit 4f96a300c2
4 changed files with 14 additions and 12 deletions

View File

@@ -96,11 +96,6 @@
android:id="@+id/fragment_advanced_unlock_container_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="bottom"
android:background="?attr/colorPrimaryDark"/>
</FrameLayout>
<androidx.appcompat.widget.Toolbar
@@ -146,11 +141,19 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<View
android:layout_width="match_parent"
android:layout_height="116dp"
android:background="?attr/colorPrimary" />
<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="12dp">
<com.kunzisoft.keepass.view.MainCredentialView
android:id="@+id/activity_password_credentials"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground" />
android:layout_height="wrap_content" />
</androidx.cardview.widget.CardView>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -44,8 +44,7 @@
android:layout_marginRight="@dimen/card_view_margin_horizontal"
android:layout_marginTop="@dimen/default_margin"
android:layout_marginBottom="@dimen/card_view_margin_vertical"
android:layout_gravity="bottom"
app:cardCornerRadius="4dp">
android:layout_gravity="bottom">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -44,8 +44,7 @@
android:layout_marginRight="@dimen/card_view_margin_horizontal"
android:layout_marginTop="@dimen/default_margin"
android:layout_marginBottom="@dimen/card_view_margin_vertical"
android:layout_gravity="bottom"
app:cardCornerRadius="4dp">
android:layout_gravity="bottom">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -370,6 +370,7 @@
<item name="android:layout_marginLeft">@dimen/card_view_margin_horizontal</item>
<item name="android:layout_marginRight">@dimen/card_view_margin_horizontal</item>
<item name="android:padding">@dimen/card_view_padding</item>
<item name="cardCornerRadius">18dp</item>
</style>
<!-- CheckBox -->