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
多谢各位