<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Settings_user">

    <!-- res/layout/activity_settings.xml -->
    <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">

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="16dp"
        android:layout_marginRight="16dp"
        android:layout_centerInParent="true"
        android:layout_marginTop="20dp">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <!-- Username Setting -->

        <!-- Notifications Toggle -->
        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/saveme"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layoutDirection="rtl"
            android:paddingStart="10dp"
            android:text="  امكانية حفظ رقمي للغير" />

        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/shareme"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layoutDirection="rtl"
            android:paddingStart="10dp"
            android:text="  امكانية مشاركة رقمي للغير" />

        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/callme"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layoutDirection="rtl"
            android:paddingStart="10dp"
            android:text="  امكانية الاتصال بي" />

        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/myphone"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layoutDirection="rtl"
            android:paddingStart="10dp"
            android:text="  اظهار قم هاتفي " />

        <androidx.appcompat.widget.SwitchCompat
            android:id="@+id/myphoto"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layoutDirection="rtl"
            android:paddingStart="10dp"
            android:text="  اظهار صورة الملف الشخصي" />

        <!-- Save Button -->
        <Button
            android:id="@+id/btnSave"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="حفظ الاعدادات"
            android:paddingTop="8dp"
            android:layout_marginBottom="15dp"/>


    </LinearLayout>

    </ScrollView>

    </LinearLayout>


</androidx.constraintlayout.widget.ConstraintLayout>