<?xml version="1.0" encoding="utf-8"?>
<!--
    SPDX-License-Identifier: GPL-3.0-only
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:showDividers="middle"
    android:divider="@drawable/ic_divider"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="10dp">
    <LinearLayout
        android:id="@+id/subtypes"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingHorizontal="16dp"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables,UselessParent">
            <!-- view gets an onClickListener, and more views will be added to parent layout programmatically -->
            <TextView
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_gravity="center_vertical"
                style="@style/PreferenceCategoryTitleText"
                android:text="@string/keyboard_layout_set"/>
            <ImageView
                android:id="@+id/add_subtype"
                android:padding="6dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/ic_plus"
                android:contentDescription="@string/add" />
        </LinearLayout>
    </LinearLayout>
    <!-- layout appears unnecessary, but more views will be added -->
    <LinearLayout
        android:id="@+id/secondary_locales"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingHorizontal="16dp"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables,UselessParent">
            <TextView
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_gravity="center_vertical"
                style="@style/PreferenceCategoryTitleText"
                android:text="@string/secondary_locale"/>
            <ImageView
                android:id="@+id/add_secondary_language"
                android:padding="6dp"
                android:visibility="gone"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/ic_plus"
                android:contentDescription="@string/add" />
        </LinearLayout>
    </LinearLayout>
    <!-- layout appears unnecessary, but more views will be added -->
    <LinearLayout
        android:id="@+id/dictionaries"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingHorizontal="16dp"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables,UselessParent">
            <TextView
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_gravity="center_vertical"
                style="@style/PreferenceCategoryTitleText"
                android:text="@string/dictionary_settings_category"/>
            <ImageView
                android:id="@+id/add_dictionary"
                android:padding="6dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/ic_plus"
                android:contentDescription="@string/add" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:paddingHorizontal="16dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <TextView
            android:id="@+id/popup_order"
            style="@style/PreferenceCategoryTitleText"
            android:text="@string/popup_order"
            android:paddingVertical="5dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <TextView
            android:id="@+id/popup_label_priority"
            android:text="@string/hint_source"
            android:paddingVertical="10dp"
            style="@style/PreferenceCategoryTitleText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </LinearLayout>

</LinearLayout>
