Align toolbar usage #4884
Labels
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
X-Needs-Design
May require input from the design team
Z-WTF
WTF moment: High Impact, Low Effort
Your use case
What would you like to do?
Align the way toolbar is managed across the app
Why would you like to do it?
Currently on some screens toolbar's title, subtitle and navigation button (back button) are defined separately as roolbar's children, while on the other screens built-in toolbar's methods and widgets are used. This leads to a different margins, size and text appeareance.
How would you like to achieve it?
there are 4 main use cases of toolbar in the app:
for first 3 cases toolbar's internal widgets can be utilized and also toolbar can be extracted to a separate resource file and included in a view. This will ensure consistancy between the screens and also will allow to write helper methods/builder to manage this casese
for 4th case it's not possible to reuse layout, but extracting toolbar to a separate layout file for each screen could make laoyuts easier to read. Incorporating this cases to a builder from previous paragraph is tricky and could not give a lot of benefit I think, so it wil be better to keep accessing widgets inside toolbar via bindings as it is now. But at least for title and subtitle text appearances from styles_toolbar.xml could be used (if fit design) to make it consistent with others and also to ease possible changes
Have you considered any alternatives?
No response
Additional context
Differences in layout
Main Screen
Create room
The text was updated successfully, but these errors were encountered: