Kishore
Kishore

Reputation: 942

Adding elements to ExpandableListView only using XMLs

I want to develop few sample screens (without functionality). I dont want to use much java code for that, i want to use only XMLs (either Strings.xml or Androidxmlfiles). In my flow i have an ExpandableListView to which i have to add some text items. Any one please help me. thanks in advance.

Upvotes: 0

Views: 233

Answers (1)

Alexander
Alexander

Reputation: 48272

It's not possible to populate ExpandableListView with your own contents using XML only. Eclipse UI designer, I believe, shows some elements as if they are added but they go like 'Item 1' 'Item 2' etc basically for the developer to see where the list sits on the screen.

If you already have UI flow what's the reason to have even more screen samples though...

Upvotes: 1

Related Questions