Configuration.LayoutDirection 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回布局方向。
public Android.Views.LayoutDirection LayoutDirection { [Android.Runtime.Register("getLayoutDirection", "()I", "")] get; }
[<get: Android.Runtime.Register("getLayoutDirection", "()I", "")>]
member this.LayoutDirection : Android.Views.LayoutDirection
属性值
如果 View#LAYOUT_DIRECTION_RTL 配置为 #SCREENLAYOUT_LAYOUTDIR_RTL,则返回;否则 View#LAYOUT_DIRECTION_LTR返回。
- 特性
注解
返回布局方向。 将是或 View#LAYOUT_DIRECTION_LTRView#LAYOUT_DIRECTION_RTL。
Java文档android.content.res.Configuration.getLayoutDirection()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。