public static interface Activity.TranslucentConversionListener
Activity
once all visible activities below it
have completed drawing. This is necessary only after an Activity
has been made
opaque using Activity.convertFromTranslucent()
and before it has been drawn
translucent again following a call to Activity.convertToTranslucent(android.app.Activity.TranslucentConversionListener,
ActivityOptions)
Modifier and Type | Method and Description |
---|---|
void |
onTranslucentConversionComplete(boolean drawComplete)
Callback made following
Activity.convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions) once all visible Activities
below the top one have been redrawn. |
void onTranslucentConversionComplete(boolean drawComplete)
Activity.convertToTranslucent(android.app.Activity.TranslucentConversionListener, android.app.ActivityOptions)
once all visible Activities
below the top one have been redrawn. Following this callback it is safe to make the top
Activity translucent because the underlying Activity has been drawn.drawComplete
- True if the background Activity has drawn itself. False if a timeout
occurred waiting for the Activity to complete drawing.Activity.convertFromTranslucent()
,
Activity.convertToTranslucent(TranslucentConversionListener, ActivityOptions)