0
点赞
收藏
分享

微信扫一扫

Android 10.0SystemUI修改下拉通知栏每条通知的圆角背景

定制化开发SystemUI,下拉通知栏每条通知的背景修改为圆角背景,而通知的布局文件为status_bar_notification_row.xml

1.对布局文件添加圆角背景为:
qs_background_primary.xml

<inset xmlns:android="http://schemas.android.com/apk/res/android">
    <shape>
        <solid android:color="#ffffff"/>
        <corners android:radius="20dp" />
    </shape>
举报

相关推荐

0 条评论