random refactoring

This commit is contained in:
Jays2Kings 2023-09-20 22:45:53 -07:00
parent f796f5b225
commit 95d86b2fa1
3 changed files with 6 additions and 4 deletions

View file

@ -11,7 +11,7 @@ import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.google.android.material.bottomsheet.BottomSheetDialog import com.google.android.material.bottomsheet.BottomSheetDialog
/** /**
* Edge to Edge BottomSheetDiolag that uses a custom theme and settings to extend pass the nav bar * Edge to Edge BottomSheetDialog that uses a custom theme and settings to extend pass the nav bar
*/ */
@Suppress("LeakingThis") @Suppress("LeakingThis")
abstract class E2EBottomSheetDialog<VB : ViewBinding>(activity: Activity) : abstract class E2EBottomSheetDialog<VB : ViewBinding>(activity: Activity) :

View file

@ -35,6 +35,7 @@
android:background="@null" android:background="@null"
android:padding="5dp" android:padding="5dp"
android:src="@drawable/ic_filter_list_24dp" android:src="@drawable/ic_filter_list_24dp"
android:contentDescription="@string/sort_and_filter"
app:tint="?attr/colorSecondary" app:tint="?attr/colorSecondary"
app:layout_constraintBottom_toBottomOf="@id/chapters_title" app:layout_constraintBottom_toBottomOf="@id/chapters_title"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -52,8 +53,8 @@
android:textAlignment="textEnd" android:textAlignment="textEnd"
android:textColor="@color/material_on_background_disabled" android:textColor="@color/material_on_background_disabled"
app:layout_constraintBaseline_toBaselineOf="@id/chapters_title" app:layout_constraintBaseline_toBaselineOf="@id/chapters_title"
app:layout_constraintBottom_toBottomOf="@id/webview_button" app:layout_constraintBottom_toBottomOf="@id/filter_button"
app:layout_constraintEnd_toStartOf="@id/webview_button" app:layout_constraintEnd_toStartOf="@id/filter_button"
app:layout_constraintStart_toEndOf="@+id/chapters_title" app:layout_constraintStart_toEndOf="@+id/chapters_title"
app:layout_constraintTop_toTopOf="@id/webview_button" /> app:layout_constraintTop_toTopOf="@id/filter_button" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -401,6 +401,7 @@
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:background="@null" android:background="@null"
android:padding="5dp" android:padding="5dp"
android:contentDescription="@string/sort_and_filter"
android:src="@drawable/ic_filter_list_24dp" android:src="@drawable/ic_filter_list_24dp"
app:tint="?attr/colorSecondary" app:tint="?attr/colorSecondary"
app:layout_constraintBottom_toBottomOf="@id/chapters_title" app:layout_constraintBottom_toBottomOf="@id/chapters_title"