|
|
|
@ -2,75 +2,102 @@
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:id="@+id/media_controller_ll"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#6000"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/seek_bar_container"
|
|
|
|
|
android:id="@+id/back_area"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingTop="@dimen/_30dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:layout_height="@dimen/_87dp"
|
|
|
|
|
android:background="#6000"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time_current"
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:paddingLeft="@dimen/_20dp"
|
|
|
|
|
android:paddingRight="@dimen/_20dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
android:layout_height="@dimen/_40dp"
|
|
|
|
|
android:layout_marginStart="@dimen/_31dp"
|
|
|
|
|
android:src="@mipmap/ic_back" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
|
android:id="@+id/media_controller_progress"
|
|
|
|
|
style="@style/CustomSeekbarStyle"
|
|
|
|
|
android:layout_width="0dip"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:progress="0"/>
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/total_time"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/control_area"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#6000"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/seek_bar_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:paddingLeft="@dimen/_20dp"
|
|
|
|
|
android:paddingRight="@dimen/_20dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingTop="@dimen/_30dp">
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time_current"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:paddingLeft="@dimen/_20dp"
|
|
|
|
|
android:paddingRight="@dimen/_20dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/_108dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingHorizontal="@dimen/_580dp">
|
|
|
|
|
<SeekBar
|
|
|
|
|
android:id="@+id/media_controller_progress"
|
|
|
|
|
style="@style/CustomSeekbarStyle"
|
|
|
|
|
android:layout_width="0dip"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:progress="0" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/rewind"
|
|
|
|
|
style="@android:style/MediaButton.Rew"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_moveback_btn" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/total_time"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:paddingLeft="@dimen/_20dp"
|
|
|
|
|
android:paddingRight="@dimen/_20dp"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_30dp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/pause"
|
|
|
|
|
style="@android:style/MediaButton.Play"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_stop_white" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/fast_forward"
|
|
|
|
|
style="@android:style/MediaButton.Ffwd"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_forward_btn" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/_108dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingHorizontal="@dimen/_580dp">
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/rewind"
|
|
|
|
|
style="@android:style/MediaButton.Rew"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_moveback_btn" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/pause"
|
|
|
|
|
style="@android:style/MediaButton.Play"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_stop_white" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/fast_forward"
|
|
|
|
|
style="@android:style/MediaButton.Ffwd"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:src="@drawable/new_forward_btn" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|