homescreen: Rework app drawer gestures, and add header and list version
Changes:
- Move AppDrawer GridView into a loader
- Create AppDrawer ListView, which is also in a loader
- Add a header to the the app drawer which also has toolbuttons to switch between the views
- Add transform offsets to delegates to compensate for header (I have no idea how to do this in any other way)
- Move DrawerDelegate.qml to DrawerGridDelegate.qml and create DrawerListDelegate.qml
- Remove several grid specific fields from appdrawer, since the
flickable
field isn't necessarily a gridview
Changes (updated):
- Have a separate parent flickable for initial opening of drawer (and remove the header control from the app drawer)
- Fix random times where the drawer becomes not interactable
- Make the scrollbar interactable
- Dynamically change the drawer scrim radius
- Fixes: https://invent.kde.org/plasma/plasma-phone-components/-/issues/80 https://invent.kde.org/plasma/plasma-phone-components/-/issues/77 https://invent.kde.org/plasma/plasma-phone-components/-/issues/74
Edited by Devin Lin