测试系统:andriod 6.0
问题:通过builder.setContent(remoteViews);给通知添加自定义界面,结果由于自定义界面布局过高,底部界面被压缩显示
解决办法:
notification = builder.build();
notification.bigContentView = remoteViews;//通知栏通知
//notification.headsUpContentView = remoteViews;//悬挂通知
测试系统:andriod 6.0
问题:通过builder.setContent(remoteViews);给通知添加自定义界面,结果由于自定义界面布局过高,底部界面被压缩显示
解决办法:
notification = builder.build();
notification.bigContentView = remoteViews;//通知栏通知
//notification.headsUpContentView = remoteViews;//悬挂通知