home_media_controller.xml 2.3 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

    <ImageView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@mipmap/gradient_play"/>

    <RelativeLayout
        android:paddingLeft="@dimen/ui_DIMEN_20.0PX"
        android:id="@+id/rl_operation_play"
        android:layout_width="@dimen/ui_DIMEN_70.0PX"
        android:layout_centerVertical="true"
        android:layout_height="@dimen/ui_DIMEN_70.0PX">

        <ImageButton
            android:layout_marginLeft="@dimen/ui_DIMEN_20.0PX"
            android:id="@+id/iv_operation_play"
            android:layout_width="wrap_content"
            android:layout_centerInParent="true"
            android:layout_height="wrap_content"
            android:background="@null"
            android:src="@mipmap/play"/>

    </RelativeLayout>
    <RelativeLayout
        android:id="@+id/rl_meadia_contriller_right"
        android:gravity="center"
        android:layout_toRightOf="@id/rl_operation_play"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/ui_DIMEN_6.0PX"
        android:layout_height="@dimen/ui_DIMEN_70.0PX">
        <TextView
            android:id="@+id/tv_current_time"
            style="@style/ui_wrapTvBaseStyle"
            android:minWidth="@dimen/ui_DIMEN_100.0PX"
            android:textColor="@color/white"
            android:gravity="end"
            tools:text="12:00:12"/>



        <TextView
            android:id="@+id/tv_end_time"
            style="@style/ui_wrapTvBaseStyle"
            android:layout_alignParentRight="true"
            android:layout_marginRight="@dimen/ui_DIMEN_30.0PX"
            android:textColor="@color/white"
            tools:text="12:00"/>


        <SeekBar
            android:id="@+id/sb_live"
            style="@style/home_seek_bar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_toLeftOf="@id/tv_end_time"
            android:layout_toRightOf="@id/tv_current_time"/>
    </RelativeLayout>


</RelativeLayout>