Adjacent Files

Project Info

. > timedatepickers > src > main > java > me > jfenn > timedatepickers > interfaces > Themable.java

setSelectionColor

Type: void

Sets the background color of the currently selected item in the picker.

Parameter Name Description
color The background color to be used for the currently selected item in the picker.

getSelectionColor

Type: @ColorInt int

Obtains the background color of the currently selected item in the picker.

Returned Value: The background color used for the currently selected item.

setSelectionTextColor

Type: void

Set the text color of the currently selected item in the picker.

Parameter Name Description
color The text color to be used for the currently selected item in the picker.

getSelectionTextColor

Type: @ColorInt int

Obtains the text color of the currently selected item in the picker.

Returned Value: The text color used for the currently selected item.

setPrimaryTextColor

Type: void

Set the “primary” text color to be used for unselected items.

Parameter Name Description
color The “primary” text color to be used for unselected items.

getPrimaryTextColor

Type: @ColorInt int

Obtains the “primary” text color used for unselected items in the picker.

Returned Value: The “primary” text color used for unselected items.

setSecondaryTextColor

Type: void

Sets the “secondary” text color to be used for unselected items.

Parameter Name Description
color The “secondary” text color to be used for unselected items..

getSecondaryTextColor

Type: @ColorInt int

Obtains the “secondary” text color used for unselected items in the picker.

Returned Value: The “secondary” text color used for unselected items.

setBackgroundColor

Type: void

Sets the background color of the picker.

Parameter Name Description
color The background color to use for the picker.

getBackgroundColor

Type: @ColorInt int

Obtains the background color used for the picker.

Returned Value: The picker’s background color.

setPrimaryBackgroundColor

Type: void

Sets the “primary” background color used for unselected items in the picker.

Parameter Name Description
color The “primary” background color used for unselected items in the picker.

getPrimaryBackgroundColor

Type: @ColorInt int

Obtains the “primary” background color of unselected picker items.

Returned Value: The “primary” background color of unselected items.

setSecondaryBackgroundColor

Type: void

Sets the “secondary” background color used for unselected items in the picker.

Parameter Name Description
color The “secondary” background color used for unselected items in the picker.

getSecondaryBackgroundColor

Type: @ColorInt int

Obtains the “secondary” background color of unselected picker items.

Returned Value: The “secondary” background color of unselected items.