android:add setBackIconVisible for BaseTitleBar
This commit is contained in:
parent
565998c763
commit
81cbc27c5a
@ -57,6 +57,10 @@ public class BaseDoricNavBar extends FrameLayout implements IDoricNavBar {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setBackIconVisible(boolean visible) {
|
||||||
|
findViewById(R.id.tv_back).setVisibility(visible ? View.VISIBLE : View.GONE);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isHidden() {
|
public boolean isHidden() {
|
||||||
return getVisibility() != VISIBLE;
|
return getVisibility() != VISIBLE;
|
||||||
|
Reference in New Issue
Block a user