|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_margin="20dp"
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:id="@+id/id_pop_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="#50000000"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:orientation="vertical"
|
|
|
android:layout_marginTop="20dp"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/music_name"
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
<RelativeLayout
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<SeekBar
|
|
|
android:id="@+id/seekBar"
|
|
|
android:layout_marginTop="80dp"
|
|
|
android:layout_width="match_parent"
|
|
|
android:progressDrawable="@drawable/seekbar_style"
|
|
|
android:thumb="@drawable/seekbar_thumb"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@drawable/shape_solid_10_10_fff"
|
|
|
android:orientation="vertical"
|
|
|
android:padding="@dimen/dp_20">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_below="@id/seekBar"
|
|
|
android:layout_alignEnd="@id/seekBar"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/music_cur"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:id="@+id/music_name"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="/"/>
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/music_length"
|
|
|
android:id="@+id/tv_downloud"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="下载到手机"
|
|
|
android:textColor="#FFAB13" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
</LinearLayout>
|
|
|
<SeekBar
|
|
|
android:id="@+id/seekBar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="40dp"
|
|
|
android:progressDrawable="@drawable/seekbar_style"
|
|
|
android:thumb="@drawable/seekbar_thumb" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:gravity="center"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@id/seekBar"
|
|
|
android:layout_alignEnd="@id/seekBar"
|
|
|
android:layout_marginTop="@dimen/dp_5">
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/play"
|
|
|
android:src="@mipmap/ic_music_play2x"
|
|
|
android:background="@null"
|
|
|
android:layout_width="25dp"
|
|
|
android:layout_height="25dp"/>
|
|
|
<TextView
|
|
|
android:id="@+id/music_cur"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="ddde" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/pause"
|
|
|
android:src="@mipmap/ic_sound_recording"
|
|
|
android:background="@null"
|
|
|
android:layout_marginLeft="20dp"
|
|
|
android:layout_width="25dp"
|
|
|
android:layout_height="25dp"/>
|
|
|
<TextView
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/stop"
|
|
|
android:src="@mipmap/ic_sound_recording"
|
|
|
android:background="@null"
|
|
|
android:layout_marginLeft="20dp"
|
|
|
android:layout_width="25dp"
|
|
|
android:layout_height="25dp"/>
|
|
|
<TextView
|
|
|
android:id="@+id/music_length"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="ddd" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:gravity="center">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/play"
|
|
|
android:layout_width="@dimen/dp_72"
|
|
|
android:layout_height="@dimen/dp_72"
|
|
|
android:background="@null"
|
|
|
android:src="@mipmap/ic_music_play2x" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/pause"
|
|
|
android:layout_width="25dp"
|
|
|
android:layout_height="25dp"
|
|
|
android:layout_marginLeft="20dp"
|
|
|
android:visibility="gone"
|
|
|
android:background="@null"
|
|
|
android:src="@mipmap/ic_sound_recording" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/stop"
|
|
|
android:layout_width="25dp"
|
|
|
android:layout_height="25dp"
|
|
|
android:layout_marginLeft="20dp"
|
|
|
android:visibility="gone"
|
|
|
android:background="@null"
|
|
|
android:src="@mipmap/ic_sound_recording" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:gravity="bottom|right"
|
|
|
android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
android:layout_height="match_parent"
|
|
|
android:gravity="bottom|right"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/volume_plus"
|
|
|
android:src="@android:drawable/ic_input_add"
|
|
|
android:background="@null"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@null"
|
|
|
android:src="@android:drawable/ic_input_add" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/volume_decrease"
|
|
|
android:src="@android:drawable/arrow_down_float"
|
|
|
android:background="@null"
|
|
|
android:layout_marginTop="20dp"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="20dp"
|
|
|
android:background="@null"
|
|
|
android:src="@android:drawable/arrow_down_float" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout> |
|
|
\ No newline at end of file |
|
|
</LinearLayout> |
|
|
\ No newline at end of file |
...
|
...
|
|