<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="horizontal" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"> <TextView android:id="@+id/tv_current_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/play_time_start" android:textColor="@color/white" android:textSize="10sp" /> <SeekBar android:id="@+id/sb_progress" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:maxHeight="2dp" android:minHeight="2dp" android:progressDrawable="@drawable/seek_bar_progress_style" android:thumb="@drawable/ic_seek_bar_progress_btn" /> <TextView android:id="@+id/tv_total_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/play_time_start" android:textColor="@color/white_50p" android:textSize="10sp" /> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/iv_mode" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:src="@drawable/play_mode_level_list" /> <ImageView android:id="@+id/iv_prev" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/iv_play" android:src="@drawable/play_btn_prev_selector" /> <ImageView android:id="@+id/iv_play" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:src="@drawable/play_btn_play_pause_selector" /> <ImageView android:id="@+id/iv_next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toRightOf="@id/iv_play" android:src="@drawable/play_btn_next_selector" /> </RelativeLayout> </LinearLayout>