PushwooshInboxStyle

Properties

Link copied to clipboard

Accent color of inbox cell. By default used AppCompat R.attr.colorAccent

Link copied to clipboard

The color of cell background. By default used Android android.R.attr.windowBackground

Link copied to clipboard

The bar accent color. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The bar color. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The bar text color. By default used Android android.R.attr.textColorPrimary

Link copied to clipboard

The bar text title.

Link copied to clipboard

The date color of unread messages. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

Inbox message date format. By default used {@link com.pushwoosh.inbox.ui.model.customizing.formatter.InboxDateFormatter#DEFAULT_DATE_FORMAT} format

Link copied to clipboard

The date text size.

Link copied to clipboard

The icon shown near the message if there's no icon in push payload. If not specified, the app icon is used

Link copied to clipboard

The text color of unread messages. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The description text size.

Link copied to clipboard

The divider color. By default used Android android.R.attr.listDivider

Link copied to clipboard
const val EMPTY_ANIMATION: Int

Use this property for clearing list animation {@link #listAnimationResource}

Link copied to clipboard

The color of cell highlight. By default used AppCompat R.attr.colorControlHighlight

Link copied to clipboard

The color of the unread message action icon (Deep Link, URL, etc.). By default used {@link #accentColor}

Link copied to clipboard
Link copied to clipboard

Item appearing animation. Set {@link #EMPTY_ANIMATION} for clear animation

Link copied to clipboard

The image which is displayed if the list of inbox messages is empty

Link copied to clipboard
Link copied to clipboard

The text which is displayed if the list of inbox messages is empty

Link copied to clipboard

The image which is displayed if an error occurs and the list of inbox messages is empty

Link copied to clipboard
Link copied to clipboard

The error text which is displayed when an error occurs

Link copied to clipboard

The date color of read messages. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The text color of read messages. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The color of the read message action icon. By default used {@link #readDateColor}

Link copied to clipboard

The title color of read messages. By default used Android android.R.attr.textColorSecondary

Link copied to clipboard

The title color of unread messages. By default used Android android.R.attr.textColorPrimary

Link copied to clipboard

The title text size.

Functions

Link copied to clipboard

Clear all setting colors

Link copied to clipboard
fun setDateFont(typeface: Typeface)
Link copied to clipboard
Link copied to clipboard
fun setTitleFont(typeface: Typeface)