diff --git a/app/src/main/java/org/oxycblt/auxio/recycler/FastScrollView.kt b/app/src/main/java/org/oxycblt/auxio/recycler/FastScrollView.kt index 798ca4883..6694929df 100644 --- a/app/src/main/java/org/oxycblt/auxio/recycler/FastScrollView.kt +++ b/app/src/main/java/org/oxycblt/auxio/recycler/FastScrollView.kt @@ -161,8 +161,6 @@ class FastScrollView @JvmOverloads constructor( // off. val maxEntries = (height - (binding.scrollThumb.height * 2)) / textHeight - logD("${ceil(indicators.size / maxEntries).toInt()}") - if (indicators.size > maxEntries) { val truncateInterval = ceil(indicators.size / maxEntries).toInt() diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index d980de67c..bc2e26803 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -7,8 +7,8 @@ - + android:layout_height="match_parent"> - - - - - - - + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_medium" + app:cardBackgroundColor="?attr/colorSurface" + app:cardCornerRadius="0dp" + app:cardElevation="0dp" + app:strokeColor="@color/divider_color" + app:strokeWidth="1dp"> + android:layout_height="match_parent"> + android:fontFamily="@font/inter_semibold" + android:text="@string/info_app_name" + android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5" + app:layout_constraintBottom_toBottomOf="@+id/about_auxio_icon" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@+id/about_auxio_icon" + app:layout_constraintTop_toTopOf="@+id/about_auxio_icon" /> + android:layout_marginTop="@dimen/spacing_small" + android:gravity="center" + android:paddingStart="@dimen/spacing_small" + android:paddingEnd="@dimen/spacing_small" + android:text="@string/info_app_desc" + android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/about_auxio_icon" /> + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + \ No newline at end of file