I have two layouts, main.xml
and it has a viewstub
element and hidden.xml
. the setContentView
is set main.xml
.
And In both of the layouts, there is an edittext
with @+id/latEt
. After I inflated the main.xml
with hidden.xml
how can I refer to each edittext
individually? Or, I have to simply change the id
of each edittext
?