Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 26.1.0
belongs to Maven artifact


public static class NotificationCompat.DecoratedCustomViewStyle
extends NotificationCompat.Style


Notification style for custom views that are decorated by the system.

Instead of providing a notification that is completely custom, a developer can set this style and still obtain system decorations like the notification header with the expand affordance and actions.

Use setCustomContentView(RemoteViews), setCustomBigContentView(RemoteViews) and setCustomHeadsUpContentView(RemoteViews) to set the corresponding custom views to display.

To use this style with your Notification, feed it to setStyle(Style) like so:

 Notification noti = new NotificationCompat.Builder()
     .setStyle(new NotificationCompat.DecoratedCustomViewStyle())

If you are using this style, consider using the corresponding styles like TextAppearance_Compat_Notification or TextAppearance_Compat_Notification_Title in your custom views in order to get the correct styling on each platform version.


Public constructors


Inherited methods

From class
From class java.lang.Object

Public constructors


added in version 26.1.0
NotificationCompat.DecoratedCustomViewStyle ()