2020-03-15 16:09:26 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-05-25 22:39:06 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:layout_height="match_parent"
|
2021-05-25 22:39:06 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:orientation="vertical"
|
2020-02-04 15:19:39 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-04-26 15:36:33 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
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/settingsLanguageHeaderText"
|
|
|
|
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>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/langFrame"
|
|
|
|
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"
|
2022-04-30 13:55:14 +02:00
|
|
|
android:padding="15dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvLanguageHeaderSelector"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-03-18 09:56:49 +01:00
|
|
|
android:layout_marginStart="24dp"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:layout_marginEnd="24dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/settingsLanguageSelectorHeader"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-03-18 09:56:49 +01:00
|
|
|
android:textSize="18sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvLanguageSelected"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-03-18 09:56:49 +01:00
|
|
|
android:layout_marginStart="24dp"
|
2020-04-26 15:36:33 +02:00
|
|
|
android:layout_marginEnd="24dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/settingsLanguageSelectedHeaderDefault"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:textColor="?attr/selectedTextColor"
|
2022-03-18 09:56:49 +01:00
|
|
|
android:textSize="16sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-04-30 13:55:14 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/helpTranslate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="39dp"
|
|
|
|
android:paddingBottom="15dp"
|
|
|
|
android:paddingTop="15dp"
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:text="@string/settingsHelpTranslateText"
|
|
|
|
android:textColor="@color/lightBlue"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</LinearLayout>
|