OrangeTheme

constructor(orangeFontFamily: OrangeFontFamily, roundedCornerButtons: Boolean = false, roundedCornerTextInputs: Boolean = false, roundedCornerAlertMessages: Boolean = false, roundedCornerProgressIndicators: Boolean = false)

Parameters

orangeFontFamily

The Helvetica Neue font family to use for the Orange theme. If an OrangeBundledFontFamily is used, the resource identifiers should reference Helvetica Neue font files. If an OrangeDownloadableFontFamily is used, the OrangeFontFamily.preloadDownloadableFontFamilies method should be called to download the Helvetica Neue font files through the Android Downloadable Fonts feature.

roundedCornerButtons

Whether buttons have rounded corners.

roundedCornerTextInputs

Whether text inputs have rounded corners.

roundedCornerAlertMessages

Whether alert messages have rounded corners.

roundedCornerProgressIndicators

Whether progress indicators have rounded corners.


constructor(roundedCornerButtons: Boolean = false, roundedCornerTextInputs: Boolean = false)

Deprecated

Use constructor with orangeFontFamily parameter instead.

Replace with

OrangeTheme(OrangeFontFamily(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable), roundedCornerButtons, roundedCornerTextInputs, roundedCornerAlertMessages, roundedCornerProgressIndicators)

Creates a new Orange theme.

Parameters

roundedCornerButtons

Whether buttons have rounded corners.

roundedCornerTextInputs

Whether text inputs have rounded corners.