11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <LinearLayout
3- xmlns : android =" http://schemas.android.com/apk/res/android"
4- xmlns : tools =" http://schemas.android.com/tools" xmlns : app =" http://schemas.android.com/apk/res-auto"
5- android : orientation =" vertical"
2+ <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"
65 android : layout_width =" match_parent"
76 android : layout_height =" match_parent"
7+ android : orientation =" vertical"
88 tools : context =" .MainActivity" >
99
1010 <com .devzone.fillprogresslayout.FillProgressLayout
1111 android : id =" @+id/fillL"
12+ android : layout_width =" match_parent"
13+ android : layout_height =" wrap_content"
1214 android : layout_margin =" 30dp"
1315 app : fpl_backgroundColor =" @color/colorRedTrans"
14- app : fpl_progressColor = " @color/colorGreenTrans "
16+ app : fpl_gradientMovement = " true "
1517 app : fpl_isRounded =" true"
16- app : fpl_roundedCornerRadius =" 100"
1718 app : fpl_progress =" 0"
18- app : fpl_gradientMovement =" true"
19- app : fpl_progressDuration =" 2000"
19+ app : fpl_progressColor =" @color/colorGreenTrans"
2020 app : fpl_progressDirection =" left_to_right"
21- app : fpl_shouldRestart =" false"
22- android : layout_width =" match_parent"
23- android : layout_height =" wrap_content" >
21+ app : fpl_progressDuration =" 2000"
22+ app : fpl_roundedCornerRadius =" 100"
23+ app : fpl_shouldRestart =" false" >
24+
2425 <TextView
26+ android : layout_width =" wrap_content"
27+ android : layout_height =" wrap_content"
28+ android : layout_gravity =" center_vertical"
2529 android : layout_weight =" 1"
26- android : padding =" 10dp"
2730 android : gravity =" center"
28- android : text =" @string/app_name"
29- android : layout_gravity =" center_vertical"
30- android : layout_width =" wrap_content"
31- android : layout_height =" wrap_content" />
31+ android : padding =" 10dp"
32+ android : text =" @string/app_name" />
33+
3234 <TextView
35+ android : layout_width =" wrap_content"
36+ android : layout_height =" wrap_content"
37+ android : layout_gravity =" center_vertical"
3338 android : layout_weight =" 1"
34- android : padding =" 10dp"
3539 android : gravity =" center"
36- android : text =" @string/app_name"
37- android : layout_gravity =" center_vertical"
38- android : layout_width =" wrap_content"
39- android : layout_height =" wrap_content" />
40+ android : padding =" 10dp"
41+ android : text =" @string/app_name" />
4042 </com .devzone.fillprogresslayout.FillProgressLayout>
4143
44+ <Button
45+ android : layout_width =" wrap_content"
46+ 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" />
53+
4254 <RelativeLayout
43- android : layout_margin =" 20dp"
4455 android : layout_width =" match_parent"
45- android : layout_height =" wrap_content" >
56+ android : layout_height =" wrap_content"
57+ android : layout_margin =" 20dp" >
58+
4659 <com .devzone.fillprogresslayout.FillProgressLayout
60+ android : id =" @+id/fillB"
61+ android : layout_width =" match_parent"
62+ android : layout_height =" wrap_content"
4763 android : layout_alignBottom =" @+id/tv"
4864 android : layout_alignParentTop =" true"
49- app : fpl_roundedCornerRadius =" 20"
50- app : fpl_isRounded =" true"
51- android : id =" @+id/fillB"
52- app : fpl_gradientMovement =" false"
5365 app : fpl_gradientColors =" @array/gradientColors"
54- android : layout_width =" match_parent"
55- android : layout_height =" wrap_content" />
66+ app : fpl_gradientMovement =" false"
67+ app : fpl_isRounded =" true"
68+ app : fpl_roundedCornerRadius =" 20" />
5669
5770 <androidx .appcompat.widget.AppCompatTextView
5871 android : id =" @+id/tv"
59- android : text =" @string/app_name"
72+ android : layout_width =" match_parent"
73+ android : layout_height =" wrap_content"
6074 android : gravity =" center"
6175 android : padding =" 20dp"
62- android : layout_width =" match_parent"
63- android : layout_height =" wrap_content" />
76+ android : text =" @string/app_name" />
6477 </RelativeLayout >
6578
66- <Button
67- android : layout_width =" wrap_content "
79+ <RadioGroup
80+ android : layout_width =" match_parent "
6881 android : layout_height =" wrap_content"
69- android : layout_gravity =" center_horizontal"
70- android : layout_marginTop =" 80dp"
71- android : onClick =" toggleFill"
72- android : text =" fill"
73- tools : ignore =" HardcodedText" />
82+ android : layout_margin =" 10dp"
83+ android : gravity =" center"
84+ android : orientation =" horizontal" >
85+
86+ <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" />
92+
93+ <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" />
99+ </RadioGroup >
100+
101+
102+ <SeekBar
103+ android : id =" @+id/progressSeek"
104+ android : layout_width =" match_parent"
105+ android : layout_height =" wrap_content"
106+ android : layout_margin =" 10dp" />
107+
108+
74109</LinearLayout >
0 commit comments