gpt4 book ai didi

android - android :layout_alignParentTop and android:layout_alignParentStart之间的区别

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:16:06 26 4
gpt4 key购买 nike

文档说:

android:layout_alignParentStart

If true, makes the start edge of this view match the start edge of the parent.

android:layout_alignParentTop

If true, makes the top edge of this view match the top edge of the parent.

那么start edge和top edge有什么区别呢?

如果这个问题已经回答了,我很抱歉,我只是找不到它。怪我糟糕的谷歌搜索技能。

最佳答案

据我所知,以“Start”结尾的 Layout 属性用于匹配内容方向的开始,例如支持 RTL 文本,而 View 的开始不是默认值。

关于android - android :layout_alignParentTop and android:layout_alignParentStart之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26493317/

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