This PR reworks the UI layout from the current mobile design into a responsive layout that matches more closely modern chat applications.
Key changes
Introduces AdaptiveLayoutView, a new widget (extension of View) with support for responsive layouts and adaptive navigation. See the docs on the Widget for more details. This is work in progress and will likely change it's API and DSL format very soon.
Removes StackNavigation, navigation is now handled by AdaptiveLayoutView.
Removes the unused views that were leftover from WeChat. It adds to the code reviewing but it makes my life much easier not having to get search results from that no longer used code.
Adjusts general text sizing by reducing font size in most text styles
Defines some basic theme colors to share across the app
Regressions
Navigating between views does not currently have the sliding animation that Robrix used to get from StackNavigation. We'll work on this on a separate PR alongside other navigation work.
This PR reworks the UI layout from the current mobile design into a responsive layout that matches more closely modern chat applications.
Key changes
AdaptiveLayoutView
, a new widget (extension ofView
) with support for responsive layouts and adaptive navigation. See the docs on the Widget for more details. This is work in progress and will likely change it's API and DSL format very soon.StackNavigation
, navigation is now handled byAdaptiveLayoutView
.Regressions
Screenshots