[android] fix for status bar when prompt is shown

This commit is contained in:
Alexey Osminin 2021-01-11 11:58:05 +03:00 committed by Aleksandr Zatsepin
parent 6ebf617249
commit 7e879a37ca
2 changed files with 5 additions and 2 deletions

View file

@ -81,7 +81,9 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.work:work-runtime:2.2.0'
implementation 'com.android.billingclient:billing:1.1'
implementation 'uk.co.samuelwall:material-tap-target-prompt:2.12.1'
implementation('uk.co.samuelwall:material-tap-target-prompt:3.1.0', {
exclude group: 'androidx.lifecycle', module: 'lifecycle-extensions'
})
implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
implementation 'com.google.android:flexbox:1.0.0'
implementation 'com.trafi:anchor-bottom-sheet-behavior:0.13-alpha'

View file

@ -156,7 +156,8 @@ public enum Tutorial
.setBackgroundColour(ThemeUtils.getColor(activity, R.attr.tipsBgColor))
.setFocalColour(activity.getResources().getColor(android.R.color.transparent))
.setPromptBackground(new ImmersiveModeCompatPromptBackground(activity.getWindowManager()))
.setPromptStateChangeListener(listener);
.setPromptStateChangeListener(listener)
.setIgnoreStatusBar(true);
builder.show();
}