
FINALLY update to MDC 1.7.0. After over half a year. I have been continually blocked by doing this due to this absurd ripple bug that was so continually frustrating. Today, I finally figred out how to hack a fix in by using R E F L E C T I O N and manually disabling the bugged code path since google apparently can't be bothered to fix it. Now, you might wonder why I didn't update to 1.8.0. That is because there is ANOTHER RIPPLE BUG. THIS TIME WITH THE TAB LAYOUT. AND ONLY IF IT'S IN A COLLAPSING TOOLBAR LAYOUT. Can't wait to finally use the new 1.8.0 features in December!
38 lines
No EOL
1.6 KiB
XML
38 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="@dimen/spacing_tiny"
|
|
android:paddingBottom="@dimen/spacing_tiny">
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:id="@+id/tab_check_box"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/spacing_medium"
|
|
android:layout_marginEnd="@dimen/spacing_mid_medium"
|
|
android:layout_weight="1"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:paddingStart="@dimen/spacing_medium"
|
|
android:textAlignment="viewStart"
|
|
android:textAppearance="@style/TextAppearance.Auxio.BodyLarge"
|
|
tools:ignore="RtlSymmetry,contentDescription"
|
|
tools:text="Artists" />
|
|
|
|
<org.oxycblt.auxio.ui.RippleFixMaterialButton
|
|
android:id="@+id/tab_drag_handle"
|
|
style="@style/Widget.Auxio.Button.Icon.Small"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/spacing_mid_large"
|
|
android:contentDescription="@string/desc_tab_handle"
|
|
app:icon="@drawable/ic_handle_24" />
|
|
|
|
</LinearLayout> |