File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
catalog/java/io/material/catalog/navigationrail
lib/java/com/google/android/material/navigation Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,12 @@ public View onCreateDemoView(
7878 efab .shrink ();
7979 navigationRailView .collapse ();
8080 button .setContentDescription (getResources ().getString (R .string .cat_navigation_rail_expand_button_description ));
81+ button .setImageResource (R .drawable .ic_drawer_menu_24px );
8182 } else {
8283 efab .extend ();
8384 navigationRailView .expand ();
8485 button .setContentDescription (getResources ().getString (R .string .cat_navigation_rail_collapse_button_description ));
86+ button .setImageResource (R .drawable .gs_menu_open_vd_theme_24 );
8587 }
8688 });
8789 return view ;
Original file line number Diff line number Diff line change 3636import android .view .View ;
3737import android .view .ViewGroup ;
3838import android .view .accessibility .AccessibilityNodeInfo ;
39+ import android .widget .TextView ;
3940import androidx .annotation .Dimension ;
4041import androidx .annotation .NonNull ;
4142import androidx .annotation .Nullable ;
@@ -139,6 +140,7 @@ public NavigationBarMenuView(@NonNull Context context) {
139140 } else {
140141 set = new AutoTransition ();
141142 set .setOrdering (TransitionSet .ORDERING_TOGETHER );
143+ set .excludeTarget (TextView .class , true );
142144 set .setDuration (
143145 MotionUtils .resolveThemeDuration (
144146 getContext (),
You can’t perform that action at this time.
0 commit comments