首页 > 解决方案 > 如何模糊渐变背景?

问题描述

免得说我有这样的渐变背景吧

例子:

<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <gradient
        android:angle="90"
        android:startColor="#09203f "
        android:endColor="#537895"/>
</shape>

我如何模糊它并使其在我的布局背景中看起来像这样?

例子:

在此处输入图像描述

标签: javaandroidandroid-layout-editor

解决方案


推荐阅读