0

I have one XML with 20 fields in my case based on type we want show the form but every type need not all fields how can i hide the fields and show the corresponding fields for a particular type .I want reuse the same screen for All types but we want hide the fields without effecting the padding ?

Thanks in Advance.......

Venkat
  • 343
  • 1
  • 7
  • 17

1 Answers1

0

hide fields that you don't want to show in the activity initially..

Sandip Jadhav
  • 7,377
  • 8
  • 44
  • 76
  • Yes But my requirement is show the corresponding fields for each type of Items the 20 fields is repeated in in 8 types of screens – Venkat Apr 04 '12 at 10:43
  • but we need to show some fields from that 20 for each type not all? – Venkat Apr 04 '12 at 10:45
  • @venkat -- can you give more explanation for whatever you explained so far I understood only one thing that you have 20 fields & few activities & you want to show some of the fields in each activity with same layout So i said just hide fields those you don't want to sh0w in your activity after setContentView – Sandip Jadhav Apr 04 '12 at 11:26