File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/java/com/google/android/material/navigationrail Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1616
1717package com .google .android .material .navigationrail ;
1818
19+ import static android .view .ViewGroup .LayoutParams .MATCH_PARENT ;
1920import static android .view .ViewGroup .LayoutParams .WRAP_CONTENT ;
2021import static androidx .annotation .RestrictTo .Scope .LIBRARY_GROUP ;
2122import static com .google .android .material .navigationrail .NavigationRailView .DEFAULT_MENU_GRAVITY ;
3738public class NavigationRailMenuView extends NavigationBarMenuView {
3839
3940 private final FrameLayout .LayoutParams layoutParams =
40- new FrameLayout .LayoutParams (WRAP_CONTENT , WRAP_CONTENT );
41+ new FrameLayout .LayoutParams (MATCH_PARENT , WRAP_CONTENT );
4142
4243 public NavigationRailMenuView (@ NonNull Context context ) {
4344 super (context );
You can’t perform that action at this time.
0 commit comments