文档说:
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/