<?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>
Android的MediaPlayer—3
猜你喜欢
转载自mickey-hou.iteye.com/blog/1746492
今日推荐
周排行