無法在表格佈局中實際添加表格行。我在這裏創建一個視圖滾動的水平和垂直方向都與視圖類似表有問題將TableRow /*
* reportLayout is tablelayout by findViewById
* i am setting view inside Fragment
*/
public void redrawReport(){
reportLayout.remove
我正在使用表格佈局來顯示基於用戶規格的信息。用戶將數據輸入到數據庫中,然後將這些數據採集並顯示在表格上,每行有3個textView條目。問題是,如果用戶輸入的數據很長,它將從屏幕上消失並且不可見。有任何想法嗎?我曾經做到這一點的代碼如下: XML <TableLayout
android:layout_width="fill_parent"
android:layout_hei