Fix expand uri info view

This commit is contained in:
J-Jamet
2020-08-15 15:54:08 +02:00
parent 83225ed157
commit a3bc29ad8f
2 changed files with 13 additions and 8 deletions

View File

@@ -156,9 +156,12 @@
android:textIsSelectable="true" android:textIsSelectable="true"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="68dp" android:paddingStart="12dp"
android:padding="12dp" android:paddingEnd="12dp"
android:paddingLeft="12dp"
android:paddingRight="12dp"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@+id/file_metadata_container"
app:layout_constraintStart_toEndOf="@+id/file_modify_button" app:layout_constraintStart_toEndOf="@+id/file_modify_button"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
tools:text="/path/to/DatabaseName.kdbx" tools:text="/path/to/DatabaseName.kdbx"
@@ -167,12 +170,10 @@
android:textStyle="italic"/> android:textStyle="italic"/>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="0dp" android:id="@+id/file_metadata_container"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@+id/file_path" app:layout_constraintBottom_toBottomOf="parent">
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/file_modify_button"
app:layout_constraintEnd_toEndOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/file_precise_info_container" android:id="@+id/file_precise_info_container"
@@ -188,6 +189,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:text="3:40:14 PM" tools:text="3:40:14 PM"
android:textColor="?android:attr/textColorHintInverse" android:textColor="?android:attr/textColorHintInverse"
android:paddingStart="@dimen/default_margin"
android:paddingLeft="@dimen/default_margin"
android:paddingEnd="@dimen/default_margin"
android:paddingRight="@dimen/default_margin"
android:paddingBottom="12dp" android:paddingBottom="12dp"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -25,7 +25,7 @@
<dimen name="card_view_margin">12dp</dimen> <dimen name="card_view_margin">12dp</dimen>
<dimen name="card_view_padding">14dp</dimen> <dimen name="card_view_padding">14dp</dimen>
<dimen name="card_view_margin_bottom">10dp</dimen> <dimen name="card_view_margin_bottom">10dp</dimen>
<dimen name="item_file_info_height">120dp</dimen> <dimen name="item_file_info_height">160dp</dimen>
<dimen name="icon_size">32dp</dimen> <dimen name="icon_size">32dp</dimen>
<dimen name="lock_button_size">48dp</dimen> <dimen name="lock_button_size">48dp</dimen>
<dimen name="hidden_lock_button_size">0dp</dimen> <dimen name="hidden_lock_button_size">0dp</dimen>