Panagiotis Triantafyllou

Merge remote-tracking branch 'origin/cosmote' into cosmote

1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 +
2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools" 5 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 6 android:layout_width="match_parent"
6 - android:layout_height="300dp" 7 + android:layout_height="300dp">
7 - android:paddingHorizontal="10dp">
8 8
9 <androidx.constraintlayout.widget.Guideline 9 <androidx.constraintlayout.widget.Guideline
10 - android:id="@+id/horizontal_guideline" 10 + android:id="@+id/vertical_outer_guideline"
11 android:layout_width="wrap_content" 11 android:layout_width="wrap_content"
12 android:layout_height="wrap_content" 12 android:layout_height="wrap_content"
13 - android:orientation="horizontal" 13 + android:orientation="vertical"
14 - app:layout_constraintGuide_percent="0.15" /> 14 + app:layout_constraintGuide_percent="0.04" />
15 +
16 + <androidx.constraintlayout.widget.Guideline
17 + android:id="@+id/vertical_outer_guideline2"
18 + android:layout_width="wrap_content"
19 + android:layout_height="wrap_content"
20 + android:orientation="vertical"
21 + app:layout_constraintGuide_percent="0.95" />
15 22
16 <androidx.constraintlayout.widget.Guideline 23 <androidx.constraintlayout.widget.Guideline
17 - android:id="@+id/horizontal_guideline2" 24 + android:id="@+id/horizontal_outer_guideline"
18 android:layout_width="wrap_content" 25 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" 26 android:layout_height="wrap_content"
20 android:orientation="horizontal" 27 android:orientation="horizontal"
21 - app:layout_constraintGuide_percent="0.85" /> 28 + app:layout_constraintGuide_percent="0.12" />
22 29
23 <androidx.constraintlayout.widget.Guideline 30 <androidx.constraintlayout.widget.Guideline
24 - android:id="@+id/vertical_guideline0" 31 + android:id="@+id/horizontal_outer_guideline2"
25 android:layout_width="wrap_content" 32 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 33 android:layout_height="wrap_content"
27 - android:orientation="vertical" 34 + android:orientation="horizontal"
28 - app:layout_constraintGuide_percent="0.03" /> 35 + app:layout_constraintGuide_percent="0.88" />
29 36
30 <androidx.constraintlayout.widget.Guideline 37 <androidx.constraintlayout.widget.Guideline
31 android:id="@+id/vertical_guideline" 38 android:id="@+id/vertical_guideline"
32 android:layout_width="wrap_content" 39 android:layout_width="wrap_content"
33 android:layout_height="wrap_content" 40 android:layout_height="wrap_content"
34 android:orientation="vertical" 41 android:orientation="vertical"
35 - app:layout_constraintGuide_percent="0.36" /> 42 + app:layout_constraintGuide_percent="0.4" />
36 43
37 <androidx.constraintlayout.widget.Guideline 44 <androidx.constraintlayout.widget.Guideline
38 android:id="@+id/vertical_guideline2" 45 android:id="@+id/vertical_guideline2"
39 android:layout_width="wrap_content" 46 android:layout_width="wrap_content"
40 android:layout_height="wrap_content" 47 android:layout_height="wrap_content"
41 android:orientation="vertical" 48 android:orientation="vertical"
42 - app:layout_constraintGuide_percent="0.62" /> 49 + app:layout_constraintGuide_percent="0.7" />
43 50
51 + <androidx.constraintlayout.widget.Guideline
52 + android:id="@+id/vertical_guideline3"
53 + android:layout_width="wrap_content"
54 + android:layout_height="wrap_content"
55 + android:orientation="vertical"
56 + app:layout_constraintGuide_percent="0.65" />
44 57
58 + <ImageView
59 + android:id="@+id/iv_widget_phone"
60 + android:layout_width="0dp"
61 + android:layout_height="18dp"
62 + android:layout_marginStart="8dp"
63 + android:layout_weight="0.2"
64 + android:src="@drawable/smartphone"
65 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
66 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
67 + app:layout_constraintTop_toTopOf="parent" />
68 +
69 + <!-- MB Internet -->
45 <TextView 70 <TextView
71 + android:id="@+id/tv_widget_phone_title"
46 android:layout_width="wrap_content" 72 android:layout_width="wrap_content"
47 android:layout_height="wrap_content" 73 android:layout_height="wrap_content"
48 - android:layout_marginTop="20dp" 74 + android:layout_marginStart="8dp"
49 - android:text="Έχεις διαθέσιμα 5.6 GB" 75 + android:text="Το κινητό μου"
50 - android:textSize="17dp" 76 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
51 - android:textStyle="bold" 77 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
52 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2" 78 + app:layout_constraintHorizontal_bias="0.0"
53 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" 79 + app:layout_constraintStart_toEndOf="@+id/iv_widget_phone"
54 - app:layout_constraintHorizontal_bias="0.271" 80 + app:layout_constraintTop_toTopOf="parent"
55 - app:layout_constraintStart_toStartOf="parent" 81 + app:layout_constraintVertical_bias="0.529" />
56 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline"
57 - app:layout_constraintVertical_bias="0.0" />
58 82
59 - <ProgressBar 83 + <ImageView
60 - android:id="@+id/progressBar" 84 + android:id="@+id/iv_widget_mb"
61 - style="?android:attr/progressBarStyle" 85 + android:layout_width="23dp"
62 - android:layout_width="130dp" 86 + android:layout_height="20dp"
63 - android:layout_height="134dp" 87 + android:layout_marginStart="12dp"
64 - android:progress="80" 88 + android:layout_weight="0.2"
65 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2" 89 + android:src="@drawable/web"
66 - app:layout_constraintEnd_toEndOf="parent" 90 + app:layout_constraintBottom_toBottomOf="parent"
67 - app:layout_constraintHorizontal_bias="0.407" 91 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
68 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" 92 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
69 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline" 93 + app:layout_constraintVertical_bias="0.533" />
70 - app:layout_constraintVertical_bias="0.0" /> 94 +
95 + <!-- Talk -->
71 96
72 <TextView 97 <TextView
73 - android:id="@+id/textView2" 98 + android:id="@+id/tv_widget_talk_title"
74 android:layout_width="wrap_content" 99 android:layout_width="wrap_content"
75 android:layout_height="wrap_content" 100 android:layout_height="wrap_content"
76 - android:text="5.6" 101 + android:layout_marginStart="12dp"
77 - app:layout_constraintBottom_toBottomOf="@+id/progressBar" 102 + android:text="MB Internet"
78 - app:layout_constraintEnd_toEndOf="@+id/progressBar" 103 + app:layout_constraintBottom_toBottomOf="parent"
79 - app:layout_constraintHorizontal_bias="0.537" 104 + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"
80 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" 105 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
81 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline" /> 106 + app:layout_constraintVertical_bias="0.47" />
82 107
83 <ImageView 108 <ImageView
84 - android:id="@+id/imageView3" 109 + android:id="@+id/iv_widget_talk"
85 - android:layout_width="94dp" 110 + android:layout_width="0dp"
86 - android:layout_height="36dp" 111 + android:layout_height="21dp"
87 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2" 112 + android:layout_marginStart="12dp"
88 - app:layout_constraintEnd_toEndOf="parent" 113 + android:layout_weight="0.2"
89 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" 114 + android:background="@color/cos_blue"
90 - app:layout_constraintTop_toBottomOf="@+id/progressBar" 115 + android:src="@drawable/phone_white"
91 - app:srcCompat="@drawable/cosmote_one" /> 116 + app:layout_constraintBottom_toBottomOf="parent"
92 - 117 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
93 - <androidx.constraintlayout.widget.ConstraintLayout 118 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
94 - android:id="@+id/cl_widget_phone" 119 + app:layout_constraintVertical_bias="0.533" />
95 - android:layout_width="131dp"
96 - android:layout_height="43dp"
97 - android:orientation="horizontal"
98 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline"
99 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
100 - app:layout_constraintHorizontal_bias="1.0"
101 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline0"
102 - app:layout_constraintTop_toTopOf="parent">
103 -
104 - <ImageView
105 - android:id="@+id/iv_widget_phone"
106 - android:layout_width="32dp"
107 - android:layout_height="18dp"
108 - android:layout_weight="1"
109 - app:layout_constraintBottom_toBottomOf="parent"
110 - app:layout_constraintStart_toStartOf="parent"
111 - app:layout_constraintTop_toTopOf="parent"
112 - app:layout_constraintVertical_bias="0.48"
113 - app:srcCompat="@drawable/smartphone" />
114 -
115 - <TextView
116 - android:id="@+id/tv_widget_phone_title"
117 - android:layout_width="wrap_content"
118 - android:layout_height="wrap_content"
119 - android:text="Το κινητό μου"
120 - app:layout_constraintBottom_toBottomOf="parent"
121 - app:layout_constraintStart_toEndOf="@+id/iv_widget_phone"
122 - app:layout_constraintTop_toTopOf="parent" />
123 - </androidx.constraintlayout.widget.ConstraintLayout>
124 120
125 - <ImageView 121 + <TextView
126 - android:id="@+id/imageView5" 122 + android:id="@+id/tv_widget_mb_title"
127 - android:layout_width="84dp" 123 + android:layout_width="wrap_content"
128 - android:layout_height="28dp" 124 + android:layout_height="wrap_content"
129 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline" 125 + android:text="Ομιλία"
126 + app:layout_constraintBottom_toBottomOf="parent"
130 app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" 127 app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
131 - app:layout_constraintStart_toEndOf="@+id/cl_widget_phone" 128 + app:layout_constraintHorizontal_bias="0.295"
132 - app:layout_constraintTop_toTopOf="parent" 129 + app:layout_constraintStart_toEndOf="@+id/iv_widget_talk"
133 - app:srcCompat="@drawable/cosmote_one" /> 130 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
131 + app:layout_constraintVertical_bias="0.47" />
134 132
135 - <androidx.constraintlayout.widget.ConstraintLayout 133 + <!-- SMS -->
136 - android:id="@+id/cl_widget_mb" 134 + <ImageView
137 - android:layout_width="131dp" 135 + android:id="@+id/iv_widget_sms"
138 - android:layout_height="43dp" 136 + android:layout_width="26dp"
139 - android:orientation="horizontal" 137 + android:layout_height="17dp"
138 + android:layout_marginStart="12dp"
139 + android:layout_weight="0.2"
140 + android:src="@drawable/envelope_white"
140 app:layout_constraintBottom_toBottomOf="parent" 141 app:layout_constraintBottom_toBottomOf="parent"
141 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline" 142 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
142 - app:layout_constraintHorizontal_bias="1.0" 143 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
143 - app:layout_constraintStart_toStartOf="parent" 144 + app:layout_constraintVertical_bias="0.421" />
144 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2"> 145 +
145 - 146 + <TextView
146 - <ImageView 147 + android:id="@+id/tv_widget_sms_title"
147 - android:id="@+id/iv_widget_mb" 148 + android:layout_width="wrap_content"
148 - android:layout_width="32dp" 149 + android:layout_height="wrap_content"
149 - android:layout_height="18dp" 150 + android:text="SMS"
150 - android:layout_weight="1"
151 - app:layout_constraintBottom_toBottomOf="parent"
152 - app:layout_constraintStart_toStartOf="parent"
153 - app:layout_constraintTop_toTopOf="parent"
154 - app:layout_constraintVertical_bias="0.48"
155 - app:srcCompat="@drawable/smartphone" />
156 -
157 - <TextView
158 - android:id="@+id/tv_widget_mb_title"
159 - android:layout_width="wrap_content"
160 - android:layout_height="wrap_content"
161 - android:text="Το κινητό μου"
162 - app:layout_constraintBottom_toBottomOf="parent"
163 - app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"
164 - app:layout_constraintTop_toTopOf="parent" />
165 - </androidx.constraintlayout.widget.ConstraintLayout>
166 -
167 - <androidx.constraintlayout.widget.ConstraintLayout
168 - android:id="@+id/cl_widget_talk"
169 - android:layout_width="100dp"
170 - android:layout_height="34dp"
171 - android:orientation="horizontal"
172 app:layout_constraintBottom_toBottomOf="parent" 151 app:layout_constraintBottom_toBottomOf="parent"
152 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
153 + app:layout_constraintHorizontal_bias="0.323"
154 + app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"
155 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
156 + app:layout_constraintVertical_bias="0.47" />
157 +
158 + <!-- Comsote One top horizontal -->
159 +
160 + <!-- Title -->
161 +
162 + <ImageView
163 + android:layout_width="86dp"
164 + android:layout_height="20dp"
165 + android:scaleType="fitXY"
166 + android:src="@drawable/cosmote_one"
167 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
173 app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" 168 app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
169 + app:layout_constraintHorizontal_bias="0.567"
174 app:layout_constraintStart_toStartOf="@+id/vertical_guideline" 170 app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
175 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2"> 171 + app:layout_constraintTop_toTopOf="parent"
176 - 172 + app:layout_constraintVertical_bias="0.562" />
177 - <ImageView 173 +
178 - android:id="@+id/iv_widget_talk" 174 + <TextView
179 - android:layout_width="32dp" 175 + android:id="@+id/textView2"
180 - android:layout_height="18dp" 176 + android:layout_width="wrap_content"
181 - android:layout_weight="1" 177 + android:layout_height="wrap_content"
182 - app:layout_constraintBottom_toBottomOf="parent" 178 + android:text="'Εχεις διαθέσιμα 5.6 GB"
183 - app:layout_constraintStart_toStartOf="parent" 179 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2"
184 - app:layout_constraintTop_toTopOf="parent" 180 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline3"
185 - app:layout_constraintVertical_bias="0.48" 181 + app:layout_constraintHorizontal_bias="0.0"
186 - app:srcCompat="@drawable/smartphone" /> 182 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
187 - 183 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline"
188 - <TextView 184 + app:layout_constraintVertical_bias="0.105" />
189 - android:id="@+id/tv_widget_talk_title" 185 +
190 - android:layout_width="wrap_content" 186 + <!-- ProgressBar -->
191 - android:layout_height="wrap_content" 187 + <ProgressBar
192 - android:text="Ομιλία" 188 + android:id="@+id/progressBar"
193 - app:layout_constraintBottom_toBottomOf="parent" 189 + style="?android:attr/progressBarStyle"
194 - app:layout_constraintStart_toEndOf="@+id/iv_widget_talk" 190 + android:layout_width="109dp"
195 - app:layout_constraintTop_toTopOf="parent" /> 191 + android:layout_height="107dp"
196 - </androidx.constraintlayout.widget.ConstraintLayout> 192 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2"
197 - 193 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
198 - <androidx.constraintlayout.widget.ConstraintLayout 194 + app:layout_constraintHorizontal_bias="0.333"
199 - android:id="@+id/cl_widget_sms" 195 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline3"
200 - android:layout_width="140dp" 196 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline"
201 - android:layout_height="35dp" 197 + app:layout_constraintVertical_bias="0.066" />
202 - android:orientation="horizontal" 198 +
203 - app:layout_constraintBottom_toBottomOf="parent" 199 + <!-- Text inside ProgressBar -->
204 - app:layout_constraintEnd_toEndOf="parent" 200 + <TextView
201 + android:id="@+id/textView4"
202 + android:layout_width="41dp"
203 + android:layout_height="30dp"
204 + android:gravity="center"
205 + android:text="5.6"
206 + android:textAlignment="center"
207 + app:layout_constraintBottom_toBottomOf="@+id/progressBar"
208 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
209 + app:layout_constraintHorizontal_bias="0.409"
205 app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" 210 app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
206 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
207 -
208 - <ImageView
209 - android:id="@+id/iv_widget_sms"
210 - android:layout_width="32dp"
211 - android:layout_height="18dp"
212 - android:layout_weight="1"
213 - app:layout_constraintBottom_toBottomOf="parent"
214 - app:layout_constraintStart_toStartOf="parent"
215 - app:layout_constraintTop_toTopOf="parent"
216 - app:layout_constraintVertical_bias="0.48"
217 - app:srcCompat="@drawable/smartphone" />
218 -
219 - <TextView
220 - android:id="@+id/tv_widget_sms_title"
221 - android:layout_width="wrap_content"
222 - android:layout_height="wrap_content"
223 - android:text="SMS"
224 - app:layout_constraintBottom_toBottomOf="parent"
225 - app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"
226 - app:layout_constraintTop_toTopOf="parent" />
227 - </androidx.constraintlayout.widget.ConstraintLayout>
228 -
229 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
211 + app:layout_constraintTop_toTopOf="@+id/progressBar"
212 + app:layout_constraintVertical_bias="0.519" />
213 +
214 + <ImageView
215 + android:id="@+id/imageView3"
216 + android:layout_width="99dp"
217 + android:layout_height="26dp"
218 + android:layout_marginTop="8dp"
219 + android:src="@drawable/cosmote_one"
220 + android:scaleType="fitXY"
221 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
222 + app:layout_constraintHorizontal_bias="0.4"
223 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline3"
224 + app:layout_constraintTop_toBottomOf="@+id/progressBar" />
225 +
226 +</androidx.constraintlayout.widget.ConstraintLayout>
......