|
|
|
@ -1315,9 +1315,11 @@ public class Helper {
|
|
|
|
|
child instanceof CheckBox ||
|
|
|
|
|
child instanceof ImageView /* =ImageButton */ ||
|
|
|
|
|
child instanceof RadioButton ||
|
|
|
|
|
(child instanceof Button && "disable".equals(child.getTag())))
|
|
|
|
|
(child instanceof Button && "disable".equals(child.getTag()))) {
|
|
|
|
|
if (child instanceof ImageView && ((ImageView) child).getImageTintList() != null)
|
|
|
|
|
child.setAlpha(enabled ? 1.0f : LOW_LIGHT);
|
|
|
|
|
child.setEnabled(enabled);
|
|
|
|
|
else if (child instanceof BottomNavigationView) {
|
|
|
|
|
} else if (child instanceof BottomNavigationView) {
|
|
|
|
|
Menu menu = ((BottomNavigationView) child).getMenu();
|
|
|
|
|
menu.setGroupEnabled(0, enabled);
|
|
|
|
|
} else if (child instanceof RecyclerView)
|
|
|
|
|