What is android:layout_marginStart

后端 未结 2 770
滥情空心
滥情空心 2021-02-12 23:50

I would like to add some space between the left display border and an ImageView. Android SDK made me aware of \"android:layout_marginStart\".

Consider add

相关标签:
2条回答
  • 2021-02-13 00:12

    start and end are the same as left and right for left-to-right (LTR) languages. For right-to-left (RTL) languages (Arabic, Hebrew, etc.), start and end reverse and become equivalent to right and left, respectively.

    This Android Developers Blog post gets into a bit more detail.

    0 讨论(0)
  • 2021-02-13 00:33

    Some APIs were introduced to support languages that use a right to left reading direction e.g Arabic and Hebrew.

    One of which is android:layout_marginStart

    See the link for more info : http://developer.android.com/about/versions/android-4.2.html#RTL

    0 讨论(0)
提交回复
热议问题