Sunday, 15 April 2012

android - Get a set of TableRow in TableLayout by findViewById -


Linearlayout, where some conditions may disappear from some situations. E.g.

& lt; LinearLayout & gt; & Lt; LinearLayout Android: id = "@ + id / layout1" & gt; & Lt ;! - Baby set - & gt; & Lt; / LinearLayout & gt; & Lt; LinearLayout Android: id = "@ + id / layout2" & gt; & Lt ;! - Baby set - & gt; & Lt; / LinearLayout & gt; & Lt; / LinearLayout & gt;

In LinearLayout, I can find FindViewById from any section of the child (with their layout) from the main layout and it can change visibility (at least in the programmatically). Layout with ID uses rapper for child's set.

Can I do something like this in TableLayout? I know, get FindViewById from a set layout of TableView and change its visibility?

From table to linear layout is. All this can do is make a linear layout, so you can specify an ID and change its visibility.

View


No comments:

Post a Comment