TitleBar

public class TitleBar

头部Toolbar封装 Created by lhz on 18/3/22.

Constructors

Link copied to clipboard
public void TitleBar(Context context)
public void TitleBar(Context context, AttributeSet attrs)
public void TitleBar(Context context, AttributeSet attrs, int defStyleAttr)

Types

Link copied to clipboard
public interface OnBackClickListener
Link copied to clipboard
public interface OnRightIconClickListener

Functions

Link copied to clipboard
public void dismissBackIcon()
Link copied to clipboard
public TextView getLeftView()
Link copied to clipboard
public TextView getMiddleView()
Link copied to clipboard
public TextView getRightView()
Link copied to clipboard
public ImageView getSearchView()
Link copied to clipboard
public TextView getTypingView()
Link copied to clipboard
public void setLeftText(CharSequence charSequence)
Link copied to clipboard
public void setRightIcon(int res)
Link copied to clipboard
public void setRightIconDrawableVisibility(boolean visible)
Link copied to clipboard
public void setRightText(CharSequence charSequence)
Link copied to clipboard
public void setRightTextColor(int color)
Link copied to clipboard
public void setRightVisible(boolean visible)
Link copied to clipboard
public void setSearchViewVisibility(boolean visibility)
Link copied to clipboard
public void setTitle(int resId)
public void setTitle(String title)
Link copied to clipboard
public void setTyping(int typing)