File tree 2 files changed +4
-0
lines changed
catalog/java/io/material/catalog/navigationrail
lib/java/com/google/android/material/navigation
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,12 @@ public View onCreateDemoView(
78
78
efab .shrink ();
79
79
navigationRailView .collapse ();
80
80
button .setContentDescription (getResources ().getString (R .string .cat_navigation_rail_expand_button_description ));
81
+ button .setImageResource (R .drawable .ic_drawer_menu_24px );
81
82
} else {
82
83
efab .extend ();
83
84
navigationRailView .expand ();
84
85
button .setContentDescription (getResources ().getString (R .string .cat_navigation_rail_collapse_button_description ));
86
+ button .setImageResource (R .drawable .gs_menu_open_vd_theme_24 );
85
87
}
86
88
});
87
89
return view ;
Original file line number Diff line number Diff line change 36
36
import android .view .View ;
37
37
import android .view .ViewGroup ;
38
38
import android .view .accessibility .AccessibilityNodeInfo ;
39
+ import android .widget .TextView ;
39
40
import androidx .annotation .Dimension ;
40
41
import androidx .annotation .NonNull ;
41
42
import androidx .annotation .Nullable ;
@@ -139,6 +140,7 @@ public NavigationBarMenuView(@NonNull Context context) {
139
140
} else {
140
141
set = new AutoTransition ();
141
142
set .setOrdering (TransitionSet .ORDERING_TOGETHER );
143
+ set .excludeTarget (TextView .class , true );
142
144
set .setDuration (
143
145
MotionUtils .resolveThemeDuration (
144
146
getContext (),
You can’t perform that action at this time.
0 commit comments