{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

TimePickerLayoutType.Companion

public static class TimePickerLayoutType.Companion


Summary

Public methods

static final @NonNull TimePickerLayoutType

Displays the Time picker with a horizontal layout.

static final @NonNull TimePickerLayoutType

Displays the Time picker with a vertical layout.

Public methods

getHorizontal

public static final @NonNull TimePickerLayoutType getHorizontal()

Displays the Time picker with a horizontal layout. Should be used in landscape mode.

getVertical

public static final @NonNull TimePickerLayoutType getVertical()

Displays the Time picker with a vertical layout. Should be used in portrait mode.