-
Notifications
You must be signed in to change notification settings - Fork 1
/
track_selection_dialog.xml
75 lines (67 loc) · 2.73 KB
/
track_selection_dialog.xml
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/md_grey_100B"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/layout_quality_heading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20sp"
android:layout_marginBottom="24sp"
android:layout_marginEnd="19sp">
<TextView
android:id="@+id/quality_heading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:fontFamily="sans-serif-light"
android:text="Video Resolution"
android:textColor="@color/white"
android:textFontWeight="600"
android:textSize="18sp"/>
<ImageView
android:id="@+id/cancelBtn"
android:layout_width="18sp"
android:layout_height="18sp"
android:layout_alignParentEnd="true"
android:layout_marginTop="5sp"
android:src="@drawable/ic_end_call"
tools:ignore="ContentDescription" />
</RelativeLayout>
<com.google.android.exoplayer2.ui.TrackSelectionView
android:id="@+id/exo_track_selection_init_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24sp"
android:layout_marginBottom="10sp"
android:layout_marginEnd="20sp"
android:gravity="end"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/applyBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/primaryColor"
android:letterSpacing="0"
android:text="Apply"
android:textAllCaps="false"
android:textColor="@color/white"
android:textFontWeight="500"
android:fontFamily="sans-serif-light"
android:textSize="16sp"
app:cornerRadius="4sp"
android:insetTop="0dp"
android:insetBottom="0dp"
android:minWidth="0dp"
android:minHeight="0dp"
android:paddingHorizontal="14sp"
android:paddingVertical="8sp"/>
</LinearLayout>
</LinearLayout>