Skip to main content

XMLLayoutParser

declare class XMLLayoutParser {}

XMLLayoutParser

Static Method

from

declare class XMLLayoutParser {
static from(context: Context): XMLLayoutParser
}
  • Description

    Create a XMLLayoutParser.

Instance Method

parseLayoutXML

declare class XMLLayoutParser {
parseLayoutXML<T = View>(root: ViewGroup, xml: string, attach?: boolean): T
}
  • Description

    Xml parse to layout.