I am unable to override attributes when using
\"include tag is bro
I submitted an enhancement request to allow all included attributes to be overridden:
Suppose I have two identical layouts other than the values of a
TextViewfield. Presently, I either have modify the layout at runtime or duplicate the XML.For example to pass two parameters with values "hello" and "world" to layout1:
layout1a.xml:
An alternate implementation would break encapsulation and would allow the include statement to override values like:
layout1b.xml: