語言

Drawable.OnLayoutDirectionChanged(Int32) 方法

定義

當可繪圖的解析版面方向改變時呼叫。

[Android.Runtime.Register("onLayoutDirectionChanged", "(I)Z", "GetOnLayoutDirectionChanged_IHandler", ApiSince=23)]
public virtual bool OnLayoutDirectionChanged(int layoutDirection);
[<Android.Runtime.Register("onLayoutDirectionChanged", "(I)Z", "GetOnLayoutDirectionChanged_IHandler", ApiSince=23)>]
abstract member OnLayoutDirectionChanged : int -> bool
override this.OnLayoutDirectionChanged : int -> bool

參數

layoutDirection
Int32

新解決版面方向

傳回

true 如果版面方向改變導致可繪圖物件的外觀改變,需要重新繪製, false 否則

屬性

備註

當可繪圖的解析版面方向改變時呼叫。

Java 文件 android.graphics.drawable.Drawable.onLayoutDirectionChanged(int)。

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

適用於