I have a TableLayout with a tableRow and a horizontal scroll view in the 2nd column, but the right side always gets cut off. IF i have only 1 tableRow, it开发者_StackOverflow中文版 works, otherwise it goes past the visible area of the screen. To simply and isolate the problem heres an xml file with the guilty culprits. It seems basic but i have been super frustrated trying to get this to work.
. for some reason Stackoverflow isnt displaying my code correctly, heres a pastebin. link text
To fix this, i found out using
android:shrinkColumns="2"
(2 being the column with the horizontal scroller) fixes the issue.
精彩评论