mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix cardview margin
This commit is contained in:
@@ -27,7 +27,10 @@
|
|||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="@dimen/default_margin">
|
android:layout_marginTop="@dimen/default_margin"
|
||||||
|
android:layout_marginBottom="@dimen/default_margin"
|
||||||
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
|
android:layout_marginEnd="@dimen/card_view_margin">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -182,10 +185,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:layout_marginStart="@dimen/default_margin"
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginEnd="@dimen/card_view_margin"
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
|
||||||
android:layout_marginRight="@dimen/default_margin"
|
|
||||||
android:layout_marginBottom="@dimen/default_margin">
|
android:layout_marginBottom="@dimen/default_margin">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/extra_strings"
|
android:id="@+id/extra_strings"
|
||||||
@@ -200,10 +201,8 @@
|
|||||||
android:id="@+id/entry_attachments_container"
|
android:id="@+id/entry_attachments_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/default_margin"
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginEnd="@dimen/card_view_margin"
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
|
||||||
android:layout_marginRight="@dimen/default_margin"
|
|
||||||
android:layout_marginBottom="@dimen/default_margin">
|
android:layout_marginBottom="@dimen/default_margin">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -230,11 +229,9 @@
|
|||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/default_margin"
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginEnd="@dimen/card_view_margin"
|
||||||
android:layout_marginBottom="@dimen/default_margin"
|
android:layout_marginBottom="@dimen/default_margin">
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
|
||||||
android:layout_marginRight="@dimen/default_margin">
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -313,10 +310,8 @@
|
|||||||
android:id="@+id/entry_history_container"
|
android:id="@+id/entry_history_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/default_margin"
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginEnd="@dimen/card_view_margin"
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
|
||||||
android:layout_marginRight="@dimen/default_margin"
|
|
||||||
android:layout_marginBottom="@dimen/default_margin">
|
android:layout_marginBottom="@dimen/default_margin">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -401,10 +396,8 @@
|
|||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/default_margin"
|
android:layout_marginStart="@dimen/card_view_margin"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginEnd="@dimen/card_view_margin"
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
|
||||||
android:layout_marginRight="@dimen/default_margin"
|
|
||||||
android:layout_marginBottom="@dimen/default_margin">
|
android:layout_marginBottom="@dimen/default_margin">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
@@ -29,7 +29,10 @@
|
|||||||
android:id="@+id/entry_edit_container"
|
android:id="@+id/entry_edit_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="@dimen/default_margin"
|
android:layout_marginTop="@dimen/default_margin"
|
||||||
|
android:layout_marginBottom="@dimen/default_margin"
|
||||||
|
android:layout_marginStart="0dp"
|
||||||
|
android:layout_marginEnd="0dp"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@@ -143,7 +146,7 @@
|
|||||||
android:hint="@string/entry_url"/>
|
android:hint="@string/entry_url"/>
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
<!-- Comment -->
|
<!-- Notes -->
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|||||||
@@ -23,10 +23,10 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="@dimen/default_margin"
|
android:layout_marginTop="0dp"
|
||||||
android:layout_marginLeft="@dimen/default_margin"
|
android:layout_marginBottom="@dimen/default_margin"
|
||||||
android:layout_marginRight="@dimen/default_margin"
|
android:layout_marginStart="0dp"
|
||||||
android:layout_marginBottom="@dimen/default_margin">
|
android:layout_marginEnd="0dp">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
<dimen name="image_button_margin">8dp</dimen>
|
<dimen name="image_button_margin">8dp</dimen>
|
||||||
<dimen name="image_list_margin">12dp</dimen>
|
<dimen name="image_list_margin">12dp</dimen>
|
||||||
<dimen name="button_margin">6dp</dimen>
|
<dimen name="button_margin">6dp</dimen>
|
||||||
|
<dimen name="card_view_margin">12dp</dimen>
|
||||||
|
|
||||||
<dimen name="icon_size">32dp</dimen>
|
<dimen name="icon_size">32dp</dimen>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user