Drawable.OnLayoutDirectionChanged(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the drawable's resolved layout direction changes.
[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
Parameters
- layoutDirection
- Int32
the new resolved layout direction
Returns
true
if the layout direction change has caused the
appearance of the drawable to change such that it needs to be
re-drawn, false
otherwise
- Attributes
Remarks
Called when the drawable's resolved layout direction changes.
Java documentation for android.graphics.drawable.Drawable.onLayoutDirectionChanged(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.