public class

UnreadNotificationView

extends FrameLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.pdftron.collab.ui.view.UnreadNotificationView

Class Overview

A circular notification icon that also shows the number of unread messages.

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
UnreadNotificationView(Context context)
UnreadNotificationView(Context context, AttributeSet attrs)
UnreadNotificationView(Context context, AttributeSet attrs, int defStyleAttr)
UnreadNotificationView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void setNotificationColor(int color)
Color of the circular notification icon.
void setText(String text)
Set the text for the notification view.
void setTextColor(int color)
Color of the notification text in the view.
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public UnreadNotificationView (Context context)

public UnreadNotificationView (Context context, AttributeSet attrs)

public UnreadNotificationView (Context context, AttributeSet attrs, int defStyleAttr)

public UnreadNotificationView (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public void setNotificationColor (int color)

Color of the circular notification icon.

Parameters
color of the icon

public void setText (String text)

Set the text for the notification view. A number is usually set.

Parameters
text to set in this view

public void setTextColor (int color)

Color of the notification text in the view.

Parameters
color of the text