Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b1a85a7b authored by Jorge Gil's avatar Jorge Gil
Browse files

Add MaximizeMenuView with m3's dynamic color theming

To more easily support theming, this change also:
1) Replaces the maximize button's drawable with a custom
   StateListDrawable with selector state support, for out-of-the-box
   theming based on hover, selected, pressed and inactive states without
   manual motion event tracking.
   Also disables hardware acceleration on this button except for during
   animations, to prevent aliasing.
2) Moves toolkit specific logic into MaximizeMenuView, to encapsulate
   view inflation, binding, animations, etc and to keep it separate
   from the menu's window management logic

Bug: 328668781
Test: maximize menu theming follows app theme, regardless of system
theme

Change-Id: I8f5866102226d161cbb4d94611df46155747ce75
parent 7ee6daf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment