Android Behaviours
Launch an Experience as an Android Activity or Fragment
Aiming to provide the most flexibility we can, we have also wrapped our ExperienceView
in an Activity and Fragment so you can leverage all the functionality Android provides within those two classes.
You can use them by following the next snippets:
Listen to touch events in the Experience on Android
If you want to react to how users scroll through the app, e.g. in order to collapse a toolbar, we offer the possibility to provide an OnTouchListener
that forwards you the user interactions with the Experience. You can register it like so:
Enable fullscreen videos on Android
To enable an app to host videos full screen in Android, you'll need to provide an Activity
instance following the next snippet:
Last updated
Was this helpful?