Does anybody know a way to use a custom xml layout file for the childView in a expandable list?

Does anybody know a way to use a custom xml layout file for the childView in a expandable list? Might be a bit of a far out question, but I know there are some really smart guys here.

]]>
« (Previous Post)

2 Commentsto Does anybody know a way to use a custom xml layout file for the childView in a expandable list?

  1. Anonymous says:

    < ![CDATA[

    Yes, although it’s overly complicated.


    Pack the xml file in an apk, install that apk.


    Then create a package context for that apk and grab the id of the layout file.


    You can now infalte this layout using this context and id.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    That soundssounds really complicated indeed. I’ll let you know if I run into any kind of trouble. Thanks for your answer!

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *