BigPictureStyle Notification
BigPictureStyle Notification:
The BigPictureStyle in Android is a notification style that tells you that if pulled out in the expanded form of a notification, the notification is large and contains an image.
This style is more useful when notification is to be accompanied with a relevant picture of any kind or any image related with the notifying content.
Example:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
tools:context=".MainActivity">
<Button
android:id="@+id/big_picture_notification"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="BigPictureStyle Notification"
android:textColor="@android:color/white"
android:backgroundTint="@color/colorPrimary"
android:textAllCaps="false"
android:layout_centerInParent="true"/>
</RelativeLayout>