노티 메세지의 레이아웃은 버전별로 다르게 설계가 되었습니다.
예를 들어 Marshmallow(5.0)의 경우에는 머터리얼 디자인의 도입으로 인해서 특별히 많은 부분이 변경되었고, 그 이후로도 계속해서 기능이 수정/추가되었습니다.
개인적으로는 안드로이드 버전별로 다른 레이아웃을 보여주게 설계하는걸 추천드리나, 아래와 같은 방법으로 커스텀한 뷰를 알람 영역으로 설정할 수 있습니다.
RemoteViews notificationLayout = new RemoteViews(getPackageName(), R.layout.notification_small);
RemoteViews notificationLayoutExpanded = new RemoteViews(getPackageName(), R.layout.notification_large);
// Apply the layouts to the notification
Notification customNotification = new NotificationCompat.Builder(context, CHANNEL_ID)
.setSmallIcon(R.drawable.notification_icon)
.setStyle(new NotificationCompat.DecoratedCustomViewStyle())
.setCustomContentView(notificationLayout)
.setCustomBigContentView(notificationLayoutExpanded)
.build();https://developer.android.com/training/notify-user/custom-notification
https://developer.android.com/guide/topics/ui/notifiers/notifications?hl=ko#Design
https://material.io/design/platform-guidance/android-notifications.html#templates