android - how can i use the “android:layoutDirection”?

前端 未结 2 854
无人共我
无人共我 2021-01-11 19:34

it seems that android 4 provides \"android:layoutDirection\" for linearLayout and \"android:textDirection\" for textView , but when i choos

相关标签:
2条回答
  • 2021-01-11 20:04

    May be help u.

    Note: To enable right-to-left layout features for your app, you must set supportsRtl to "true" and set targetSdkVersion to 17 or higher.
    

    http://developer.android.com/guide/topics/resources/providing-resources.html#table2

    0 讨论(0)
  • 2021-01-11 20:16

    It works if you change your project properties to API Level 17.

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