www.pudn.com > videoplayer.rar > playvideolayout.xml, change:2011-03-04,size:4125b


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="fill_parent" 
    android:layout_height="fill_parent" android:id="@+id/pvlayout" android:gravity="bottom|center" android:layout_gravity="center" android:clickable="true" android:onClick="onClick" android:padding="20dp">


	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
				android:id="@+id/listLayout"
			    android:layout_height="180dip"
		    	android:layout_width="fill_parent"
		    	android:layout_gravity="top"
		    	android:orientation="horizontal"
		    	android:layout_alignParentTop="true">
	
		<ListView 
			android:orientation="horizontal"
	    	android:background = "#55333333"
			android:layout_height="180dip" 
			android:layout_width="fill_parent"
			android:id="@+id/FileList">
		</ListView>
	</LinearLayout>

	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
			android:id="@+id/subtitleLayout"
	    	android:layout_height="wrap_content"
	    	android:layout_width="fill_parent"
	    	android:gravity="center"
	    	android:orientation="horizontal" android:layout_gravity="bottom" android:clipChildren="false"
	    	android:layout_alignParentBottom="true">
	    <com.subtitleview.SubtitleView
	    	android:id="@+id/subTitle"
	    	android:minHeight = "60dip"
	    	android:layout_height = "wrap_content"
	    	android:layout_width ="fill_parent"
	    	android:layout_gravity="center"
	    	android:gravity="center"
	    	android:textSize="16dip"
	    	android:textStyle="bold"
	    	android:paddingLeft = "7dip"
	    	android:textColor = "#ffffff"
	    	android:paddingBottom = "2dip">
	    </com.subtitleview.SubtitleView>
	</LinearLayout>

    <RelativeLayout android:id="@+id/controlsLayout"
        android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
		<ImageButton android:id="@+id/subtitleBtn"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_toLeftOf="@+id/preBtn" android:background="@drawable/subtitle_button" android:layout_marginRight="10dp"></ImageButton>
        <ImageButton android:id="@+id/preBtn"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:background="@drawable/pre_button" android:layout_above="@+id/seekBar"
            android:layout_toLeftOf="@+id/playBtn"></ImageButton>
        <ImageButton android:id="@+id/playBtn"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_centerHorizontal="true" android:background="@drawable/play_button"></ImageButton>
        <ImageButton android:id="@+id/nextBtn"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_toRightOf="@+id/playBtn" android:background="@drawable/next_button"></ImageButton>
        <SeekBar android:id="@+id/seekBar" android:layout_height="wrap_content"
            android:layout_width="fill_parent" android:max="100"
            android:layout_below="@+id/playBtn" android:progressDrawable="@drawable/seekbar_style" style="?android:attr/progressBarStyleHorizontal"></SeekBar>
        <TextView android:id="@+id/currentTime"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_above="@+id/seekBar" android:text="@string/noTime"></TextView>
        <TextView android:id="@+id/totalTime"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_above="@+id/seekBar"
            android:layout_alignParentRight="true" android:text="@string/noTime"></TextView>
        <ImageButton android:id="@+id/browserBtn"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_toRightOf="@+id/nextBtn" android:background="@drawable/browser_button" android:layout_marginLeft="10dp"></ImageButton>
	</RelativeLayout>
	

</RelativeLayout>