11<?xml version =" 1.0" encoding =" utf-8" ?>
22<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : app =" http://schemas.android.com/apk/res-auto"
4- xmlns : tools =" http://schemas.android.com/tools"
3+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4+ xmlns : tools =" http://schemas.android.com/tools"
5+ android : layout_width =" match_parent"
6+ android : layout_height =" match_parent"
7+ android : orientation =" vertical"
8+ tools : context =" .MainActivity" >
9+
10+ <FrameLayout
511 android : layout_width =" match_parent"
6- android : layout_height =" match_parent"
7- android : orientation =" vertical"
8- tools : context =" .MainActivity" >
12+ android : layout_height =" wrap_content"
13+ android : background =" @color/netflix_black" >
914
10- <com .devzone.fillprogresslayout.FillProgressLayout
11- android : id =" @+id/fillL "
12- android : layout_width =" match_parent "
15+ <com .devzone.fillprogresslayout.FillProgressLayout
16+ android : id =" @+id/fillNF "
17+ android : layout_width =" wrap_content "
1318 android : layout_height =" wrap_content"
14- android : layout_margin =" 30dp"
15- app : fpl_backgroundColor =" @color/colorRedTrans"
19+ android : layout_gravity =" center_horizontal"
20+ android : layout_margin =" 20dp"
21+ android : gravity =" center"
22+ app : fpl_backgroundColor =" @color/netflix_gray"
1623 app : fpl_gradientMovement =" true"
1724 app : fpl_isRounded =" true"
1825 app : fpl_progress =" 0"
19- app : fpl_progressColor =" @color/colorGreenTrans "
26+ app : fpl_progressColor =" @color/netflix_white "
2027 app : fpl_progressDirection =" left_to_right"
2128 app : fpl_progressDuration =" 2000"
22- app : fpl_roundedCornerRadius =" 100 "
29+ app : fpl_roundedCornerRadius =" 8 "
2330 app : fpl_shouldRestart =" false" >
2431
25- <TextView
32+ <TextView
2633 android : layout_width =" wrap_content"
2734 android : layout_height =" wrap_content"
28- android : layout_gravity =" center_vertical"
29- android : layout_weight =" 1"
35+ android : layout_gravity =" center"
36+ android : layout_marginStart =" 10dp"
37+ android : layout_marginEnd =" 20dp"
38+ android : drawableStart =" @drawable/ic_play_vector"
39+ android : drawablePadding =" 10dp"
3040 android : gravity =" center"
31- android : padding =" 10dp"
32- android : text =" @string/app_name" />
41+ android : padding =" 5dp"
42+ android : text =" Next Episode"
43+ android : textColor =" @color/netflix_black"
44+ android : textStyle =" bold" />
45+
46+ </com .devzone.fillprogresslayout.FillProgressLayout>
47+ </FrameLayout >
48+
49+ <com .devzone.fillprogresslayout.FillProgressLayout
50+ android : id =" @+id/fillL"
51+ android : layout_width =" match_parent"
52+ android : layout_height =" wrap_content"
53+ android : layout_margin =" 30dp"
54+ app : fpl_backgroundColor =" @color/colorRedTrans"
55+ app : fpl_gradientMovement =" true"
56+ app : fpl_isRounded =" true"
57+ app : fpl_progress =" 0"
58+ app : fpl_progressColor =" @color/colorGreenTrans"
59+ app : fpl_progressDirection =" left_to_right"
60+ app : fpl_progressDuration =" 2000"
61+ app : fpl_roundedCornerRadius =" 100"
62+ app : fpl_shouldRestart =" false" >
3363
3464 <TextView
35- android : layout_width =" wrap_content"
36- android : layout_height =" wrap_content"
37- android : layout_gravity =" center_vertical"
38- android : layout_weight =" 1"
39- android : gravity =" center"
40- android : padding =" 10dp"
41- android : text =" @string/app_name" />
42- </com .devzone.fillprogresslayout.FillProgressLayout>
65+ android : layout_width =" wrap_content"
66+ android : layout_height =" wrap_content"
67+ android : layout_gravity =" center_vertical"
68+ android : layout_weight =" 1"
69+ android : gravity =" center"
70+ android : padding =" 10dp"
71+ android : text =" @string/app_name" />
4372
44- < Button
73+ < TextView
4574 android : layout_width =" wrap_content"
4675 android : layout_height =" wrap_content"
47- android : layout_gravity =" center_horizontal"
48- android : layout_marginTop =" 20dp"
49- android : layout_marginBottom =" 20dp"
50- android : onClick =" toggleFill"
51- android : text =" fill"
52- tools : ignore =" HardcodedText" />
76+ android : layout_gravity =" center_vertical"
77+ android : layout_weight =" 1"
78+ android : gravity =" center"
79+ android : padding =" 10dp"
80+ android : text =" @string/app_name" />
81+ </com .devzone.fillprogresslayout.FillProgressLayout>
82+
83+ <Button
84+ android : layout_width =" wrap_content"
85+ android : layout_height =" wrap_content"
86+ android : layout_gravity =" center_horizontal"
87+ android : layout_marginTop =" 20dp"
88+ android : layout_marginBottom =" 20dp"
89+ android : onClick =" toggleFill"
90+ android : text =" fill"
91+ tools : ignore =" HardcodedText" />
5392
5493 <RelativeLayout
55- android : layout_width =" match_parent"
56- android : layout_height =" wrap_content"
57- android : layout_margin =" 20dp" >
94+ android : layout_width =" match_parent"
95+ android : layout_height =" wrap_content"
96+ android : layout_margin =" 20dp" >
5897
5998 <com .devzone.fillprogresslayout.FillProgressLayout
60- android : id =" @+id/fillB"
61- android : layout_width =" match_parent"
62- android : layout_height =" wrap_content"
63- android : layout_alignBottom =" @+id/tv"
64- android : layout_alignParentTop =" true"
65- app : fpl_gradientColors =" @array/gradientColors"
66- app : fpl_gradientMovement =" false"
67- app : fpl_isRounded =" true"
68- app : fpl_roundedCornerRadius =" 20" />
99+ android : id =" @+id/fillB"
100+ android : layout_width =" match_parent"
101+ android : layout_height =" wrap_content"
102+ android : layout_alignBottom =" @+id/tv"
103+ android : layout_alignParentTop =" true"
104+ app : fpl_gradientColors =" @array/gradientColors"
105+ app : fpl_gradientMovement =" false"
106+ app : fpl_isRounded =" true"
107+ app : fpl_roundedCornerRadius =" 20" />
69108
70109 <androidx .appcompat.widget.AppCompatTextView
71- android : id =" @+id/tv"
72- android : layout_width =" match_parent"
73- android : layout_height =" wrap_content"
74- android : gravity =" center"
75- android : padding =" 20dp"
76- android : text =" @string/app_name" />
77- </RelativeLayout >
78-
79- <RadioGroup
110+ android : id =" @+id/tv"
80111 android : layout_width =" match_parent"
81112 android : layout_height =" wrap_content"
82- android : layout_margin =" 10dp"
83113 android : gravity =" center"
84- android : orientation =" horizontal" >
114+ android : padding =" 20dp"
115+ android : text =" @string/app_name" />
116+ </RelativeLayout >
117+
118+ <RadioGroup
119+ android : layout_width =" match_parent"
120+ android : layout_height =" wrap_content"
121+ android : layout_margin =" 10dp"
122+ android : gravity =" center"
123+ android : orientation =" horizontal" >
85124
86125 <androidx .appcompat.widget.AppCompatCheckBox
87- android : id =" @+id/reverseCB"
88- android : layout_width =" wrap_content"
89- android : layout_height =" wrap_content"
90- android : layout_margin =" 5dp"
91- android : text =" Reverse" />
126+ android : id =" @+id/reverseCB"
127+ android : layout_width =" wrap_content"
128+ android : layout_height =" wrap_content"
129+ android : layout_margin =" 5dp"
130+ android : text =" Reverse" />
92131
93132 <androidx .appcompat.widget.AppCompatCheckBox
94- android : id =" @+id/animateCB"
95- android : layout_width =" wrap_content"
96- android : layout_height =" wrap_content"
97- android : layout_margin =" 5dp"
98- android : text =" Animate" />
133+ android : id =" @+id/animateCB"
134+ android : layout_width =" wrap_content"
135+ android : layout_height =" wrap_content"
136+ android : layout_margin =" 5dp"
137+ android : text =" Animate" />
99138 </RadioGroup >
100139
101140
102141 <SeekBar
103- android : id =" @+id/progressSeek"
104- android : layout_width =" match_parent"
105- android : layout_height =" wrap_content"
106- android : layout_margin =" 10dp" />
142+ android : id =" @+id/progressSeek"
143+ android : layout_width =" match_parent"
144+ android : layout_height =" wrap_content"
145+ android : layout_margin =" 10dp" />
107146
108147
109148</LinearLayout >
0 commit comments