При настройке моего уведомления в пользовательский XML-файл с кнопками изображений эти изображения отображаются некорректно.Вместо этого я просто вижу серый квадрат (см. Ниже).


Вот мой XML-файл:
<LinearLayout 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:orientation="horizontal">
<ImageButton
android:id="@+id/play"
android:layout_width="100dp"
android:layout_height="100dp"
android:scaleType="fitCenter"
app:srcCompat="@android:drawable/ic_media_play" />
<ImageButton
android:id="@+id/next"
android:layout_width="100dp"
android:layout_height="100dp"
android:scaleType="fitCenter"
app:srcCompat="@android:drawable/ic_media_next" />
</LinearLayout>
А вот мой конструктор уведомлений:
notificationBuilder = new NotificationCompat.Builder(activity, "TestNoficication")
.setContentTitle("Test")
.setContentText("test")
.setSmallIcon(R.mipmap.ic_launch_icon)
.setOngoing(true)
.setCustomContentView(new RemoteViews(activity.getPackageName(), R.layout.custom_notification))
.setPriority(NotificationCompat.PRIORITY_DEFAULT);
Я что-то здесь не так делаю?