AccessibilityService.SetAccessibilityFocusAppearance(Int32, Color) 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.
Sets the strokeWidth and color of the accessibility focus rectangle.
[Android.Runtime.Register("setAccessibilityFocusAppearance", "(II)V", "GetSetAccessibilityFocusAppearance_IIHandler", ApiSince=31)]
public virtual void SetAccessibilityFocusAppearance (int strokeWidth, Android.Graphics.Color color);
[<Android.Runtime.Register("setAccessibilityFocusAppearance", "(II)V", "GetSetAccessibilityFocusAppearance_IIHandler", ApiSince=31)>]
abstract member SetAccessibilityFocusAppearance : int * Android.Graphics.Color -> unit
override this.SetAccessibilityFocusAppearance : int * Android.Graphics.Color -> unit
Parameters
- strokeWidth
- Int32
The stroke width of the rectangle in pixels. Setting this value to zero results in no focus rectangle being drawn.
- color
- Color
The color of the rectangle.
- Attributes
Remarks
Sets the strokeWidth and color of the accessibility focus rectangle.
<strong>Note:</strong> This setting persists until this or another active AccessibilityService changes it or the device reboots.
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.