mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Disable tinted image views
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user