layout_player_controller_vertical.xml
1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?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>