我有一张自定义卡片,如下所示。
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?attr/colorListItemBackground" />
<corners
android:bottomLeftRadius="16dp"
android:topLeftRadius="16dp" />
</shape>
Run Code Online (Sandbox Code Playgroud)
我的应用程序也支持 RTL 语言,因此更改为 RTL,此形状不会更改(自动镜像)。
我可以做哪些更改才能使其成为自动后视镜?
注意圆附近的圆角。 LTR_Image
圆角仍然在同一个地方。 RTL_Image