ActionBar.SetDisplayShowHomeEnabled(Boolean) 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.
Set whether to include the application home affordance in the action bar.
[Android.Runtime.Register("setDisplayShowHomeEnabled", "(Z)V", "GetSetDisplayShowHomeEnabled_ZHandler")]
public abstract void SetDisplayShowHomeEnabled (bool showHome);
[<Android.Runtime.Register("setDisplayShowHomeEnabled", "(Z)V", "GetSetDisplayShowHomeEnabled_ZHandler")>]
abstract member SetDisplayShowHomeEnabled : bool -> unit
Parameters
- showHome
- Boolean
true to show home, false otherwise.
- Attributes
Remarks
Set whether to include the application home affordance in the action bar. Home is presented as either an activity icon or logo.
To set several display options at once, see the setDisplayOptions methods.
Java documentation for android.app.ActionBar.setDisplayShowHomeEnabled(boolean)
.
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.
Applies to
See also
- DisplayOptions
- <xref:Android.App.ActionBar.SetDisplayOptions(Android.App.ActionBarDisplayOptions%2c+Android.App.ActionBarDisplayOptions)>