Wednesday, January 9, 2013

[android-developers] ExpandableListView entries attribute

I am trying to use the entries xml attribute for an ExpandableListView. The entries attribute works in a ListView when pointed at a String array I've defined in xml; but I can't determine how to define a String array for the ExpandableListView entries attribute.
I tried this and got exceptions:
    <string-array name="slidingmenu_entries">
        <item name="item1">
            <item name="item1 child">
            </item>
        </item>
    </string-array>

Can the entries xml attribute be used for an ExpandableListView?

Thanks,
Vance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment