2011-02-09 69 views
0

我们怎样才能在单个无线组内的多个行和列中放置多个单选按钮。单选按钮排列问题

(例如:如果在单个无线电设备组10个单选按钮5应在第一行和在第二行,因为设备宽度的下一个5小。)

+0

使用radio组的相对布局,然后你可以很容易地管理它,通过给所有单选按钮赋予相对位置。 – 2011-02-09 14:38:17

回答

0

可以使用滚动视图与在每个卷中的水平滚动我已经给出层次结构来应用此分层布局,而不是您找到问题的解决方案。

Table roow(your table row) 
    -Put Relative layout 
     -Put scroll view (horizontally) 
      -put Radio Group 
       -put RadioBitton1,RadioBitton2,RadioBitton3,RadioBitton4, RadioBitton5 
      -Put scroll view (horizontally) 
       -put RadioBitton1,RadioBitton2,RadioBitton3,RadioBitton4, RadioBitton5 
      -Close Radio Group 
      -close all 

than you find your radio button scroll horizontally scroll row wise. 

我希望这是帮助。