fix Pin undo/delete button glyph scaling issue #9
Auto Tag on Version Change / check-version (push) Failing after 11m42s

This commit is contained in:
2026-06-03 15:31:19 +05:00
parent b4f66342af
commit 74ec9c383c
4 changed files with 43 additions and 4 deletions
@@ -124,8 +124,17 @@ class LockActivity : AppCompatActivity() {
else
com.google.android.material.R.attr.materialButtonOutlinedStyle
val btn = MaterialButton(this, null, style).apply {
text = key
textSize = 24f
if (key == "" || key == "") {
text = ""
icon = ContextCompat.getDrawable(this@LockActivity,
if (key == "") R.drawable.ic_backspace else R.drawable.ic_check)
iconGravity = MaterialButton.ICON_GRAVITY_TEXT_START
iconPadding = 0
iconSize = (28 * dp).toInt()
} else {
text = key
textSize = 24f
}
insetTop = 0; insetBottom = 0
minimumWidth = 0; minimumHeight = 0
cornerRadius = btnSize / 2