語言

View.OnRtlPropertiesChanged(LayoutDirection) 方法

定義

當任何 RTL 屬性(佈局方向、文字方向或文字對齊)被更改時,會呼叫它。

[Android.Runtime.Register("onRtlPropertiesChanged", "(I)V", "GetOnRtlPropertiesChanged_IHandler")]
public virtual void OnRtlPropertiesChanged(Android.Views.LayoutDirection layoutDirection);
[<Android.Runtime.Register("onRtlPropertiesChanged", "(I)V", "GetOnRtlPropertiesChanged_IHandler")>]
abstract member OnRtlPropertiesChanged : Android.Views.LayoutDirection -> unit
override this.OnRtlPropertiesChanged : Android.Views.LayoutDirection -> unit

參數

layoutDirection
LayoutDirection

布局方向

屬性

備註

當任何 RTL 屬性(佈局方向、文字方向或文字對齊)被更改時,會呼叫它。

子類別需要覆寫此方法,以處理依賴於解析版面方向的快取資訊,或通知繼承其版面方向的子視圖。

預設實作不做任何動作。

的 android.view.View.onRtlPropertiesChanged(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱