You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: theoplayer/getting-started/01-sdks/02-android/00-getting-started.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ THEOplayer can be added to an Android application either:
103
103
1.**Through a layout (XML)**: By adding the `THEOplayerView` to your layout XML file (e.g., `activity_main.xml`), or
104
104
2.**Programmatically using the Constructor API**: This approach also allows you to configure the license string through a programmatic configuration instead of the `AndroidManifest.xml`.
105
105
106
-
### Adding THEOplayerView via XML layout
106
+
### Adding `THEOplayerView` via XML layout
107
107
108
108
You can add the `THEOplayerView` to the layout of the `MainActivity` with the snippet below.
109
109
@@ -122,7 +122,7 @@ At least the `id`, `width` and `height` attributes need to be specified on the n
In the Activity/Fragment, you can use the [constructor API](https://docs.theoplayer.com/api-reference/android/index.html?com/theoplayer/android/api/THEOplayerView.html) to create a THEOplayer instance
128
128
by passing along a context and a [`THEOplayerConfig`](https://docs.theoplayer.com/api-reference/android/index.html?com/theoplayer/android/api/THEOplayerConfig.html).
@@ -300,7 +300,7 @@ Then set an `OnClickListener()` on the button in our `MainActivity` code to trig
0 commit comments