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
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
In no way, the control is being expanded to its parent width. Nothing works in the layout_width, even not hard coded dps. It only spans a little part of the parent width in a Linear Layout which has orientation vertical.
The text was updated successfully, but these errors were encountered:
Would you really want to expand to match_parent? The number of lines in the picker is fixed, so it would look really wierd if you don't control the width. You can check out the #onMeasure() method to see what's happening.
Setting the width to wrap_content should resize it to match the number of visible buttons (either 0, 3 or 5 are visible), and setting the witdh in DP should work as well - I use it in several places and it works fine. Can you post your layout here? I can check what's wrong
Understood. Can you try to remove the buttons? You can use show_controls and show_fast_controls to hide them. Width is tied to height only when buttons are visible.
For the time being, you could add your own arrow buttons next to the picker (if you need them) and I'll look into the issue when I have some spare time.
In no way, the control is being expanded to its parent width. Nothing works in the layout_width, even not hard coded dps. It only spans a little part of the parent width in a Linear Layout which has orientation vertical.
The text was updated successfully, but these errors were encountered: