profile update
This commit is contained in:
@@ -72,6 +72,12 @@ public class PizzalinkToolbar extends Toolbar {
|
||||
hamburgerIcon.setVisibility(VISIBLE);
|
||||
if(showBackIcon)
|
||||
backIcon.setVisibility(VISIBLE);
|
||||
backIcon.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
BaseActivity.currentActivity.onBackPressed();
|
||||
}
|
||||
});
|
||||
if(title != null) {
|
||||
toolbarTitleTextView.setText(title);
|
||||
toolbarTitleTextView.setVisibility(VISIBLE);
|
||||
@@ -95,10 +101,6 @@ public class PizzalinkToolbar extends Toolbar {
|
||||
hamburgerIcon.setVisibility(GONE);
|
||||
}
|
||||
|
||||
public void setBackIconClickListener(OnClickListener onClickListener){
|
||||
backIcon.setOnClickListener(onClickListener);
|
||||
}
|
||||
|
||||
public ImageView getHamburgerIcon() {
|
||||
return hamburgerIcon;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user