What is the difference between Android margin start/end and right/left?

后端 未结 2 915
小蘑菇
小蘑菇 2020-11-28 03:54

What is difference between Android margin start and right (or margin end and left)?

It is trivial question, but I cannot seem to learn from the documention what is d

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 04:19

    For left-to-right flow, start=left, end=right.

    For right-to-left flow, start=right, end=left.

    The "start" and "end" concepts were added in API Level 17, as part of Android 4.2's support for RTL layouts.

提交回复
热议问题