<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
tools:context=".ui.VideoPlay">
<RelativeLayout
android:id="@+id/videoplay_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@android:color/transparent">
<io.vov.vitamio.widget.VideoView
android:id="@+id/video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"/>
<io.vov.vitamio.widget.MediaController
android:id="@+id/video_controller"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- header -->
<RelativeLayout
android:id="@+id/video_controller_header"
android:layout_width="fill_parent"
android:layout_height="48dp"
android:layout_alignParentTop="true"
android:background="@color/background_color_black">
<ImageButton
android:id="@+id/video_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:padding="10dp"
android:layout_marginLeft="5dp"
android:maxWidth="50dp"
android:src="@drawable/mo_video_play_back_btn_bg"
android:scaleType="fitCenter"
android:background="@android:color/transparent"/>
<TextView
android:id="@+id/video_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/video_back"
android:layout_centerVertical="true"
android:singleLine="true"
android:ellipsize="marquee"
android:focusableInTouchMode="true"
android:focusable="true"
android:marqueeRepeatLimit="marquee_forever"
android:text="09DOTA高分局"
android:textColor="@android:color/white"
android:textSize="20dp"
android:maxLength="20"
android:gravity="center"/>
<ImageView
android:id="@+id/video_subscribe"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:src="@drawable/mo_video_play_live_subscribe_btn_bg"
android:visibility="gone"
android:padding="10dp"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/video_title"/>
<TextView
android:id = "@+id/resolution_tv"
android:layout_width ="50dp"
android:layout_height ="fill_parent"
android:text = "@string/hd"
android:textColor="@color/resolution_text_color_light_blue"
android:textSize="16dp"
android:gravity="center"
android:layout_alignParentRight="true"
android:layout_marginRight="110dp"/>
<ImageView
android:id="@+id/video_refresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:src="@drawable/mo_video_play_refresh_btn_bg"
android:visibility="gone"
android:padding="10dp"
android:layout_marginRight="60dp"/>
<ImageView
android:id="@+id/video_full_screen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:padding="10dp"
android:src="@drawable/mo_video_play_fullscreen_btn_bg"
android:layout_marginRight="60dp"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:orientation="vertical"
android:layout_centerVertical="true">
<TextView
android:id="@+id/video_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/video_battery_level"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:layout_below="@+id/video_controller_header"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height = "wrap_content"
android:background="@color/background_color_black"
android:layout_marginRight="110dp">
<ListView
android:id = "@+id/resolution_lv"
android:layout_width = "50dp"
android:layout_height = "wrap_content"
android:divider="@android:color/transparent"
android:visibility = "gone"
android:background="@color/background_color_black"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/video_controller_progressbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/background_color_black">
<TextView
android:id="@+id/mediacontroller_time_total"
style="@style/MediaController_Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="5dp" />
<TextView
android:id="@+id/mediacontroller_time_current"
style="@style/MediaController_Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_toLeftOf="@+id/mediacontroller_time_total" />
<SeekBar
android:id="@+id/mediacontroller_seekbar"
style="@style/MediaController_SeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/mediacontroller_time_current"
android:layout_alignParentLeft="true"
android:layout_marginLeft="5dp"
android:focusable="true"
android:max="1000" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/mediacontroller_playorpause_set"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:minWidth="200dp"
android:layout_centerHorizontal="true"
android:layout_above="@+id/video_controller_progressbar"
android:background="@drawable/mo_video_play_bg">
<ImageButton
android:id="@+id/mediacontroller_play_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginLeft="5dp"
android:background="@android:color/transparent"
android:contentDescription="@string/mediacontroller_play_pause"
android:src="@drawable/mediacontroller_pause" />
<ImageButton
android:id="@+id/mediacontroller_comment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/mediacontroller_play_pause"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:background="@android:color/transparent"
android:src="@drawable/mo_video_play_comment_btn_bg" />
<ImageButton
android:id="@+id/mediacontroller_barrage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+i
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
VideoPlay.zip (71个子文件)
VideoPlay
target
res_VideoPlay
res
drawable-ldpi
ic_launcher.png 3KB
raw
libarm.so 16.95MB
drawable-hdpi
uz_icon.png 3KB
ic_launcher.png 9KB
uz_splash_bg.png 28KB
uz_pull_down_refresh_arrow.png 501B
drawable-xhdpi
scrubber_secondary_holo.9.png 3KB
scrubber_control_normal_holo.png 4KB
scrubber_track_holo_dark.9.png 184B
uz_icon.png 4KB
scrubber_control_focused_holo.png 4KB
ic_launcher.png 14KB
uz_splash_bg.png 34KB
scrubber_control_pressed_holo.png 5KB
scrubber_control_disabled_holo.png 4KB
mediacontroller_pause.png 4KB
scrubber_primary_holo.9.png 3KB
mediacontroller_play.png 5KB
drawable
scrubber_progress_horizontal_holo_dark.xml 1KB
scrubber_control_selector_holo.xml 1KB
uz_thumb_ver.9.png 135B
uz_thumb_hor.png 177B
mediacontroller_button.xml 450B
drawable-xxhdpi
mo_video_play_live_subscribe_btn_bg.png 5KB
mo_video_play_live_subscribed_btn_bg.png 4KB
mo_video_play_volume_mute_btn_bg.png 3KB
mo_video_play_apple_bg.png 356B
mo_video_play_comment_btn_bg.png 4KB
mo_video_play_loading_3_bg.png 7KB
mo_video_play_fullscreen_btn_bg.png 4KB
mo_video_play_volume_btn_bg.png 6KB
mo_video_play_loading_11_bg.png 7KB
uz_icon.png 5KB
mo_video_play_loading_5_bg.png 7KB
uz_splash_bg.png 45KB
mo_video_play_volume_mid_btn_bg.png 4KB
mo_video_play_apple_tips_bg.png 14KB
mo_video_play_back_btn_bg.png 4KB
mo_video_play_loading_8_bg.png 7KB
mo_video_play_refresh_btn_bg.png 5KB
mo_video_play_loading_4_bg.png 7KB
mo_video_play_apple_btn_bg.png 12KB
mo_video_play_release_btn_bg.png 4KB
mo_video_play_loading_7_bg.png 7KB
mo_video_play_barrage_off_btn_bg.png 4KB
mo_video_play_loading_9_bg.png 7KB
mo_video_play_loading_2_bg.png 7KB
mo_video_play_loading_10_bg.png 7KB
mo_video_play_loading_6_bg.png 7KB
mo_video_play_loading_0_bg.png 7KB
mo_video_play_volume_small_btn_bg.png 3KB
mo_video_play_loading_1_bg.png 7KB
mo_video_play_volume_big_btn_bg.png 4KB
mo_video_play_lock_btn_bg.png 4KB
mo_video_play_barrage_on_btn_bg.png 3KB
mo_video_play_bg.9.png 4KB
values
colors.xml 231B
strings.xml 1KB
mo_video_play_colors.xml 193B
styles.xml 928B
mo_video_play_strings.xml 183B
drawable-mdpi
uz_icon.png 3KB
ic_launcher.png 5KB
anim
mo_video_play_loading_anim.xml 1KB
layout
mo_video_play_activity_layout.xml 12KB
mediacontroller.xml 3KB
AndroidManifest.xml 2KB
module.json 80B
source
vitamio.jar 290KB
fastJson-android.jar 234KB
VideoPlay.jar 16KB
共 71 条
- 1
资源评论
as193728
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 微信小程序 - 图书管理系统源码.zip
- 微信小程序 - 图片自适应 ,富文本解析源码.zip
- 微信小程序 - 同乐居商城:购物车合算源码
- 1、根据输入的三条边值判断能组成何种三角形,并设计测试数据进行判定覆盖测试 三条边为变量a、b、c,范围为1≤边值≤10,不在范
- SQL server 练习题目8道(小白教学).zip
- Python 手写实现 iD3 决策树算法-根据信息增益公式.zip
- 411675952289057车联助手-小窗版(三星)3.5.1.apk
- 三种快速排序方法合并在一个文件中以便直接运行的Python代码示例
- 937712277954201实习5.word
- 2程序语言基础知识pdf1_1716337722703.jpeg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功