Open mzlogin opened 8 years ago
I have tried send notification with custom layout, and set notification.bigContentView,
notification.bigContentView
Notification notification = builder.build(); if (android.os.Build.VERSION.SDK_INT >= 16) { notification = builder.build(); notification.bigContentView = contentViews; } notification.contentView = contentViews;
but in Nexus 5 with AOSP 6.0.1 inside, this notification is showing default 64dp and cannot extend height.
In Xiaomi 2S and Xiaomi 5, it is showing default 64dp height but can extend to 256dp with two finger touch gesture.
I have tried send notification with custom layout, and set
notification.bigContentView
,but in Nexus 5 with AOSP 6.0.1 inside, this notification is showing default 64dp and cannot extend height.
In Xiaomi 2S and Xiaomi 5, it is showing default 64dp height but can extend to 256dp with two finger touch gesture.