mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Entry path style
This commit is contained in:
@@ -66,9 +66,7 @@
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/node_path"
|
||||
app:layout_constraintEnd_toStartOf="@+id/node_options"
|
||||
app:layout_constraintLeft_toRightOf="@+id/node_icon"
|
||||
app:layout_constraintRight_toLeftOf="@+id/node_options"
|
||||
@@ -102,15 +100,6 @@
|
||||
android:lines="1"
|
||||
android:singleLine="true"
|
||||
tools:text="7543A7EAB2EA7CFD1394F1615EBEB08C" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/node_path"
|
||||
style="@style/KeepassDXStyle.Meta.Entry"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="2"
|
||||
android:visibility="gone"
|
||||
tools:text="Database / Group A / Group B" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -123,7 +112,7 @@
|
||||
android:layout_marginRight="12dp"
|
||||
android:gravity="end"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/node_path"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
@@ -173,5 +162,21 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/node_path"
|
||||
style="@style/KeepassDXStyle.Meta.Entry.Important"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:maxLines="2"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="@+id/node_container_info"
|
||||
app:layout_constraintTop_toBottomOf="@+id/node_container_info"
|
||||
tools:text="Database / Group A / Group B" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -430,6 +430,9 @@
|
||||
<item name="android:tint">@color/text_primary_color</item>
|
||||
<item name="android:textSize">11sp</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Meta.Entry.Important" parent="KeepassDXStyle.Meta.Entry">
|
||||
<item name="android:textStyle">italic|bold</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Info.Entry" parent="KeepassDXStyle.Text">
|
||||
<item name="android:textColor">@color/text_secondary_color</item>
|
||||
<item name="android:tint">@color/text_secondary_color</item>
|
||||
|
||||
Reference in New Issue
Block a user