RTL Support: Disabling it only for specific UI components

前端 未结 1 1451
野性不改
野性不改 2021-02-02 07:25

I have a custom video player Activity.

I am forced to enable RTL Support in my Application.

But doing so will result in a Right-To-Left aligned ProgressBar. (And

1条回答
  •  梦谈多话
    2021-02-02 07:56

    Okay there is a simple solution for 4.2 and upper:

    You can set the android:layoutDirection property in XML, it can have either rtl or ltr values.

    The property overrides android:supportsRtl property in "application" segment of your manifest file.

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