语言

Configuration.LayoutDirection 属性

定义

返回布局方向。

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()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于