Toolbar.SetLogo(Int32) Method
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 a logo drawable from a resource id.
[Android.Runtime.Register("setLogo", "(I)V", "GetSetLogo_IHandler")]
public virtual void SetLogo (int resId);
[<Android.Runtime.Register("setLogo", "(I)V", "GetSetLogo_IHandler")>]
abstract member SetLogo : int -> unit
override this.SetLogo : int -> unit
- resId
- Int32
ID of a drawable resource
- Attributes
Set a logo drawable from a resource id.
This drawable should generally take the place of title text. The logo cannot be clicked. Apps using a logo should also supply a description using #setLogoDescription(int)
.
Java documentation for android.widget.Toolbar.setLogo(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.