I'm using the code below to create a material 3 switch in Android using XML, and it's much larger than a normal switch. Is there any way to make it smaller?
<com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/biometrics_switch"
style="@style/Widget.Material3.CompoundButton.MaterialSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:switchPadding="@dimen/_10sdp" android:minHeight="@dimen/_10sdp"
app:thumbTint="@color/white" app:trackTint="@color/neutral_800" />