次の方法で共有


Toolbar.SetTitleMargin(Int32, Int32, Int32, Int32) Method

Definition

Sets the title margin.

[Android.Runtime.Register("setTitleMargin", "(IIII)V", "GetSetTitleMargin_IIIIHandler", ApiSince=24)]
public virtual void SetTitleMargin (int start, int top, int end, int bottom);
[<Android.Runtime.Register("setTitleMargin", "(IIII)V", "GetSetTitleMargin_IIIIHandler", ApiSince=24)>]
abstract member SetTitleMargin : int * int * int * int -> unit
override this.SetTitleMargin : int * int * int * int -> unit

Parameters

start
Int32

the starting title margin in pixels

top
Int32

the top title margin in pixels

end
Int32

the ending title margin in pixels

bottom
Int32

the bottom title margin in pixels

Attributes

Remarks

Sets the title margin.

Java documentation for android.widget.Toolbar.setTitleMargin(int, int, int, 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.

Applies to