Skip to content

Commit

Permalink
hzuapps#3 hzuapps#53 第五次实验
Browse files Browse the repository at this point in the history
第4、5次实验代码
  • Loading branch information
JeesionChone authored Jan 8, 2021
1 parent fd87034 commit 3d72aea
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions students/net1814080903310/activity_play1814080903310.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".students.net1814080903310.PlayVideo18148080903310Activity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<VideoView
android:id="@+id/videoView2"
android:layout_width="354dp"
android:layout_height="242dp"
android:layout_weight="1" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<Button
android:id="@+id/startVideo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="播放" />

<Button
android:id="@+id/stopVideo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="结束" />
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 3d72aea

Please sign in to comment.