<?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:paddingTop="16dp" android:paddingBottom="16dp" android:paddingStart="24dp" android:paddingEnd="16dp"> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginEnd="16dp" android:text="@string/anonymous" android:textColor="?attr/primaryTextColor" /> <com.google.android.material.switchmaterial.SwitchMaterial android:id="@+id/switch_material_give_award_dialog" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>