1 <resources> 2 <declare-styleable name="${viewClass}"> 3 <attr name="exampleString" format="string" /> 4 <attr name="exampleDimension" format="dimension" /> 5 <attr name="exampleColor" format="color" /> 6 <attr name="exampleDrawable" format="color|reference" /> 7 </declare-styleable> 8 </resources> 9