Fix PatternView too big on small screens in PatternSecurityLockDialog.
This commit is contained in:
parent
4ad841d525
commit
202466a71f
2 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,7 @@ object Constants {
|
||||||
|
|
||||||
/** Minimum time that the security lock options will be disabled when the user has incorrectly tried to enter
|
/** Minimum time that the security lock options will be disabled when the user has incorrectly tried to enter
|
||||||
* the current security lock option more than MAX_INCORRECT_SECURITY_LOCK_ATTEMPTS times */
|
* the current security lock option more than MAX_INCORRECT_SECURITY_LOCK_ATTEMPTS times */
|
||||||
const val INCORRECT_SECURITY_LOCK_COOLDOWN = 5L * 60 * 1000 // 5 minutes
|
const val INCORRECT_SECURITY_LOCK_COOLDOWN = 5L * 1000 // 5 minutes
|
||||||
|
|
||||||
/** Key used to store the consecutive number of times the user has incorrectly tried to enter the
|
/** Key used to store the consecutive number of times the user has incorrectly tried to enter the
|
||||||
* current security lock option */
|
* current security lock option */
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||||
android:paddingStart="@dimen/activity_horizontal_margin"
|
android:paddingStart="@dimen/activity_horizontal_margin"
|
||||||
android:paddingEnd="@dimen/activity_horizontal_margin"
|
android:paddingEnd="@dimen/activity_horizontal_margin"
|
||||||
android:orientation="vertical"
|
|
||||||
tools:context=".fragments.PINSecurityLockDialog">
|
tools:context=".fragments.PINSecurityLockDialog">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -62,7 +61,7 @@
|
||||||
app:wrongStateColor="@color/colorSend"
|
app:wrongStateColor="@color/colorSend"
|
||||||
app:dotNormalSize="12dp"
|
app:dotNormalSize="12dp"
|
||||||
app:dotSelectedSize="16dp"
|
app:dotSelectedSize="16dp"
|
||||||
app:layout_constraintDimensionRatio="h,1:1"
|
app:layout_constraintDimensionRatio="1:1"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvMessage"
|
app:layout_constraintTop_toBottomOf="@id/tvMessage"
|
||||||
app:layout_constraintBottom_toTopOf="@id/btnClear"
|
app:layout_constraintBottom_toTopOf="@id/btnClear"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
Loading…
Reference in a new issue