Do limit navigation drawer maxWidth

Why the default value gone after MDC 1.9.0-alpha01 ???
This commit is contained in:
tarsin committed 2023-03-27 15:58:01 +08:00
1 parent f07be06dfe
commit 0eda9b109f
1 file changed
+1
@@ -47,6 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:maxWidth="@dimen/drawer_max_width"
app:fitsSystemWindowsInsets="start|end"
app:headerLayout="@layout/nav_header_main"
app:menu="@menu/nav_drawer_main" />