Fix close banner button
This commit is contained in:
parent
680379d98a
commit
b4490665dd
1 changed files with 10 additions and 6 deletions
|
@ -580,14 +580,18 @@ public class MapInfoWidgetsFactory {
|
||||||
titleView.setSingleLine(false);
|
titleView.setSingleLine(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (controller.closeBtnVisible && closeButton.getVisibility() == View.GONE) {
|
if (controller.closeBtnVisible) {
|
||||||
closeButton.setVisibility(View.VISIBLE);
|
if (closeButton.getVisibility() == View.GONE) {
|
||||||
} else {
|
closeButton.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
} else if (closeButton.getVisibility() == View.VISIBLE) {
|
||||||
closeButton.setVisibility(View.GONE);
|
closeButton.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
if (controller.refreshBtnVisible && refreshButton.getVisibility() == View.GONE) {
|
if (controller.refreshBtnVisible) {
|
||||||
refreshButton.setVisibility(View.VISIBLE);
|
if (refreshButton.getVisibility() == View.GONE) {
|
||||||
} else {
|
refreshButton.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
} else if (refreshButton.getVisibility() == View.VISIBLE) {
|
||||||
refreshButton.setVisibility(View.GONE);
|
refreshButton.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue