You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to use this library with landscape but it has two main problems (all of these happened with Gravity.Top):
Toolbar width in landscape is the same as in portrait mode (setting maxWidth does not help). If the text is too long it can take all of the screen or create the second problem.
When the text is too long there is no arrow displayed and text is cut off because the container ends on anchor view.
Full width can significantly decrease height of the toolbar in landscape and I'm not really sure where is the problem I tested it by setting Gravity.Left and it had full width so it might be a problem with LayoutParameters or padding in getContentView().
As for cutting off content there could be a check if toolbar will not fit the screen it could switch the Gravity to something else or just use scrollbar but that could end up with a situation where there is only 1 line of text with a scrollbar next to it.
The text was updated successfully, but these errors were encountered:
We want to use this library with landscape but it has two main problems (all of these happened with Gravity.Top):
Full width can significantly decrease height of the toolbar in landscape and I'm not really sure where is the problem I tested it by setting Gravity.Left and it had full width so it might be a problem with LayoutParameters or padding in getContentView().
As for cutting off content there could be a check if toolbar will not fit the screen it could switch the Gravity to something else or just use scrollbar but that could end up with a situation where there is only 1 line of text with a scrollbar next to it.
The text was updated successfully, but these errors were encountered: