Skip to content Skip to sidebar Skip to footer

Custom Xml File To View

Before I ask the question, allow me to paint a picture. Say (for whatever reason you fancy) that instead of putting your xml layout in the typical res/layouts folder, we instead pu

Solution 1:

If I understood you correctly, you want to dynamically load XML submission? (from .xml file)

Why do not you use LayoutInflater.inflate(XmlPullParser parser, ViewGroup root)

http://developer.android.com/reference/android/view/LayoutInflater.html

Post a Comment for "Custom Xml File To View"