You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.9 KiB
54 lines
1.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context=".watchtv.HomeFragment"
|
|
>
|
|
|
|
<!-- TODO: Update blank fragment layout -->
|
|
<EditText
|
|
android:id="@+id/et_home"
|
|
android:layout_width="350sp"
|
|
android:layout_height="200sp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="left|top"
|
|
android:background="@drawable/edit_background"
|
|
android:hint="输入视频播放路径"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="350sp"
|
|
android:layout_height="50sp"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_gravity="center_horizontal">
|
|
<Button
|
|
android:id="@+id/bt_collect"
|
|
android:layout_width="100sp"
|
|
android:layout_height="wrap_content"
|
|
android:text="收藏"/>
|
|
<Button
|
|
android:id="@+id/bt_play"
|
|
android:layout_width="100sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:text="预览"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:layout_width="350sp"
|
|
android:layout_height="200sp"
|
|
android:gravity="center"
|
|
android:layout_marginTop="20sp"
|
|
android:layout_gravity="center_horizontal">
|
|
<VideoView
|
|
android:id="@+id/vv_home"
|
|
android:layout_width="350sp"
|
|
android:layout_height="200sp" />
|
|
</RelativeLayout>
|
|
<Button
|
|
android:id="@+id/newplayer"
|
|
android:layout_width="100dp"
|
|
android:layout_height="50dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="播放"/>
|
|
</LinearLayout> |