gpt4 book ai didi

android 不同形式的layout_toLeftOf 和layout_toStartOf?

转载 作者:行者123 更新时间:2023-11-29 17:31:29 24 4
gpt4 key购买 nike

正如标题所说,layout_toStartOf 和 layout_toLeftOf 有何不同? layout_toStartOf 效率更高吗?

最佳答案

layout_toStartOf 与本地化有关。在某些地方,一切都从正确开始。 layout_toStartOf 在大多数本地化设置中与 layout_toLeftOf 相同,而 layout_toStartOflayout_toLeftOf 相反本地化设置设置为从右到左。

更新(为了效率):

我认为在性能效率方面不会有任何不可忽略的差异。但是,为了本地化(如果要支持),layout_toStartOf 应始终优先于 layout_toLeftOf

关于android 不同形式的layout_toLeftOf 和layout_toStartOf?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32730404/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com