Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android “自动镜像到图像”按钮_Android_Xml_Imagebutton - Fatal编程技术网

Android “自动镜像到图像”按钮

Android “自动镜像到图像”按钮,android,xml,imagebutton,Android,Xml,Imagebutton,我有一个应用程序,我想它支持两种语言:英语和希伯来语 当程序本地化到美国时,我有一个Imagebutton,如下所示: 现在,当我换成希伯来语时,它看起来如下: 正如您所看到的,按钮改变了位置,但是箭头的方向被钉到了错误的方向 我尝试在其上使用自动镜像,但没有任何更改: <ImageButton android:id="@+id/returnButton" style="?android:borderlessButtonStyle"

我有一个应用程序,我想它支持两种语言:英语和希伯来语

当程序本地化到美国时,我有一个
Imagebutton
,如下所示:

现在,当我换成希伯来语时,它看起来如下:

正如您所看到的,按钮改变了位置,但是箭头的方向被钉到了错误的方向

我尝试在其上使用自动镜像,但没有任何更改:

<ImageButton
    android:id="@+id/returnButton"
    style="?android:borderlessButtonStyle"
    android:layout_width="40dp"
    android:layout_height="wrap_content"
    android:layout_marginStart="18dp"
    android:layout_marginTop="20dp"
    android:autoMirrored="true"
    android:background="@color/fui_transparent"
    android:src="@drawable/ic_rarrow" />

其中,
ic_rarrow
是从SVG创建的
xml

多谢各位