2011-02-09 72 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. 

我希望這是幫助。