android - <include/> set to default XML values -


hi have layout has <include/> in it. can access include , change visibility of views in or modify edittext text.

so want create method when press button layout inside <include/> turn original xml state hiding hidden in xml , showing shown , return edittext default values original xml layout file.

note not using fragments or changing setcontentview in application.

thank much.

i found best solution problem did copy oncreate code method callable setcontentviewto layout want turn default case calling method contains oncreate code return ids using include method can show layout inside layout.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -