-1

I want hide some fields in existed XML and use that XML as Input for Another Activity

Thanks in Advance.....

Venkat
  • 343
  • 1
  • 7
  • 17

1 Answers1

0

Simply define all fields that are actually in your xml. When you want to hide one (such as a textview) do this:

textview1.setVisibility(View.GONE);

to bring something back use:

textview1.setVisibility(View.Visible);
testingtester
  • 528
  • 4
  • 11