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
I have a Tabbed layout, and on the second tab the design people put another set of tabs, there's only 2 tabs, and I thought it was a bad idea to put tabs inside tabs. So I decided to make the second "tab" section 2 toggle buttons, since it just changes the values in a chart on the screen. The problem is, when using this layout the toggle buttons are very small and don't stretch to fill the screen. The way I am picturing it is, if you had a LinearLayout with layout_width set to match_parent, then weightSum set to 2, then each of the toggles would have layout_weight = 1 and they would stretch to fill in the width of the screen. The way I have it set right now in my layout is a LinearLayout with layout_width to "match_parent" and height to "wrap_content", then in my ToggleButtonLayout I have layout_width to "match_parent", but they are still just 2 small buttons on the left side of the screen, not stretching to fill the entire width. Is there a way to do this?
The text was updated successfully, but these errors were encountered:
I have a Tabbed layout, and on the second tab the design people put another set of tabs, there's only 2 tabs, and I thought it was a bad idea to put tabs inside tabs. So I decided to make the second "tab" section 2 toggle buttons, since it just changes the values in a chart on the screen. The problem is, when using this layout the toggle buttons are very small and don't stretch to fill the screen. The way I am picturing it is, if you had a LinearLayout with layout_width set to match_parent, then weightSum set to 2, then each of the toggles would have layout_weight = 1 and they would stretch to fill in the width of the screen. The way I have it set right now in my layout is a LinearLayout with layout_width to "match_parent" and height to "wrap_content", then in my ToggleButtonLayout I have layout_width to "match_parent", but they are still just 2 small buttons on the left side of the screen, not stretching to fill the entire width. Is there a way to do this?
The text was updated successfully, but these errors were encountered: