語言

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於