<?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:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:paddingHorizontal="16dp"
    android:paddingVertical="4dp"
    android:minHeight="48dp"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >
    <LinearLayout
        android:id="@+id/language_text"
        android:orientation="vertical"
        android:layout_gravity="center_vertical"
        android:layout_weight="1"
        android:layout_width="0dp"
        android:layout_height="wrap_content" >
        <TextView
            android:id="@+id/language_name"
            style="@style/PreferenceTitleText"
            android:layout_gravity="center"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
        <TextView
            android:id="@+id/language_details"
            style="@style/PreferenceSubtitleText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </LinearLayout>
    <ImageView
        android:id="@+id/delete_button"
        android:paddingEnd="10dp"
        android:src="@drawable/ic_delete"
        app:tint="@color/foreground_weak"
        android:visibility="gone"
        android:layout_gravity="center_vertical"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:contentDescription="@string/remove"
        tools:ignore="RtlSymmetry" />
    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent" >
        <Switch
            android:id="@+id/language_switch"
            android:padding="6dp"
            android:layout_gravity="center_vertical"
            android:layout_width="wrap_content"
            android:layout_height="match_parent" />
        <TextView
            android:id="@+id/blocker"
            android:visibility="gone"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignEnd="@id/language_switch"
            android:layout_alignStart="@id/language_switch"
            android:layout_alignBottom="@id/language_switch"
            android:layout_alignTop="@id/language_switch" />
    </RelativeLayout>

</LinearLayout>
