|
|
@ -8,12 +8,23 @@ |
|
|
|
android:clickable="true" |
|
|
|
android:clickable="true" |
|
|
|
android:focusable="true"> |
|
|
|
android:focusable="true"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<VideoView |
|
|
|
|
|
|
|
android:id="@+id/videoPlayer" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
android:layout_gravity="center" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/mediaDescription" |
|
|
|
android:id="@+id/mediaDescription" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/toolbar" |
|
|
|
android:layout_marginTop="?attr/actionBarSize" |
|
|
|
app:layout_constraintBottom_toTopOf="@+id/videoPlayer" |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
android:background="#60000000" |
|
|
|
android:background="#60000000" |
|
|
|
android:lineSpacingMultiplier="1.1" |
|
|
|
android:lineSpacingMultiplier="1.1" |
|
|
|
android:padding="8dp" |
|
|
|
android:padding="8dp" |
|
|
@ -22,17 +33,6 @@ |
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
tools:text="Some media description" /> |
|
|
|
tools:text="Some media description" /> |
|
|
|
|
|
|
|
|
|
|
|
<VideoView |
|
|
|
|
|
|
|
android:id="@+id/videoPlayer" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
android:layout_gravity="center" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ProgressBar |
|
|
|
<ProgressBar |
|
|
|
android:id="@+id/progressBar" |
|
|
|
android:id="@+id/progressBar" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|