标签:
If you do not support RTL (= Right To Left locales), you need to replace all references of start by left and end byright in your xml layouts.
The attributes "start", "end", "paddingStart", "paddingEnd", "android:layout_alignParentStart" etc.. are "RTL attributes" : their meaning depends on the current locale. The risk of not doing this is that if someone sets their system language to Arabic or Hebrew your layouts will be mirrored, even if the text is still displayed in Turkish.
Specifically "start" means "right" if:
Otherwise is means "left".
So you get this warning if you have used android:layout_gravity="start" or any start/end attribute in any of your layout and you have not set android:supportsRtl="true" in the manifest.
Note that, if your min SDK is 16 or below and you do not want to support RTL, you actually have to choose one of the warning:
If you do not support RTL, it seems logical to set RtlHardCoded to Info instead of warning.
More info:
http://developer.android.com/guide/topics/manifest/application-element.html#supportsrtl
The project references RTL attributes, but does not explicitly enable or disable RTL support 解决办法
标签:
原文地址:http://www.cnblogs.com/yongdaiblog-201409/p/4337566.html