aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/exo_autoplay_playback_control_view_legacy.xml
blob: 1295c4c2a0fdb23e68ead3521d083fafb0030ff0 (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/linear_layout_exo_playback_control_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingStart="8dp"
    android:paddingEnd="8dp"
    android:layout_gravity="bottom"
    android:orientation="vertical"
    android:background="@drawable/background_autoplay">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <TextView
            android:id="@id/exo_position"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_centerVertical="true"
            android:includeFontPadding="false"
            android:layout_marginStart="8dp"
            android:textColor="#FFFFFF"
            android:textSize="?attr/font_default"
            android:textStyle="bold"
            android:fontFamily="?attr/font_family" />

        <TextView
            android:id="@+id/slash"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_toEndOf="@id/exo_position"
            android:layout_centerVertical="true"
            android:text="/"
            android:textColor="#FFFFFF"
            android:textSize="?attr/font_default"
            android:textStyle="bold"
            android:fontFamily="?attr/font_family" />

        <TextView android:id="@id/exo_duration"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_toEndOf="@id/slash"
            android:layout_centerVertical="true"
            android:includeFontPadding="false"
            android:textColor="#FFFFFF"
            android:textSize="?attr/font_default"
            android:textStyle="bold"
            android:fontFamily="?attr/font_family" />

        <ImageView android:id="@id/exo_play"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:layout_centerInParent="true"
            android:src="@drawable/ic_play_arrow_24dp" />

        <ImageView
            android:id="@+id/mute_exo_playback_control_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:layout_toStartOf="@id/fullscreen_exo_playback_control_view"
            android:src="@drawable/ic_mute_24dp"
            android:visibility="gone" />

        <ImageView
            android:id="@+id/fullscreen_exo_playback_control_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:layout_alignParentEnd="true"
            android:src="@drawable/ic_fullscreen_white_rounded_24dp" />

    </RelativeLayout>

    <androidx.media3.ui.DefaultTimeBar
        android:id="@id/exo_progress"
        android:layout_width="wrap_content"
        android:layout_height="26dp"/>

</LinearLayout>