-
-
Notifications
You must be signed in to change notification settings - Fork 618
IconicsCompoundButton Family
Peter Gulko edited this page Jul 19, 2017
·
1 revision
For all the family available this attributes
Name | Format | Description |
---|---|---|
app:iiv_animate_icon_changes | boolean | set fade animation for icons changing |
app:iiv_STATE*_icon | string | set icon |
app:iiv_STATE*_color | color / reference | set icon color |
app:iiv_STATE*_size | dimension / reference | set icon size |
app:iiv_STATE*_padding | dimension / reference | set icon padding |
app:iiv_STATE*_contour_color | color / reference | set contour color |
app:iiv_STATE*_contour_width | dimension / reference | set contour width |
app:iiv_STATE*_background_color | color / reference | set background color |
app:iiv_STATE*_corner_radius | dimension / reference | set corner radius |
*STATE - variant of definition state when will be used this IconicsDrawable
.
Available variants:
- checked
- unchecked
<com.mikepenz.iconics.view.IconicsCheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="IconicsCheckBox"
android:padding="5dp"
app:iiv_checked_color="@color/primary"
app:iiv_checked_icon="@string/gmd_star"
app:iiv_checked_size="24dp"
app:iiv_unchecked_color="@color/primary"
app:iiv_unchecked_icon="@string/gmd_star_border"
app:iiv_unchecked_size="24dp"/>
normal
checked