Fix PatternView too big on small screens in PatternSecurityLockDialog.

master
Severiano Jaramillo 2019-02-20 17:18:50 -06:00
parent 4ad841d525
commit 202466a71f
2 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,7 @@ object Constants {
/** 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 */
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
* current security lock option */

View File

@ -9,7 +9,6 @@
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingStart="@dimen/activity_horizontal_margin"
android:paddingEnd="@dimen/activity_horizontal_margin"
android:orientation="vertical"
tools:context=".fragments.PINSecurityLockDialog">
<ImageView
@ -62,7 +61,7 @@
app:wrongStateColor="@color/colorSend"
app:dotNormalSize="12dp"
app:dotSelectedSize="16dp"
app:layout_constraintDimensionRatio="h,1:1"
app:layout_constraintDimensionRatio="1:1"
app:layout_constraintTop_toBottomOf="@id/tvMessage"
app:layout_constraintBottom_toTopOf="@id/btnClear"
app:layout_constraintStart_toStartOf="parent"