1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
4 |
xmlns:tools="http://schemas.android.com/tools"
|
|
|
5 |
android:layout_width="match_parent"
|
|
|
6 |
android:layout_height="match_parent"
|
|
|
7 |
tools:context=".activity.VideoAudioActivity">
|
|
|
8 |
|
|
|
9 |
<com.google.android.exoplayer2.ui.PlayerView
|
|
|
10 |
app:surface_type="texture_view"
|
|
|
11 |
android:id="@+id/activity_video_audio_player"
|
|
|
12 |
android:layout_width="match_parent"
|
|
|
13 |
android:layout_height="match_parent"
|
|
|
14 |
app:resize_mode="fit"
|
|
|
15 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
16 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
17 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
18 |
app:layout_constraintBottom_toBottomOf="parent" >
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<ProgressBar
|
|
|
22 |
android:id="@+id/activity_video_audio_progress_bar"
|
|
|
23 |
android:layout_width="wrap_content"
|
|
|
24 |
android:layout_height="wrap_content"
|
|
|
25 |
android:layout_gravity="center"
|
|
|
26 |
android:visibility="invisible" />
|
|
|
27 |
|
|
|
28 |
</com.google.android.exoplayer2.ui.PlayerView>
|
|
|
29 |
|
|
|
30 |
</androidx.constraintlayout.widget.ConstraintLayout>
|