I have a RadioGroup
with 8 RadioButton
s and horizontal orientation. The screen can accommodate 7 RadioButton
s without congestion. But for the 8th RadioButton
, only half of it is displayed. How to make it appear in the next line instead?
Asked
Active
Viewed 59 times
2

Abhishek
- 2,925
- 4
- 34
- 59
-
capture emulater image and show – raj Mar 20 '14 at 12:25
-
1can you post your xml? – Giacomoni Mar 20 '14 at 12:26
-
set parent layout to just match parent in width, not wrap content and it should be moved. – Daniel Bo Mar 20 '14 at 12:32
1 Answers
2
Create the custom radio button using the selector. widthOfButton = screenWidth/NoOfRadioButton
Visit the link How can I set the width of radio buttons to change with regards to screen size? (android)
Hopefully your problem will be short out.