@picsa/capacitor-video-player 7.1.0 → 7.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CapacitorVideoPlayer.podspec +17 -17
  2. package/LICENSE +21 -21
  3. package/android/build.gradle +71 -71
  4. package/android/src/main/AndroidManifest.xml +3 -3
  5. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/CapacitorVideoPlayer.java +71 -71
  6. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/CapacitorVideoPlayerPlugin.java +1256 -1256
  7. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/FullscreenExoPlayerFragment.java +1595 -1595
  8. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/Notifications/MyRunnable.java +21 -21
  9. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/Notifications/NotificationCenter.java +61 -61
  10. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/PickerVideo/AdapterVideoList.java +47 -47
  11. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/PickerVideo/ModelVideo.java +49 -49
  12. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/PickerVideo/PickerVideoFragment.java +119 -119
  13. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/PickerVideo/VideoRecyclerViewHolder.java +65 -65
  14. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/Utilities/FilesUtils.java +101 -101
  15. package/android/src/main/java/com/jeep/plugin/capacitor/capacitorvideoplayer/Utilities/FragmentUtils.java +32 -32
  16. package/android/src/main/res/drawable/bg_round_rect_white_50.xml +9 -9
  17. package/android/src/main/res/drawable/bg_rounded_rectangle_white_corner_rounded.xml +10 -10
  18. package/android/src/main/res/drawable/exo_close_btn.xml +11 -11
  19. package/android/src/main/res/drawable/gradient_transparent_middle.xml +12 -12
  20. package/android/src/main/res/drawable/ic_arrow_left.xml +5 -5
  21. package/android/src/main/res/drawable/ic_baseline_lq.xml +7 -7
  22. package/android/src/main/res/drawable/ic_exo_icon_fastforward.xml +35 -35
  23. package/android/src/main/res/drawable/ic_exo_icon_pause.xml +26 -26
  24. package/android/src/main/res/drawable/ic_exo_icon_play.xml +36 -36
  25. package/android/src/main/res/drawable/ic_exo_icon_rewind.xml +35 -35
  26. package/android/src/main/res/drawable/ic_expand.xml +5 -5
  27. package/android/src/main/res/drawable/ic_fit.xml +5 -5
  28. package/android/src/main/res/drawable/ic_image_background.xml +12 -12
  29. package/android/src/main/res/drawable/ic_img_16_9_background.xml +10 -10
  30. package/android/src/main/res/drawable/ic_img_9_16_background.xml +10 -10
  31. package/android/src/main/res/drawable/ic_outline_lock.xml +5 -5
  32. package/android/src/main/res/drawable/ic_outline_lock_open.xml +5 -5
  33. package/android/src/main/res/drawable/ic_pip_white.xml +5 -5
  34. package/android/src/main/res/drawable/ic_views.xml +18 -18
  35. package/android/src/main/res/drawable/ic_zoom.xml +5 -5
  36. package/android/src/main/res/layout/bridge_layout_main.xml +15 -15
  37. package/android/src/main/res/layout/exo_playback_control_view.xml +289 -289
  38. package/android/src/main/res/layout/exoplayer_layout_youtube.xml +361 -361
  39. package/android/src/main/res/layout/fragment_fs_exoplayer.xml +50 -50
  40. package/android/src/main/res/layout/fragment_picker_video.xml +21 -21
  41. package/android/src/main/res/layout/row_video.xml +76 -76
  42. package/android/src/main/res/values/colors.xml +14 -14
  43. package/android/src/main/res/values/strings.xml +3 -3
  44. package/android/src/main/res/values/styles.xml +3 -3
  45. package/dist/docs.json +14 -14
  46. package/ios/Plugin/CapacitorVideoPlayer.swift +63 -63
  47. package/ios/Plugin/CapacitorVideoPlayerPlugin.h +10 -10
  48. package/ios/Plugin/CapacitorVideoPlayerPlugin.m +22 -22
  49. package/ios/Plugin/CapacitorVideoPlayerPlugin.swift +631 -631
  50. package/ios/Plugin/Extensions/CapacitorVideoPlayerPlugin.AVPlayerViewController.swift +59 -59
  51. package/ios/Plugin/Extensions/CapacitorVideoPlayerPlugin.File.swift +126 -126
  52. package/ios/Plugin/Extensions/CapacitorVideoPlayerPlugin.Fullscreen.swift +94 -94
  53. package/ios/Plugin/Extensions/CapacitorVideoPlayerPlugin.Notifications.swift +140 -140
  54. package/ios/Plugin/Extensions/CapacitorVideoPlayerPlugin.Observers.swift +180 -180
  55. package/ios/Plugin/Info.plist +24 -24
  56. package/ios/Plugin/VideoPicker/VideoHelper.swift +127 -127
  57. package/ios/Plugin/VideoPicker/VideoPickerViewController.swift +144 -144
  58. package/ios/Plugin/VideoPlayer/Extensions/AVURLAsset.swift +18 -18
  59. package/ios/Plugin/VideoPlayer/Extensions/AllOrientationAVPlayerController.swift +12 -12
  60. package/ios/Plugin/VideoPlayer/Extensions/CMTime.swift +23 -23
  61. package/ios/Plugin/VideoPlayer/Extensions/LandscapeAVPlayerController.swift +12 -12
  62. package/ios/Plugin/VideoPlayer/Extensions/Notification.Name.swift +18 -18
  63. package/ios/Plugin/VideoPlayer/Extensions/PortraitAVPlayerController.swift +12 -12
  64. package/ios/Plugin/VideoPlayer/Extensions/View.swift +54 -54
  65. package/ios/Plugin/VideoPlayer/FullScreenVideoPlayerView.swift +601 -601
  66. package/ios/Plugin/VideoPlayer/Models/Video.swift +28 -28
  67. package/ios/Plugin/VideoPlayer/Models/VideoModel.swift +42 -42
  68. package/package.json +92 -92
  69. package/readme.md +196 -190
@@ -1,289 +1,289 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Copyright 2020 The Android Open Source Project
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
- http://www.apache.org/licenses/LICENSE-2.0
7
- Unless required by applicable law or agreed to in writing, software
8
- distributed under the License is distributed on an "AS IS" BASIS,
9
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- See the License for the specific language governing permissions and
11
- limitations under the License.
12
- -->
13
- <androidx.constraintlayout.widget.ConstraintLayout
14
- xmlns:android="http://schemas.android.com/apk/res/android"
15
- xmlns:app="http://schemas.android.com/apk/res-auto"
16
- xmlns:tools="http://schemas.android.com/tools"
17
- android:layout_width="match_parent"
18
- android:layout_height="match_parent"
19
- android:background="@color/exo_black_opacity_60"
20
- android:fitsSystemWindows="true">
21
-
22
- <!-- 0dp dimensions are used to prevent this view from influencing the size of
23
- the parent view if it uses "wrap_content". It is expanded to occupy the
24
- entirety of the parent in code, after the parent's size has been
25
- determined. See: https://github.com/google/ExoPlayer/issues/8726.
26
- -->
27
- <View
28
- android:id="@id/exo_controls_background"
29
- android:layout_width="match_parent"
30
- android:layout_height="match_parent" />
31
-
32
- <ImageView
33
- android:id="@+id/cast_image"
34
- android:layout_width="match_parent"
35
- android:layout_height="match_parent"
36
- android:adjustViewBounds="true"
37
- android:foreground="@color/exo_black_opacity_60"
38
- android:scaleType="centerCrop"
39
- android:visibility="gone"
40
- app:layout_constraintBottom_toBottomOf="parent"
41
- app:layout_constraintEnd_toEndOf="parent"
42
- app:layout_constraintStart_toStartOf="parent"
43
- app:layout_constraintTop_toTopOf="parent" />
44
-
45
- <FrameLayout
46
- android:layout_height="wrap_content"
47
- android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
48
- android:layout_gravity="top"
49
- android:layoutDirection="ltr"
50
- android:layout_width="match_parent"
51
- app:layout_constraintTop_toTopOf="parent">
52
-
53
- <LinearLayout
54
- android:layout_width="match_parent"
55
- android:layout_height="wrap_content"
56
- android:orientation="horizontal">
57
-
58
- <LinearLayout
59
- android:layout_width="0dp"
60
- android:layout_weight="1"
61
- android:layout_height="wrap_content"
62
- android:orientation="horizontal">
63
-
64
- <ImageButton
65
- android:id="@+id/exo_close"
66
- android:layout_width="48dp"
67
- android:layout_height="48dp"
68
- android:background="?actionBarItemBackground"
69
- android:ellipsize="end"
70
- android:scaleX="1.3"
71
- android:scaleY="1.3"
72
- android:src="@drawable/ic_arrow_left"
73
- android:contentDescription="Back button"/>
74
-
75
- <LinearLayout
76
- android:layout_width="wrap_content"
77
- android:layout_height="wrap_content"
78
- android:orientation="vertical">
79
-
80
- <TextView
81
- android:id="@+id/header_tv"
82
- android:layout_width="wrap_content"
83
- android:layout_height="wrap_content"
84
- android:ellipsize="end"
85
- android:maxLines="2"
86
- android:textColor="@color/white"
87
- android:textSize="18sp"/>
88
-
89
- <TextView
90
- android:id="@+id/header_below"
91
- android:layout_width="wrap_content"
92
- android:layout_height="wrap_content"
93
- android:ellipsize="end"
94
- android:maxLines="2"
95
- android:textColor="@color/white"
96
- android:textSize="12sp"
97
- app:layout_constraintStart_toStartOf="parent"
98
- app:layout_constraintTop_toBottomOf="@id/header_tv"
99
- app:layout_constraintWidth_percent="0.9"/>
100
-
101
- </LinearLayout>
102
-
103
- </LinearLayout>
104
-
105
- <LinearLayout
106
- android:id="@+id/right_buttons"
107
- android:layout_width="wrap_content"
108
- android:layout_height="wrap_content">
109
-
110
- <androidx.mediarouter.app.MediaRouteButton
111
- android:id="@+id/media_route_button"
112
- android:layout_width="48dp"
113
- android:layout_height="48dp"
114
- android:mediaRouteTypes="user"
115
- android:background="?actionBarItemBackground"
116
- android:visibility="gone"/>
117
-
118
- <ImageButton
119
- android:id="@+id/exo_pip"
120
- android:layout_width="48dp"
121
- android:layout_height="48dp"
122
- android:background="?actionBarItemBackground"
123
- android:src="@drawable/ic_pip_white"
124
- android:visibility="gone"
125
- android:contentDescription="Picture in picture button"/>
126
-
127
- <ImageButton
128
- android:id="@+id/exo_resize"
129
- android:layout_width="48dp"
130
- android:layout_height="48dp"
131
- android:background="?actionBarItemBackground"
132
- android:src="@drawable/ic_expand"
133
- android:visibility="gone"
134
- android:contentDescription="visible"/>
135
-
136
- </LinearLayout>
137
-
138
- </LinearLayout>
139
-
140
- </FrameLayout>
141
-
142
- <FrameLayout android:id="@id/exo_bottom_bar"
143
- android:layout_width="match_parent"
144
- android:layout_height="@dimen/exo_styled_bottom_bar_height"
145
- android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
146
- android:layout_gravity="bottom"
147
- android:layoutDirection="ltr"
148
- app:layout_constraintBottom_toBottomOf="parent">
149
-
150
- <LinearLayout android:id="@id/exo_time"
151
- android:layout_width="wrap_content"
152
- android:layout_height="wrap_content"
153
- android:paddingStart="@dimen/exo_styled_bottom_bar_time_padding"
154
- android:paddingEnd="@dimen/exo_styled_bottom_bar_time_padding"
155
- android:paddingLeft="@dimen/exo_styled_bottom_bar_time_padding"
156
- android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
157
- android:layout_gravity="center_vertical|start"
158
- android:layoutDirection="ltr">
159
-
160
- <TextView android:id="@+id/exo_position"
161
- style="@style/ExoStyledControls.TimeText.Position"/>
162
-
163
- <TextView
164
- android:id="@+id/exo_label_separation"
165
- style="@style/ExoStyledControls.TimeText.Separator"/>
166
-
167
- <TextView
168
- android:id="@+id/live_text"
169
- android:layout_width="wrap_content"
170
- android:layout_height="wrap_content"
171
- android:text="LIVE"
172
- android:textColor="@color/white"
173
- android:textSize="12sp"
174
- android:visibility="gone"/>
175
-
176
- <TextView android:id="@+id/exo_duration"
177
- style="@style/ExoStyledControls.TimeText.Duration"/>
178
-
179
- </LinearLayout>
180
-
181
- <LinearLayout android:id="@id/exo_basic_controls"
182
- android:layout_width="wrap_content"
183
- android:layout_height="wrap_content"
184
- android:layout_gravity="center_vertical|end"
185
- android:layoutDirection="ltr">
186
-
187
- <ImageButton android:id="@id/exo_vr"
188
- style="@style/ExoStyledControls.Button.Bottom.VR"/>
189
-
190
- <ImageButton android:id="@id/exo_shuffle"
191
- style="@style/ExoStyledControls.Button.Bottom.Shuffle"/>
192
-
193
- <ImageButton android:id="@id/exo_repeat_toggle"
194
- style="@style/ExoStyledControls.Button.Bottom.RepeatToggle"/>
195
-
196
- <ImageButton android:id="@id/exo_subtitle"
197
- style="@style/ExoStyledControls.Button.Bottom.CC"/>
198
-
199
- <ImageButton android:id="@id/exo_settings"
200
- style="@style/ExoStyledControls.Button.Bottom.Settings"/>
201
-
202
- <ImageButton android:id="@id/exo_fullscreen"
203
- style="@style/ExoStyledControls.Button.Bottom.FullScreen"/>
204
-
205
- <ImageButton android:id="@id/exo_overflow_show"
206
- style="@style/ExoStyledControls.Button.Bottom.OverflowShow"/>
207
-
208
- </LinearLayout>
209
-
210
- <HorizontalScrollView
211
- android:id="@id/exo_extra_controls_scroll_view"
212
- android:layout_width="wrap_content"
213
- android:layout_height="wrap_content"
214
- android:layout_gravity="center_vertical|end"
215
- android:visibility="invisible">
216
-
217
- <LinearLayout
218
- android:id="@id/exo_extra_controls"
219
- android:layout_width="wrap_content"
220
- android:layout_height="wrap_content"
221
- android:layoutDirection="ltr">
222
-
223
- <ImageButton
224
- android:id="@id/exo_overflow_hide"
225
- style="@style/ExoStyledControls.Button.Bottom.OverflowHide" />
226
-
227
- </LinearLayout>
228
-
229
- </HorizontalScrollView>
230
-
231
- </FrameLayout>
232
-
233
- <View android:id="@id/exo_progress_placeholder"
234
- android:layout_width="match_parent"
235
- android:layout_height="@dimen/exo_styled_progress_layout_height"
236
- android:layout_gravity="bottom"
237
- android:layout_marginBottom="@dimen/exo_styled_progress_margin_bottom"
238
- app:layout_constraintBottom_toBottomOf="parent"/>
239
-
240
- <LinearLayout android:id="@id/exo_minimal_controls"
241
- android:layout_width="wrap_content"
242
- android:layout_height="wrap_content"
243
- android:layout_gravity="bottom|end"
244
- android:layout_marginBottom="@dimen/exo_styled_minimal_controls_margin_bottom"
245
- android:orientation="horizontal"
246
- android:gravity="center_vertical"
247
- android:layoutDirection="ltr"
248
- app:layout_constraintTop_toTopOf="parent"
249
- app:layout_constraintRight_toRightOf="parent"
250
- >
251
-
252
- <ImageButton android:id="@id/exo_minimal_fullscreen"
253
- style="@style/ExoStyledControls.Button.Bottom.FullScreen"/>
254
-
255
- </LinearLayout>
256
-
257
- <LinearLayout
258
- android:id="@id/exo_center_controls"
259
- android:layout_width="wrap_content"
260
- android:layout_height="wrap_content"
261
- android:layout_gravity="center"
262
- android:background="@android:color/transparent"
263
- android:gravity="center"
264
- android:padding="@dimen/exo_styled_controls_padding"
265
- android:clipToPadding="false"
266
- app:layout_constraintTop_toTopOf="parent"
267
- app:layout_constraintRight_toRightOf="parent"
268
- app:layout_constraintLeft_toLeftOf="parent"
269
- app:layout_constraintBottom_toBottomOf="parent">
270
-
271
- <ImageButton android:id="@id/exo_prev"
272
- style="@style/ExoStyledControls.Button.Center.Previous"/>
273
-
274
- <ImageButton android:id="@id/exo_rew"
275
- style="@style/ExoStyledControls.Button.Center.Previous"/>
276
-
277
- <ImageButton android:id="@id/exo_play_pause"
278
- style="@style/ExoStyledControls.Button.Center.PlayPause"/>
279
-
280
- <ImageButton android:id="@id/exo_ffwd"
281
- style="@style/ExoStyledControls.Button.Center.Next"/>
282
-
283
- <ImageButton android:id="@id/exo_next"
284
- style="@style/ExoStyledControls.Button.Center.Next"
285
- tools:ignore="ContentDescription" />
286
-
287
- </LinearLayout>
288
-
289
- </androidx.constraintlayout.widget.ConstraintLayout>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Copyright 2020 The Android Open Source Project
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+ Unless required by applicable law or agreed to in writing, software
8
+ distributed under the License is distributed on an "AS IS" BASIS,
9
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ See the License for the specific language governing permissions and
11
+ limitations under the License.
12
+ -->
13
+ <androidx.constraintlayout.widget.ConstraintLayout
14
+ xmlns:android="http://schemas.android.com/apk/res/android"
15
+ xmlns:app="http://schemas.android.com/apk/res-auto"
16
+ xmlns:tools="http://schemas.android.com/tools"
17
+ android:layout_width="match_parent"
18
+ android:layout_height="match_parent"
19
+ android:background="@color/exo_black_opacity_60"
20
+ android:fitsSystemWindows="true">
21
+
22
+ <!-- 0dp dimensions are used to prevent this view from influencing the size of
23
+ the parent view if it uses "wrap_content". It is expanded to occupy the
24
+ entirety of the parent in code, after the parent's size has been
25
+ determined. See: https://github.com/google/ExoPlayer/issues/8726.
26
+ -->
27
+ <View
28
+ android:id="@id/exo_controls_background"
29
+ android:layout_width="match_parent"
30
+ android:layout_height="match_parent" />
31
+
32
+ <ImageView
33
+ android:id="@+id/cast_image"
34
+ android:layout_width="match_parent"
35
+ android:layout_height="match_parent"
36
+ android:adjustViewBounds="true"
37
+ android:foreground="@color/exo_black_opacity_60"
38
+ android:scaleType="centerCrop"
39
+ android:visibility="gone"
40
+ app:layout_constraintBottom_toBottomOf="parent"
41
+ app:layout_constraintEnd_toEndOf="parent"
42
+ app:layout_constraintStart_toStartOf="parent"
43
+ app:layout_constraintTop_toTopOf="parent" />
44
+
45
+ <FrameLayout
46
+ android:layout_height="wrap_content"
47
+ android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
48
+ android:layout_gravity="top"
49
+ android:layoutDirection="ltr"
50
+ android:layout_width="match_parent"
51
+ app:layout_constraintTop_toTopOf="parent">
52
+
53
+ <LinearLayout
54
+ android:layout_width="match_parent"
55
+ android:layout_height="wrap_content"
56
+ android:orientation="horizontal">
57
+
58
+ <LinearLayout
59
+ android:layout_width="0dp"
60
+ android:layout_weight="1"
61
+ android:layout_height="wrap_content"
62
+ android:orientation="horizontal">
63
+
64
+ <ImageButton
65
+ android:id="@+id/exo_close"
66
+ android:layout_width="48dp"
67
+ android:layout_height="48dp"
68
+ android:background="?actionBarItemBackground"
69
+ android:ellipsize="end"
70
+ android:scaleX="1.3"
71
+ android:scaleY="1.3"
72
+ android:src="@drawable/ic_arrow_left"
73
+ android:contentDescription="Back button"/>
74
+
75
+ <LinearLayout
76
+ android:layout_width="wrap_content"
77
+ android:layout_height="wrap_content"
78
+ android:orientation="vertical">
79
+
80
+ <TextView
81
+ android:id="@+id/header_tv"
82
+ android:layout_width="wrap_content"
83
+ android:layout_height="wrap_content"
84
+ android:ellipsize="end"
85
+ android:maxLines="2"
86
+ android:textColor="@color/white"
87
+ android:textSize="18sp"/>
88
+
89
+ <TextView
90
+ android:id="@+id/header_below"
91
+ android:layout_width="wrap_content"
92
+ android:layout_height="wrap_content"
93
+ android:ellipsize="end"
94
+ android:maxLines="2"
95
+ android:textColor="@color/white"
96
+ android:textSize="12sp"
97
+ app:layout_constraintStart_toStartOf="parent"
98
+ app:layout_constraintTop_toBottomOf="@id/header_tv"
99
+ app:layout_constraintWidth_percent="0.9"/>
100
+
101
+ </LinearLayout>
102
+
103
+ </LinearLayout>
104
+
105
+ <LinearLayout
106
+ android:id="@+id/right_buttons"
107
+ android:layout_width="wrap_content"
108
+ android:layout_height="wrap_content">
109
+
110
+ <androidx.mediarouter.app.MediaRouteButton
111
+ android:id="@+id/media_route_button"
112
+ android:layout_width="48dp"
113
+ android:layout_height="48dp"
114
+ android:mediaRouteTypes="user"
115
+ android:background="?actionBarItemBackground"
116
+ android:visibility="gone"/>
117
+
118
+ <ImageButton
119
+ android:id="@+id/exo_pip"
120
+ android:layout_width="48dp"
121
+ android:layout_height="48dp"
122
+ android:background="?actionBarItemBackground"
123
+ android:src="@drawable/ic_pip_white"
124
+ android:visibility="gone"
125
+ android:contentDescription="Picture in picture button"/>
126
+
127
+ <ImageButton
128
+ android:id="@+id/exo_resize"
129
+ android:layout_width="48dp"
130
+ android:layout_height="48dp"
131
+ android:background="?actionBarItemBackground"
132
+ android:src="@drawable/ic_expand"
133
+ android:visibility="gone"
134
+ android:contentDescription="visible"/>
135
+
136
+ </LinearLayout>
137
+
138
+ </LinearLayout>
139
+
140
+ </FrameLayout>
141
+
142
+ <FrameLayout android:id="@id/exo_bottom_bar"
143
+ android:layout_width="match_parent"
144
+ android:layout_height="@dimen/exo_styled_bottom_bar_height"
145
+ android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
146
+ android:layout_gravity="bottom"
147
+ android:layoutDirection="ltr"
148
+ app:layout_constraintBottom_toBottomOf="parent">
149
+
150
+ <LinearLayout android:id="@id/exo_time"
151
+ android:layout_width="wrap_content"
152
+ android:layout_height="wrap_content"
153
+ android:paddingStart="@dimen/exo_styled_bottom_bar_time_padding"
154
+ android:paddingEnd="@dimen/exo_styled_bottom_bar_time_padding"
155
+ android:paddingLeft="@dimen/exo_styled_bottom_bar_time_padding"
156
+ android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
157
+ android:layout_gravity="center_vertical|start"
158
+ android:layoutDirection="ltr">
159
+
160
+ <TextView android:id="@+id/exo_position"
161
+ style="@style/ExoStyledControls.TimeText.Position"/>
162
+
163
+ <TextView
164
+ android:id="@+id/exo_label_separation"
165
+ style="@style/ExoStyledControls.TimeText.Separator"/>
166
+
167
+ <TextView
168
+ android:id="@+id/live_text"
169
+ android:layout_width="wrap_content"
170
+ android:layout_height="wrap_content"
171
+ android:text="LIVE"
172
+ android:textColor="@color/white"
173
+ android:textSize="12sp"
174
+ android:visibility="gone"/>
175
+
176
+ <TextView android:id="@+id/exo_duration"
177
+ style="@style/ExoStyledControls.TimeText.Duration"/>
178
+
179
+ </LinearLayout>
180
+
181
+ <LinearLayout android:id="@id/exo_basic_controls"
182
+ android:layout_width="wrap_content"
183
+ android:layout_height="wrap_content"
184
+ android:layout_gravity="center_vertical|end"
185
+ android:layoutDirection="ltr">
186
+
187
+ <ImageButton android:id="@id/exo_vr"
188
+ style="@style/ExoStyledControls.Button.Bottom.VR"/>
189
+
190
+ <ImageButton android:id="@id/exo_shuffle"
191
+ style="@style/ExoStyledControls.Button.Bottom.Shuffle"/>
192
+
193
+ <ImageButton android:id="@id/exo_repeat_toggle"
194
+ style="@style/ExoStyledControls.Button.Bottom.RepeatToggle"/>
195
+
196
+ <ImageButton android:id="@id/exo_subtitle"
197
+ style="@style/ExoStyledControls.Button.Bottom.CC"/>
198
+
199
+ <ImageButton android:id="@id/exo_settings"
200
+ style="@style/ExoStyledControls.Button.Bottom.Settings"/>
201
+
202
+ <ImageButton android:id="@id/exo_fullscreen"
203
+ style="@style/ExoStyledControls.Button.Bottom.FullScreen"/>
204
+
205
+ <ImageButton android:id="@id/exo_overflow_show"
206
+ style="@style/ExoStyledControls.Button.Bottom.OverflowShow"/>
207
+
208
+ </LinearLayout>
209
+
210
+ <HorizontalScrollView
211
+ android:id="@id/exo_extra_controls_scroll_view"
212
+ android:layout_width="wrap_content"
213
+ android:layout_height="wrap_content"
214
+ android:layout_gravity="center_vertical|end"
215
+ android:visibility="invisible">
216
+
217
+ <LinearLayout
218
+ android:id="@id/exo_extra_controls"
219
+ android:layout_width="wrap_content"
220
+ android:layout_height="wrap_content"
221
+ android:layoutDirection="ltr">
222
+
223
+ <ImageButton
224
+ android:id="@id/exo_overflow_hide"
225
+ style="@style/ExoStyledControls.Button.Bottom.OverflowHide" />
226
+
227
+ </LinearLayout>
228
+
229
+ </HorizontalScrollView>
230
+
231
+ </FrameLayout>
232
+
233
+ <View android:id="@id/exo_progress_placeholder"
234
+ android:layout_width="match_parent"
235
+ android:layout_height="@dimen/exo_styled_progress_layout_height"
236
+ android:layout_gravity="bottom"
237
+ android:layout_marginBottom="@dimen/exo_styled_progress_margin_bottom"
238
+ app:layout_constraintBottom_toBottomOf="parent"/>
239
+
240
+ <LinearLayout android:id="@id/exo_minimal_controls"
241
+ android:layout_width="wrap_content"
242
+ android:layout_height="wrap_content"
243
+ android:layout_gravity="bottom|end"
244
+ android:layout_marginBottom="@dimen/exo_styled_minimal_controls_margin_bottom"
245
+ android:orientation="horizontal"
246
+ android:gravity="center_vertical"
247
+ android:layoutDirection="ltr"
248
+ app:layout_constraintTop_toTopOf="parent"
249
+ app:layout_constraintRight_toRightOf="parent"
250
+ >
251
+
252
+ <ImageButton android:id="@id/exo_minimal_fullscreen"
253
+ style="@style/ExoStyledControls.Button.Bottom.FullScreen"/>
254
+
255
+ </LinearLayout>
256
+
257
+ <LinearLayout
258
+ android:id="@id/exo_center_controls"
259
+ android:layout_width="wrap_content"
260
+ android:layout_height="wrap_content"
261
+ android:layout_gravity="center"
262
+ android:background="@android:color/transparent"
263
+ android:gravity="center"
264
+ android:padding="@dimen/exo_styled_controls_padding"
265
+ android:clipToPadding="false"
266
+ app:layout_constraintTop_toTopOf="parent"
267
+ app:layout_constraintRight_toRightOf="parent"
268
+ app:layout_constraintLeft_toLeftOf="parent"
269
+ app:layout_constraintBottom_toBottomOf="parent">
270
+
271
+ <ImageButton android:id="@id/exo_prev"
272
+ style="@style/ExoStyledControls.Button.Center.Previous"/>
273
+
274
+ <ImageButton android:id="@id/exo_rew"
275
+ style="@style/ExoStyledControls.Button.Center.Previous"/>
276
+
277
+ <ImageButton android:id="@id/exo_play_pause"
278
+ style="@style/ExoStyledControls.Button.Center.PlayPause"/>
279
+
280
+ <ImageButton android:id="@id/exo_ffwd"
281
+ style="@style/ExoStyledControls.Button.Center.Next"/>
282
+
283
+ <ImageButton android:id="@id/exo_next"
284
+ style="@style/ExoStyledControls.Button.Center.Next"
285
+ tools:ignore="ContentDescription" />
286
+
287
+ </LinearLayout>
288
+
289
+ </androidx.constraintlayout.widget.ConstraintLayout>