Android bottomRightRadius+;高程结果显示为灰色条

Android bottomRightRadius+;高程结果显示为灰色条,android,cornerradius,android-elevation,Android,Cornerradius,Android Elevation,在OnePlus6T上运行此(测试)布局时,我遇到了一些非常奇怪的行为,但在模拟器中运行时效果良好 FrameLayout下方显示一个灰色条,其大小根据标高的不同而增减(较小的标高表示较宽但较低的条) 仅当结合使用高程和特定于角点的半径(使用普通android:radius而不是bottomRightRadius使其看起来正常)时,才会发生此错误。此外,当我将outlineProvider从背景更改为其他内容时,它也可以工作 有人能在其他手机上确认这种行为吗?或者这是一个已知的错误吗?我在朋友摩

在OnePlus6T上运行此(测试)布局时,我遇到了一些非常奇怪的行为,但在模拟器中运行时效果良好

FrameLayout下方显示一个灰色条,其大小根据标高的不同而增减(较小的标高表示较宽但较低的条)

仅当结合使用高程和特定于角点的半径(使用普通android:radius而不是bottomRightRadius使其看起来正常)时,才会发生此错误。此外,当我将outlineProvider从背景更改为其他内容时,它也可以工作

有人能在其他手机上确认这种行为吗?或者这是一个已知的错误吗?我在朋友摩托X4上试过,效果很好

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#DCDCDC"
    tools:context=".MainActivity">
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginStart="40dp"
        android:layout_marginTop="40dp"
        android:layout_marginEnd="40dp"
        android:layout_marginBottom="40dp"
        android:background="@drawable/background_rounded"
        android:outlineProvider="background"
        android:elevation="100dp">
   </FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

API28 Emulator的屏幕截图

可能有问题?关闭硬件加速将删除阴影和长方体。可能有问题?关闭硬件加速将删除阴影和长方体。
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
   android:shape="rectangle">
    <solid android:color="@android:color/white" />
    <corners android:bottomRightRadius="64dp" />
</shape>