layout_player_controller_vertical.xml 1.98 KB
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:test="http://schemas.android.com/tools">

    <RelativeLayout
        android:id="@+id/bottomLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true">

        <ImageView
            android:id="@+id/playBtn"
            android:layout_width="20dp"
            android:layout_height="20dp"
            android:layout_centerVertical="true"
            android:layout_marginLeft="7dp"
            android:layout_marginRight="5dp"
            android:src="@mipmap/player_play" />

        <TextView
            android:id="@+id/playTime"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toRightOf="@+id/playBtn"
            android:textColor="#ffffff"
            android:textSize="10sp"
            test:text="00:00" />

        <SeekBar
            android:id="@+id/playProgress"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_margin="2dp"
            android:layout_toLeftOf="@+id/fullScreen"
            android:layout_toRightOf="@+id/playTime"
            android:maxHeight="2dp"
            android:minHeight="2dp"
            android:padding="8dp"
            android:progressDrawable="@drawable/player_seekbar"
            android:thumb="@mipmap/player_thumb"
            android:thumbOffset="4dp" />

        <ImageView
            android:id="@+id/fullScreen"
            android:layout_width="29dp"
            android:layout_height="29dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_margin="3dp"
            android:src="@mipmap/player_fullscreen" />

    </RelativeLayout>

</merge>