mirror of https://github.com/x13a/Wasted.git
update ui
This commit is contained in:
parent
7571ac9609
commit
221e0b5cfc
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue