mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Allow to delete tags
This commit is contained in:
@@ -23,6 +23,7 @@ class TagsCompletionView @JvmOverloads constructor(
|
||||
init {
|
||||
allowCollapse(false)
|
||||
setTokenizer(CharacterTokenizer(Tags.DELIMITERS, Tags.DELIMITER.toString()))
|
||||
setTokenClickStyle(TokenClickStyle.Delete)
|
||||
}
|
||||
|
||||
override fun defaultObject(completionText: String): String {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
android:bottom="4dp"/>
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="?attr/colorAccent" />
|
||||
android:color="?android:attr/textColor" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -37,12 +37,12 @@
|
||||
android:drawablePadding="2dp"
|
||||
tools:text="text"
|
||||
android:textSize="12sp"
|
||||
android:textColor="?attr/colorAccent"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingEnd="4dp"
|
||||
android:paddingRight="4dp" />
|
||||
<ImageView
|
||||
android:id="@+id/tag_remove"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:padding="4dp"
|
||||
|
||||
Reference in New Issue
Block a user