Lines Matching refs:attributes
45 <li>Provide custom styleable attributes that work with Android XML layouts</li>
81 appearance and behavior with element attributes. Well-written custom views can also be added and
86 <li>Define custom attributes for your view in a {@code
90 <li>Specify values for the attributes in your XML layout</li>
95 <p>This section discusses how to define custom attributes and specify their values.
99 <p>To define custom attributes, add {@code
118 <p>This code declares two custom attributes, {@code showText} and {@code labelPosition}, that belong
126 <p>Once you define the custom attributes, you can use them in layout XML files just like built-in
127 attributes. The only
128 difference is that your custom attributes belong to a different namespace. Instead of belonging
132 attributes defined for
157 …rt} class has an inner class called {@code PieView}. To use the custom attributes from this class,…
162 <p>When a view is created from an XML layout, all of the attributes in the XML tag are read
187 the attributes from the {@link android.content.res.TypedArray TypedArray}. Here's how
189 reads its attributes:</p>