Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Rey Pham edited this page Apr 1, 2015 · 5 revisions

TimePickerDialog

com.rey.material.app.TimePickerDialog is a dialog extends from com.rey.material.app.Dialog and provide a time picker view.

Attributes

It accepts all attributes for com.rey.material.app.Dialog beside custom attributes.

  • tp_backgroundColor - The color of background circle.

  • tp_selectionColor - The color of selection circle.

  • tp_selectionRadius - The radius of selection circle.

  • tp_tickSize - The size of tick's stroke.

  • tp_fontFamily - The fontFamily of text.

  • tp_textStyle - The style of text.

  • tp_textSize - The size of text.

  • tp_textColor - The color of text.

  • tp_textHighlightColor - The color of text when is highlighted.

  • tp_animDuration - The duration of animations.

  • tp_inInterpolator - The interpolator of in animation.

  • tp_outInterpolator - The interpolator of out animation.

  • tp_mode - The current select mode of time picker. There're 2 modes: HOUR and MINUTE.

  • tp_24Hour - Indicate should show hour in 24 hours format or not.

  • tp_hour - The current hour (in 24 hours format).

  • tp_minute - The current minute.

  • tp_headerHeight - The height of header view that shows the time text.

  • tp_textTimeColor - The color of time text.

  • tp_textTimeSize - The size of time text.

  • tp_am - The custom label for AM button.

  • tp_pm - The custom label for PM button.

Clone this wiki locally