Class ImmersiveModeCompatPromptBackground
- java.lang.Object
-
- uk.co.samuelwall.materialtaptargetprompt.extras.PromptBackground
-
- uk.co.samuelwall.materialtaptargetprompt.extras.backgrounds.FullscreenPromptBackground
-
- uk.co.samuelwall.materialtaptargetprompt.extras.backgrounds.ImmersiveModeCompatPromptBackground
-
public class ImmersiveModeCompatPromptBackground extends FullscreenPromptBackground
ImmersiveModeCompatPromptBackground
implementation that renders the prompt background as a rectangle for supporting immersive mode.
-
-
Constructor Summary
Constructors Constructor Description ImmersiveModeCompatPromptBackground(android.view.WindowManager windowManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected android.util.DisplayMetrics
getDisplayMetrics()
-
Methods inherited from class uk.co.samuelwall.materialtaptargetprompt.extras.backgrounds.FullscreenPromptBackground
contains, draw, getPath, prepare, setColour, setCornerRadius, update
-
-
-
-
Method Detail
-
getDisplayMetrics
@NonNull protected android.util.DisplayMetrics getDisplayMetrics()
- Overrides:
getDisplayMetrics
in classFullscreenPromptBackground
-
-