VoiceInteractionSession.SetTheme(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.
You can call this to customize the theme used by your IME's window.
[Android.Runtime.Register("setTheme", "(I)V", "GetSetTheme_IHandler", ApiSince=23)]
public virtual void SetTheme (int theme);
[<Android.Runtime.Register("setTheme", "(I)V", "GetSetTheme_IHandler", ApiSince=23)>]
abstract member SetTheme : int -> unit
override this.SetTheme : int -> unit
Parameters
- theme
- Int32
- Attributes
Remarks
You can call this to customize the theme used by your IME's window. This must be set before #onCreate
, so you will typically call it in your constructor with the resource ID of your custom theme.
Java documentation for android.service.voice.VoiceInteractionSession.setTheme(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.