2020-04-26 15:36:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-13 20:56:50 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-05-25 22:39:06 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:orientation="vertical">
|
2020-04-26 15:36:33 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:layout_marginBottom="10dp"
|
2021-05-25 22:39:06 +02:00
|
|
|
app:elevation="0dp"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2020-04-26 15:36:33 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2020-04-26 15:36:33 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close"
|
2020-04-28 14:39:41 +02:00
|
|
|
android:layout_width="@dimen/close_button_size"
|
|
|
|
android:layout_height="@dimen/close_button_size"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:layout_marginLeft="15dp"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:contentDescription="@string/close"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:src="@drawable/ic_close" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:maxLines="1"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:text="@string/settingsSecurityHeader"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2020-04-26 15:36:33 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2021-03-09 22:15:42 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/biometricFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2021-03-09 22:15:42 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/biometricHeader"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/settingsBiometricHeader"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp" />
|
2021-03-09 22:15:42 +01:00
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/switchBiometric"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_alignParentEnd="true"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_toEndOf="@+id/biometricHeader"
|
2021-03-09 22:15:42 +01:00
|
|
|
android:gravity="end"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
android:switchMinWidth="56dp" />
|
2021-03-09 22:15:42 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-04-26 15:36:33 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/certsFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2020-04-26 15:36:33 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvCertHeader"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/settingsCertsSelectorHeader"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp" />
|
2020-04-26 15:36:33 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-05-09 16:50:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/cacheSizeDataSelectionFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cacheSizeDataHeaderSelector"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/cacheSizeDataSelectionHeaderText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cacheSizeDataSelected"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/cacheSizeDataSelectionSelectedText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/selectedTextColor"
|
|
|
|
android:textSize="14sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/cacheSizeImagesSelectionFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cacheSizeImagesHeaderSelector"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/cacheSizeImagesSelectionHeaderText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cacheSizeImagesSelected"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/cacheSizeImagesSelectionSelectedText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/selectedTextColor"
|
|
|
|
android:textSize="14sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/clearCacheSelectionFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/clearCacheHeaderSelector"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/clearCacheSelectionHeaderText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/clearCacheSelected"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="44dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/clearCacheSelectionSelectedText"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/selectedTextColor"
|
|
|
|
android:textSize="14sp" />
|
2020-05-09 16:50:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-07-22 21:32:42 +02:00
|
|
|
</LinearLayout>
|