diff --git a/app/src/main/res/layout/item_file_info.xml b/app/src/main/res/layout/item_file_info.xml index 342d55a67..1cf81fbea 100644 --- a/app/src/main/res/layout/item_file_info.xml +++ b/app/src/main/res/layout/item_file_info.xml @@ -36,12 +36,13 @@ + android:layout_height="wrap_content" + android:minHeight="48dp"> @@ -49,16 +50,14 @@ android:id="@+id/file_alias" android:layout_width="0dp" android:layout_height="wrap_content" - android:minHeight="48dp" android:layout_centerVertical="true" android:gravity="center_vertical" android:layout_marginStart="@dimen/default_margin" - app:layout_goneMarginLeft="@dimen/default_margin" + android:layout_marginLeft="@dimen/default_margin" android:layout_marginEnd="@dimen/default_margin" android:layout_marginRight="@dimen/default_margin" - android:layout_marginTop="4dp" - android:layout_marginBottom="4dp" app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/default_file_button" android:textColor="?attr/textColorInverse" @@ -67,21 +66,21 @@ android:id="@+id/default_file_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="4dp" - android:layout_marginBottom="4dp" app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/file_information_button" android:button="@drawable/checkbox_star" android:buttonTint="?android:attr/textColorHintInverse" + app:buttonTint="?android:attr/textColorHintInverse" + android:gravity="center" android:contentDescription="@string/default_checkbox" /> @@ -103,30 +102,29 @@ android:layout_centerVertical="true" android:maxLines="2" android:gravity="center_vertical" - android:layout_marginTop="4dp" - android:layout_marginBottom="4dp" android:layout_marginStart="24dp" android:layout_marginEnd="24dp" android:layout_marginLeft="24dp" android:layout_marginRight="24dp" app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@+id/file_alias_save" android:textColor="?attr/textColorInverse" tools:text="DatabaseAlias" /> - + android:contentDescription="@string/content_description_file_information" + style="@style/KeepassDXStyle.ImageButton.Simple.Secondary"/>