如何设置 rtl=false ,只为一层?
How can set rtl=false , just for a layer?
我想在 Manifest
中为所有 layers
设置 rtl = true
,其中一层除外。
怎么办?
您可以在 XML 中设置 android:layoutDirection
属性,它可以有 rtl
或 ltr
值。
属性 覆盖清单文件 "application"
段中的 android:supportsRtl
属性。
我认为您需要为所有层定义 rtl = true
并为一层设置为 false。那应该可以。
我想在 Manifest
中为所有 layers
设置 rtl = true
,其中一层除外。
怎么办?
您可以在 XML 中设置 android:layoutDirection
属性,它可以有 rtl
或 ltr
值。
属性 覆盖清单文件 "application"
段中的 android:supportsRtl
属性。
我认为您需要为所有层定义 rtl = true
并为一层设置为 false。那应该可以。