<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent" android:layout_height="match_parent"
    android:orientation="vertical" android:padding="16dp" android:background="@color/bg">
    <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
        android:text="@string/settings" android:textSize="22sp" android:textStyle="bold" android:layout_marginBottom="12dp"/>
    <com.google.android.material.materialswitch.MaterialSwitch
        android:id="@+id/switchDark" android:layout_width="match_parent"
        android:layout_height="wrap_content" android:text="@string/dark_mode" android:padding="12dp"/>
    <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#22000000" android:layout_marginVertical="8dp"/>
    <com.google.android.material.button.MaterialButton android:id="@+id/btnLogout"
        android:layout_width="match_parent" android:layout_height="wrap_content"
        android:text="@string/logout" app:backgroundTint="#D32F2F"
        xmlns:app="http://schemas.android.com/apk/res-auto"/>
</LinearLayout>
