public class IOSToolBar
extends Toolbar
| Modifier and Type | Field and Description |
|---|---|
protected android.widget.TextView |
mCenterTitle |
protected android.widget.ImageView |
mLeftButton |
protected android.widget.TextView |
mLeftTitle |
protected android.widget.ImageView |
mRightButton |
protected android.widget.TextView |
mRightTitle |
| Constructor and Description |
|---|
IOSToolBar(android.content.Context context) |
IOSToolBar(android.content.Context context,
android.util.AttributeSet attrs) |
IOSToolBar(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
android.widget.TextView |
getmCenterTitle() |
android.widget.ImageView |
getmLeftButton() |
android.widget.TextView |
getmLeftTitle() |
android.widget.ImageView |
getmRightButton() |
android.widget.TextView |
getmRightTitle() |
void |
init(android.content.Context context) |
void |
setImageResourceLeft(int res) |
void |
setImageResourceRight(int res) |
protected android.widget.ImageView mLeftButton
protected android.widget.ImageView mRightButton
protected android.widget.TextView mLeftTitle
protected android.widget.TextView mRightTitle
protected android.widget.TextView mCenterTitle
public IOSToolBar(android.content.Context context)
public IOSToolBar(android.content.Context context,
android.util.AttributeSet attrs)
public IOSToolBar(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public void init(android.content.Context context)
public void setImageResourceLeft(int res)
res - the resource identifier of the drawablepublic void setImageResourceRight(int res)
res - the resource identifier of the drawablepublic android.widget.ImageView getmLeftButton()
public android.widget.ImageView getmRightButton()
public android.widget.TextView getmLeftTitle()
public android.widget.TextView getmRightTitle()
public android.widget.TextView getmCenterTitle()