feat: option to disable trending scroll (#288)

This commit is contained in:
TwistedUmbrellaX 2024-03-25 16:24:55 -04:00 committed by GitHub
parent 378abe73c9
commit d46f1b25eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 6 deletions

View file

@ -216,7 +216,6 @@
android:id="@+id/uiSettingsLayoutAnimation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:checked="true"
android:drawableStart="@drawable/ic_round_animation_24"
android:drawablePadding="16dp"
@ -235,6 +234,29 @@
</com.google.android.material.materialswitch.MaterialSwitch>
<com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/uiSettingsTrendingScroller"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:checked="true"
android:drawableStart="@drawable/ic_round_animation_24"
android:drawablePadding="16dp"
android:elegantTextHeight="true"
android:fontFamily="@font/poppins_bold"
android:minHeight="64dp"
android:paddingStart="32dp"
android:paddingEnd="32dp"
android:text="@string/trending_scroller"
android:textAlignment="viewStart"
android:textColor="?attr/colorOnBackground"
app:cornerRadius="0dp"
app:drawableTint="?attr/colorPrimary"
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"