Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
Rey Pham edited this page May 7, 2015 · 8 revisions

CheckBox

com.rey.material.widget.CheckBox

Attributes

  • cbd_width - The width of the CheckBoxDrawable.

  • cbd_height - The height of the CheckBoxDrawable.

  • cbd_boxSize - The size of square box.

  • cbd_cornerRadius - The corner radius of box.

  • cbd_strokeSize - The size of stroke.

  • cbd_strokeColor - The color of stroke. Accept Color value or ColorStateList resource.

  • cbd_tickColor - The color of tick mark.

  • cbd_animDuration - The duration of animation when switch checked state.

RadioButton

com.rey.material.widget.RadioButton

Attributes

  • rbd_width - The width of the RadioButtonDrawable.

  • rbd_height - The height of the RadioButtonDrawable.

  • rbd_radius - The radius of the box.

  • rbd_innerRadius - The radius of tick box.

  • rbd_strokeSize - The size of stroke.

  • rbd_strokeColor - The color of stroke. Accept Color value or ColorStateList resource.

  • rbd_animDuration - The duration of animation when switch checked state.

Switch

com.rey.material.widget.Switch

Attributes

  • sw_trackSize - The stroke's width of track bar.

  • sw_trackColor - The color of track bar. Accept Color value or ColorStateList resource.

  • sw_trackCap - The cap setting of track bar. There're 3 types: BUTT, ROUND and SQUARE.

  • sw_thumbColor - The color of thumb. Accept Color value or ColorStateList resource.

  • sw_thumbRadius - The radius of thumb.

  • sw_thumbElevation - The elevation of thumb.

  • sw_animDuration - The duration of animation when switch checked state.

  • sw_interpolator - The interpolator of animation when switch checked state.

Clone this wiki locally

⌂ 换网址