update ui

This commit is contained in:
lucky 2022-01-08 18:46:48 +03:00
parent 7571ac9609
commit 221e0b5cfc
3 changed files with 18 additions and 3 deletions

View File

@ -74,13 +74,28 @@
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginVertical="16dp"
android:layout_marginVertical="8dp"
android:background="?android:attr/listDivider" />
<com.google.android.material.slider.Slider
android:id="@+id/maxFailedPasswordAttempts"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/max_failed_password_attempts_content_description"
android:valueFrom="0"
android:valueTo="10"
android:stepSize="1.0" />
<Space
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="2dp" />
<TextView
android:id="@+id/description2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="center"
android:text="@string/max_failed_password_attempts_description" />
<Space

View File

@ -13,6 +13,6 @@
<string name="cancel">Отменить</string>
<string name="tile_label">Разблокировать устройство</string>
<string name="shortcut_label">Паниковать</string>
<string name="max_failed_password_attempts_description">Также Вы можете установить лимит на максимальное количество неудачных попыток ввода пароля. После исчерпания лимита данные на устройстве будут стёрты.</string>
<string name="max_failed_password_attempts_description">Максимальное количество неудачных попыток ввода пароля.</string>
<string name="max_failed_password_attempts_content_description">Количество</string>
</resources>

View File

@ -13,6 +13,6 @@
<string name="cancel">Cancel</string>
<string name="tile_label">Unlock device</string>
<string name="shortcut_label">Panic</string>
<string name="max_failed_password_attempts_description">Also you can limit the maximum number of failed password attempts. After the limit exceeded device will be wiped.</string>
<string name="max_failed_password_attempts_description">Maximum number of failed password attempts.</string>
<string name="max_failed_password_attempts_content_description">Count</string>
</resources>