2

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

Abhishek
  • 2,877
  • 4
  • 31
  • 58

1 Answers1

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.

Community
  • 1
  • 1
Ajit
  • 694
  • 6
  • 16