Centered CheckBox in popup menu

This commit is contained in:
Prathamesh More 2022-02-19 12:19:32 +05:30
parent cda7af4420
commit 6c159297dc
3 changed files with 13 additions and 5 deletions

View file

@ -8,10 +8,11 @@
<code.name.monkey.retromusic.views.TopAppBarLayout
android:id="@+id/appBarLayout"
style="?appBarLayoutStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?appBarLayoutStyle"
android:fitsSystemWindows="true" />
android:fitsSystemWindows="true"
android:theme="@style/CenteredCheckBoxTheme" />
<code.name.monkey.retromusic.views.insets.InsetsRecyclerView
android:id="@+id/recycler_view"

View file

@ -28,8 +28,9 @@
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/checkbox"
style="@style/Widget.Material3.CompoundButton.CheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:background="@null"
android:clickable="false"
android:focusable="false"