EditText中的drawableLeft和drawableStart有什么区别? [英] What's the different between drawableLeft and drawableStart in EditText?
本文介绍了EditText中的drawableLeft和drawableStart有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
起初,我以为当将系统语言更改为阿拉伯语(从右到左书写的语言)时,drawableStart会自动更改图标的位置.但是当我这样做时,什么也没发生.所以我猜他们是一样的吗?
At first I thought drawableStart would auto change the icon's location when I changed system language to Arabic, which is a language written from right to left. But when I did that, nothing happened. So I guess they are the same?
推荐答案
我不确定以上答案是否正确.根据我的实验,除非您更改语言并启用RTL支持,否则该图标始终位于同一位置.
I'm not sure the answer above is correct. From my experimentation, the icon always ends up in the same place unless you change the language AND enable RTL support.
查看全文