- 浏览: 238361 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
江恂泽:
楼主 这家伙会把data 拆分开来 转换成day year形 ...
JsonUtil -
mdsp25xhm:
为何没有列表查询功能?
myBatis DAO封装
<?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="fill_parent"
android:layout_height="fill_parent" >
<SurfaceView
android:id="@+id/surfaceView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</SurfaceView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="4.0dip"
android:orientation="horizontal" >
<ImageView
android:id="@+id/btnPause"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videopause" />
<ImageView
android:id="@+id/btnpre"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videopre" />
<ImageView
android:id="@+id/btnPlay"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videoplay" />
<ImageView
android:id="@+id/btnnext"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videonext" />
<ImageView
android:id="@+id/btnStop"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videostop" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dip"
android:orientation="horizontal" >
<SeekBar
android:id="@+id/skbProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1.0"
android:max="100"
android:paddingLeft="10dip"
android:paddingRight="10dip"
tools:ignore="InefficientWeight" >
</SeekBar>
</LinearLayout>
</LinearLayout>
</FrameLayout>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<SurfaceView
android:id="@+id/surfaceView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</SurfaceView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="4.0dip"
android:orientation="horizontal" >
<ImageView
android:id="@+id/btnPause"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videopause" />
<ImageView
android:id="@+id/btnpre"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videopre" />
<ImageView
android:id="@+id/btnPlay"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videoplay" />
<ImageView
android:id="@+id/btnnext"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videonext" />
<ImageView
android:id="@+id/btnStop"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:contentDescription="@string/content_description"
android:src="@drawable/videostop" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dip"
android:orientation="horizontal" >
<SeekBar
android:id="@+id/skbProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1.0"
android:max="100"
android:paddingLeft="10dip"
android:paddingRight="10dip"
tools:ignore="InefficientWeight" >
</SeekBar>
</LinearLayout>
</LinearLayout>
</FrameLayout>
发表评论
-
IMF简介-2
2013-07-09 17:56 855InputManager 由UI控件(View,TextVie ... -
IMF简介-1
2013-07-09 17:51 776Input Method Framework 目录 ... -
输入法 总结-3
2013-07-08 15:02 819public class MainActivity exten ... -
输入法 总结-4
2013-07-04 17:29 902public class InputActivity exte ... -
输入法 总结-3
2013-07-04 17:28 832public class InputApplication e ... -
输入法 总结-2
2013-07-04 17:23 740openwnn_pref_ja.xml <?xml v ... -
输入法 总结-2
2013-07-04 17:21 13openwnn_pref_ja.xml <?xml v ... -
输入法 总结-1
2013-07-04 17:19 766<application android ... -
Android快捷键
2013-03-15 14:39 774Home键(小房子键) 在 ... -
如何通过wifi调试android程序
2013-02-27 15:48 717android手机居然可以通过wifi进行程序的调试,太好了, ... -
Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-
2013-02-27 14:27 1610adt 出现ADB server didn't ACK, fa ... -
Android AsyncTask
2013-02-19 09:35 1064AsyncTask是抽象类,子类 ... -
Android ViewPager 左右滑动2-1
2013-01-29 10:12 1409public class PagerActivity exte ... -
Android ViewPager 左右滑动-3
2013-01-29 10:10 1066<?xml version="1.0" ... -
Android ViewPager 左右滑动-2
2013-01-29 10:10 1404/*** * 选中效果 */ pu ... -
Android ViewPager 左右滑动-1
2013-01-29 10:09 1337Store extends ActivityGroup imp ... -
Android 下载
2013-01-27 00:59 869下载apk程序代码 protected File downLo ... -
Android SDCard操作-3
2013-01-26 18:31 847public static Intent getVid ... -
Android SDCard操作-2
2013-01-26 18:30 1035/** * 判断该应用在手机中的安装情况 ... -
Android SDCard操作-1
2013-01-26 18:27 1000private static int INSTALLED = ...
相关推荐
Android MediaPlayer播放mp3的实例
Android下MediaPlayer播放MP3示例,详细参见博客:http://www.cnblogs.com/plokmju/p/android_MediaPlayer.html
Android MediaPlayer 自定义循环次数
Android 中级教程之------Android MediaPlayer播放mp3的实例 是提示性代码!
Android MediaPlayer使用方法简单介绍
Android mediaPlayer demo 简单的demo
簡易Android MediaPlayer,使用android studio開啟,可快轉 倒轉 暫停 停止 撥放,支援音樂時間倒數。
Android MediaPlayer Playback---多媒体开发应用程序接口
详情见博客:https://blog.csdn.net/qq_20785431/article/details/100543504
android mediaPlayer android mediaPlayer
Android的MediaPlayer架构介绍
Android使用MediaPlayer高级内容,详情参见博客:http://www.cnblogs.com/plokmju/p/android_MediaPlayerHigh.html
Android MediaPlayer
如何实现一个简单的代理服务器(仅支持Http Get),与Android的MediaPlayer结合,从而可以扩展出“播放 反盗链的媒体文件”,“边播放边保存”的功能。
Android 使用MediaPlayer播放assets或者raw目录的音频文件 https://blog.csdn.net/qq_31939617/article/details/80491552
Android 视频播放demo MediaPlayer+Surface实现 播放网络视频: MyMediaPlayer.getInstance().play("http://download.cntv.cn/docuchina/PSA/2017/08/28/3b69f457848e0b497b12e356376515df_mpeg28000000PCM.mp4"); ...
Android MediaPlayer视频播放器
Android player example source code
在基础篇之上扩展,可以支持seek,更接近实际使用。