feat: add rotation viewable setting

This commit is contained in:
rebelonion 2024-02-04 04:07:56 -06:00
parent 7a67fbb980
commit ed19aac553
5 changed files with 46 additions and 16 deletions

View file

@ -1054,8 +1054,7 @@
android:id="@+id/playerSettingsCast"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:checked="false"
android:checked="true"
android:drawableStart="@drawable/ic_round_cast_24"
android:drawablePadding="16dp"
app:drawableTint="?attr/colorPrimary"
@ -1073,6 +1072,29 @@
</com.google.android.material.materialswitch.MaterialSwitch>
<com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/playerSettingsRotate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:checked="true"
android:drawableStart="@drawable/ic_round_screen_rotation_alt_24"
android:drawablePadding="16dp"
app:drawableTint="?attr/colorPrimary"
android:elegantTextHeight="true"
android:fontFamily="@font/poppins_bold"
android:minHeight="64dp"
android:paddingStart="32dp"
android:paddingEnd="32dp"
android:text="Show Rotate Button"
android:textAlignment="viewStart"
android:textColor="@color/bg_opp"
app:cornerRadius="0dp"
app:showText="false"
app:thumbTint="@color/button_switch_track">
</com.google.android.material.materialswitch.MaterialSwitch>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"