forked from organicmaps/organicmaps
[android] double banner is fixed
This commit is contained in:
parent
c169a8c5cc
commit
bdd5bb1a70
1 changed files with 2 additions and 0 deletions
|
@ -297,6 +297,8 @@ public class OnmapDownloader implements MwmActivity.LeftAnimationTrackListener
|
|||
|
||||
mPromoBanner = promoBanner;
|
||||
|
||||
mBannerFrame.removeAllViewsInLayout();
|
||||
|
||||
LayoutInflater inflater = LayoutInflater.from(mActivity);
|
||||
View root = inflater.inflate(mPromoBanner.getType().getLayoutId(), mBannerFrame, true);
|
||||
View button = root.findViewById(R.id.banner_button);
|
||||
|
|
Loading…
Add table
Reference in a new issue