Edit text as outline box

This commit is contained in:
J-Jamet committed 2021-08-22 14:30:06 +02:00
1 parent 5e15f82313
commit 3b0dd4a36c
4 files changed
+59 -12

No files matched your search

@@ -33,7 +33,10 @@ class TextEditFieldView @JvmOverloads constructor(context: Context,
LayoutParams.MATCH_PARENT,
LayoutParams.WRAP_CONTENT)
}
private val valueView = TextInputEditText(context).apply {
private val valueView = TextInputEditText(
ContextThemeWrapper(getContext(),
R.style.KeepassDXStyle_TextInputLayout)
).apply {
layoutParams = LinearLayout.LayoutParams(
LayoutParams.MATCH_PARENT,
LayoutParams.WRAP_CONTENT)