Just use findViewById(R.id.layout_2) :)
On Tue, Jan 27, 2009 at 2:47 PM, steele johnson jsal...@gmail.com wrote:
Does anyone know how to find a ViewGroup within another ViewGroup at
runtime? If I have a Layout file (xml layout), how can I get a
reference to a nested Layout? Example:
Hmm, layout_2 doesn't appear in the id list.
On Jan 27, 5:49 pm, Romain Guy romain...@google.com wrote:
Just use findViewById(R.id.layout_2) :)
On Tue, Jan 27, 2009 at 2:47 PM, steele johnson jsal...@gmail.com wrote:
Does anyone know how to find a ViewGroup within another ViewGroup at
Then you should rebuild your project to force the update of R.java.
On Tue, Jan 27, 2009 at 2:52 PM, steele johnson jsal...@gmail.com wrote:
Hmm, layout_2 doesn't appear in the id list.
On Jan 27, 5:49 pm, Romain Guy romain...@google.com wrote:
Just use findViewById(R.id.layout_2) :)
On
Ah doh! That was it. I suppose I should switch on 'Build
Automatically'.
Thanks for the help.. you guys are quick. ;)
On Jan 27, 5:55 pm, Romain Guy romain...@google.com wrote:
Then you should rebuild your project to force the update of R.java.
On Tue, Jan 27, 2009 at 2:52 PM, steele
4 matches
Mail list logo