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()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。