Can styled attributes be defined as required ? (as in XSD schemes)
<declare-styleable name="PieChart"> <attr name="name" format="string" use="required"/> </declare-styleable>
The above XML does not work, is there any other syntax to achieve it?
source share