Showing
2 changed files
with
140 additions
and
385 deletions
... | @@ -128,240 +128,13 @@ | ... | @@ -128,240 +128,13 @@ |
128 | android:paddingEnd="10dp" /> | 128 | android:paddingEnd="10dp" /> |
129 | </LinearLayout> | 129 | </LinearLayout> |
130 | 130 | ||
131 | - <!-- <androidx.constraintlayout.widget.ConstraintLayout--> | 131 | + <include |
132 | - <!-- android:id="@+id/rl_home_info_widget"--> | ||
133 | - <!-- android:layout_width="match_parent"--> | ||
134 | - <!-- android:layout_height="wrap_content"--> | ||
135 | - <!-- android:layout_below="@id/rl_home_coupons"--> | ||
136 | - <!-- android:layout_marginHorizontal="10dp"--> | ||
137 | - <!-- android:background="@drawable/banner_border">--> | ||
138 | - | ||
139 | - <!-- <include layout="@layout/info_widget" />--> | ||
140 | - <!-- </androidx.constraintlayout.widget.ConstraintLayout>--> | ||
141 | - | ||
142 | - <androidx.constraintlayout.widget.ConstraintLayout | ||
143 | android:id="@+id/rl_home_info_widget" | 132 | android:id="@+id/rl_home_info_widget" |
133 | + layout="@layout/info_widget" | ||
144 | android:layout_width="match_parent" | 134 | android:layout_width="match_parent" |
145 | android:layout_height="wrap_content" | 135 | android:layout_height="wrap_content" |
146 | android:layout_below="@id/rl_home_coupons" | 136 | android:layout_below="@id/rl_home_coupons" |
147 | - android:layout_marginHorizontal="8dp" | 137 | + android:layout_marginHorizontal="8dp" /> |
148 | - android:background="@drawable/banner_border_white" | ||
149 | - android:elevation="3dp"> | ||
150 | - | ||
151 | - <LinearLayout | ||
152 | - android:id="@+id/ll_myphone" | ||
153 | - android:layout_width="wrap_content" | ||
154 | - android:layout_height="wrap_content" | ||
155 | - android:background="@drawable/banner_border_grey_bg" | ||
156 | - android:orientation="horizontal" | ||
157 | - android:paddingHorizontal="12dp" | ||
158 | - android:paddingVertical="6dp" | ||
159 | - app:layout_constraintStart_toStartOf="parent" | ||
160 | - app:layout_constraintTop_toTopOf="parent"> | ||
161 | - | ||
162 | - <ImageView | ||
163 | - android:id="@+id/iv_widget_phone" | ||
164 | - android:layout_width="24dp" | ||
165 | - android:layout_height="24dp" | ||
166 | - android:src="@drawable/smartphone" | ||
167 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | ||
168 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
169 | - app:layout_constraintTop_toTopOf="parent" /> | ||
170 | - | ||
171 | - <TextView | ||
172 | - android:id="@+id/tv_widget_phone_title" | ||
173 | - android:layout_width="wrap_content" | ||
174 | - android:layout_height="wrap_content" | ||
175 | - android:layout_marginStart="8dp" | ||
176 | - android:text="Το κινητό μου" | ||
177 | - android:textColor="#415564" | ||
178 | - android:textFontWeight="500" | ||
179 | - android:textSize="15sp" /> | ||
180 | - </LinearLayout> | ||
181 | - | ||
182 | - <ImageView | ||
183 | - android:layout_width="100dp" | ||
184 | - android:layout_height="30dp" | ||
185 | - android:layout_marginStart="8dp" | ||
186 | - android:src="@drawable/cosmote_one" | ||
187 | - app:layout_constraintBottom_toBottomOf="@+id/ll_myphone" | ||
188 | - app:layout_constraintStart_toEndOf="@+id/ll_myphone" | ||
189 | - app:layout_constraintTop_toTopOf="@+id/ll_myphone" /> | ||
190 | - | ||
191 | - <TextView | ||
192 | - android:id="@+id/textView2" | ||
193 | - android:layout_width="wrap_content" | ||
194 | - android:layout_height="wrap_content" | ||
195 | - android:layout_marginStart="16dp" | ||
196 | - android:layout_marginTop="24dp" | ||
197 | - android:text="'Εχεις διαθέσιμα 5.6 GB" | ||
198 | - android:textColor="#415564" | ||
199 | - android:textSize="16sp" | ||
200 | - android:textStyle="bold" | ||
201 | - app:layout_constraintStart_toStartOf="parent" | ||
202 | - app:layout_constraintTop_toBottomOf="@+id/ll_myphone" /> | ||
203 | - | ||
204 | - <ImageView | ||
205 | - android:id="@+id/iv_progress" | ||
206 | - android:layout_width="110dp" | ||
207 | - android:layout_height="110dp" | ||
208 | - android:layout_marginEnd="24dp" | ||
209 | - android:src="@drawable/ic_data_progress" | ||
210 | - app:layout_constraintEnd_toEndOf="parent" | ||
211 | - app:layout_constraintTop_toTopOf="@+id/textView2" /> | ||
212 | - | ||
213 | - <ImageView | ||
214 | - android:id="@+id/iv_one_logo" | ||
215 | - android:layout_width="100dp" | ||
216 | - android:layout_height="30dp" | ||
217 | - android:layout_marginStart="8dp" | ||
218 | - android:layout_marginTop="6dp" | ||
219 | - android:src="@drawable/cosmote_one" | ||
220 | - app:layout_constraintEnd_toEndOf="@+id/iv_progress" | ||
221 | - app:layout_constraintStart_toStartOf="@+id/iv_progress" | ||
222 | - app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | ||
223 | - | ||
224 | - <androidx.constraintlayout.widget.ConstraintLayout | ||
225 | - android:layout_width="match_parent" | ||
226 | - android:layout_height="wrap_content" | ||
227 | - android:layout_marginTop="16dp" | ||
228 | - app:layout_constraintBottom_toBottomOf="parent" | ||
229 | - app:layout_constraintEnd_toEndOf="parent" | ||
230 | - app:layout_constraintStart_toStartOf="parent" | ||
231 | - app:layout_constraintTop_toBottomOf="@+id/iv_one_logo"> | ||
232 | - | ||
233 | - <LinearLayout | ||
234 | - android:id="@+id/ll_data" | ||
235 | - android:layout_width="0dp" | ||
236 | - android:layout_height="wrap_content" | ||
237 | - android:background="@drawable/banner_border_white_bg_right_radius" | ||
238 | - android:elevation="3dp" | ||
239 | - android:gravity="center" | ||
240 | - android:orientation="horizontal" | ||
241 | - android:paddingHorizontal="12dp" | ||
242 | - android:paddingVertical="6dp" | ||
243 | - app:layout_constraintBottom_toBottomOf="parent" | ||
244 | - app:layout_constraintStart_toStartOf="parent" | ||
245 | - app:layout_constraintTop_toTopOf="parent"> | ||
246 | - | ||
247 | - <ImageView | ||
248 | - android:id="@+id/iv_widget_mb" | ||
249 | - android:layout_width="24dp" | ||
250 | - android:layout_height="24dp" | ||
251 | - android:layout_marginStart="8dp" | ||
252 | - android:src="@drawable/web" | ||
253 | - app:layout_constraintBottom_toBottomOf="parent" | ||
254 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
255 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
256 | - app:layout_constraintVertical_bias="0.437" /> | ||
257 | - | ||
258 | - <TextView | ||
259 | - android:id="@+id/tv_widget_data_title" | ||
260 | - android:layout_width="wrap_content" | ||
261 | - android:layout_height="wrap_content" | ||
262 | - android:layout_marginStart="8dp" | ||
263 | - android:text="MB Internet" | ||
264 | - android:textColor="#415564" | ||
265 | - android:textSize="15sp" | ||
266 | - app:layout_constraintBottom_toBottomOf="parent" | ||
267 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
268 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
269 | - app:layout_constraintVertical_bias="0.47" /> | ||
270 | - </LinearLayout> | ||
271 | - | ||
272 | - <LinearLayout | ||
273 | - android:id="@+id/ll_voice" | ||
274 | - android:layout_width="0dp" | ||
275 | - android:layout_height="wrap_content" | ||
276 | - android:background="@drawable/banner_border_grey_bg_left_radius" | ||
277 | - android:gravity="center" | ||
278 | - android:orientation="horizontal" | ||
279 | - android:paddingHorizontal="12dp" | ||
280 | - android:paddingVertical="6dp" | ||
281 | - app:layout_constraintBottom_toBottomOf="parent" | ||
282 | - app:layout_constraintStart_toEndOf="@+id/ll_data" | ||
283 | - app:layout_constraintTop_toTopOf="parent"> | ||
284 | - | ||
285 | - <ImageView | ||
286 | - android:id="@+id/iv_widget_voice" | ||
287 | - android:layout_width="24dp" | ||
288 | - android:layout_height="24dp" | ||
289 | - android:layout_marginStart="8dp" | ||
290 | - android:src="@drawable/phone_white" | ||
291 | - app:layout_constraintBottom_toBottomOf="parent" | ||
292 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
293 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
294 | - app:layout_constraintVertical_bias="0.437" /> | ||
295 | - | ||
296 | - <TextView | ||
297 | - android:id="@+id/tv_widget_talk_title" | ||
298 | - android:layout_width="wrap_content" | ||
299 | - android:layout_height="wrap_content" | ||
300 | - android:layout_marginStart="8dp" | ||
301 | - android:text="Ομιλία" | ||
302 | - android:textColor="@android:color/white" | ||
303 | - android:textSize="15sp" | ||
304 | - app:layout_constraintBottom_toBottomOf="parent" | ||
305 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
306 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
307 | - app:layout_constraintVertical_bias="0.47" /> | ||
308 | - </LinearLayout> | ||
309 | - | ||
310 | - <LinearLayout | ||
311 | - android:id="@+id/ll_sms" | ||
312 | - android:layout_width="0dp" | ||
313 | - android:layout_height="wrap_content" | ||
314 | - android:background="@drawable/banner_border_grey_bg_right_radius" | ||
315 | - android:gravity="center" | ||
316 | - android:orientation="horizontal" | ||
317 | - android:paddingHorizontal="12dp" | ||
318 | - android:paddingVertical="6dp" | ||
319 | - app:layout_constraintBottom_toBottomOf="parent" | ||
320 | - app:layout_constraintEnd_toEndOf="parent" | ||
321 | - app:layout_constraintStart_toEndOf="@+id/ll_voice" | ||
322 | - app:layout_constraintTop_toTopOf="parent"> | ||
323 | - | ||
324 | - <ImageView | ||
325 | - android:id="@+id/iv_widget_sms" | ||
326 | - android:layout_width="24dp" | ||
327 | - android:layout_height="24dp" | ||
328 | - android:layout_marginStart="8dp" | ||
329 | - android:src="@drawable/envelope_white" | ||
330 | - app:layout_constraintBottom_toBottomOf="parent" | ||
331 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
332 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
333 | - app:layout_constraintVertical_bias="0.437" /> | ||
334 | - | ||
335 | - <TextView | ||
336 | - android:id="@+id/tv_widget_sms_title" | ||
337 | - android:layout_width="wrap_content" | ||
338 | - android:layout_height="wrap_content" | ||
339 | - android:layout_marginStart="8dp" | ||
340 | - android:text="SMS" | ||
341 | - android:textColor="@android:color/white" | ||
342 | - android:textSize="15sp" | ||
343 | - app:layout_constraintBottom_toBottomOf="parent" | ||
344 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
345 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
346 | - app:layout_constraintVertical_bias="0.47" /> | ||
347 | - </LinearLayout> | ||
348 | - </androidx.constraintlayout.widget.ConstraintLayout> | ||
349 | - | ||
350 | - | ||
351 | - <!-- <ImageView--> | ||
352 | - <!-- android:id="@+id/iv_widget_sms"--> | ||
353 | - <!-- android:layout_width="26dp"--> | ||
354 | - <!-- android:layout_height="17dp"--> | ||
355 | - <!-- android:layout_marginStart="12dp"--> | ||
356 | - <!-- android:layout_weight="0.2"--> | ||
357 | - <!-- android:src="@drawable/envelope_white"--> | ||
358 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
359 | - <!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"--> | ||
360 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
361 | - <!-- app:layout_constraintVertical_bias="0.421" />--> | ||
362 | - | ||
363 | - | ||
364 | - </androidx.constraintlayout.widget.ConstraintLayout> | ||
365 | 138 | ||
366 | <TextView | 139 | <TextView |
367 | android:id="@+id/hsv_title" | 140 | android:id="@+id/hsv_title" | ... | ... |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | - | ||
3 | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | 1 | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
4 | xmlns:app="http://schemas.android.com/apk/res-auto" | 2 | xmlns:app="http://schemas.android.com/apk/res-auto" |
5 | - xmlns:tools="http://schemas.android.com/tools" | ||
6 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
7 | - android:layout_height="300dp"> | ||
8 | - | ||
9 | - <androidx.constraintlayout.widget.Guideline | ||
10 | - android:id="@+id/vertical_outer_guideline" | ||
11 | - android:layout_width="wrap_content" | ||
12 | - android:layout_height="wrap_content" | ||
13 | - android:orientation="vertical" | ||
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" | 4 | android:layout_height="wrap_content" |
20 | - android:orientation="vertical" | 5 | + android:background="@drawable/banner_border_white" |
21 | - app:layout_constraintGuide_percent="0.95" /> | 6 | + android:elevation="3dp"> |
22 | 7 | ||
23 | - <androidx.constraintlayout.widget.Guideline | 8 | + <LinearLayout |
24 | - android:id="@+id/horizontal_outer_guideline" | 9 | + android:id="@+id/ll_myphone" |
25 | android:layout_width="wrap_content" | 10 | android:layout_width="wrap_content" |
26 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
12 | + android:background="@drawable/banner_border_grey_bg" | ||
27 | android:orientation="horizontal" | 13 | android:orientation="horizontal" |
28 | - app:layout_constraintGuide_percent="0.12" /> | 14 | + android:paddingHorizontal="12dp" |
29 | - | 15 | + android:paddingVertical="6dp" |
30 | - <androidx.constraintlayout.widget.Guideline | 16 | + app:layout_constraintStart_toStartOf="parent" |
31 | - android:id="@+id/horizontal_outer_guideline2" | 17 | + app:layout_constraintTop_toTopOf="parent"> |
32 | - android:layout_width="wrap_content" | ||
33 | - android:layout_height="wrap_content" | ||
34 | - android:orientation="horizontal" | ||
35 | - app:layout_constraintGuide_percent="0.88" /> | ||
36 | - | ||
37 | - <androidx.constraintlayout.widget.Guideline | ||
38 | - android:id="@+id/vertical_guideline" | ||
39 | - android:layout_width="wrap_content" | ||
40 | - android:layout_height="wrap_content" | ||
41 | - android:orientation="vertical" | ||
42 | - app:layout_constraintGuide_percent="0.4" /> | ||
43 | - | ||
44 | - <androidx.constraintlayout.widget.Guideline | ||
45 | - android:id="@+id/vertical_guideline2" | ||
46 | - android:layout_width="wrap_content" | ||
47 | - android:layout_height="wrap_content" | ||
48 | - android:orientation="vertical" | ||
49 | - app:layout_constraintGuide_percent="0.7" /> | ||
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" /> | ||
57 | - | ||
58 | - <!-- MB Internet --> | ||
59 | 18 | ||
60 | <ImageView | 19 | <ImageView |
61 | android:id="@+id/iv_widget_phone" | 20 | android:id="@+id/iv_widget_phone" |
62 | - android:layout_width="23dp" | 21 | + android:layout_width="24dp" |
63 | - android:layout_height="18dp" | 22 | + android:layout_height="24dp" |
64 | android:src="@drawable/smartphone" | 23 | android:src="@drawable/smartphone" |
65 | app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | 24 | app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" |
66 | app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | 25 | app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
... | @@ -72,21 +31,81 @@ | ... | @@ -72,21 +31,81 @@ |
72 | android:layout_height="wrap_content" | 31 | android:layout_height="wrap_content" |
73 | android:layout_marginStart="8dp" | 32 | android:layout_marginStart="8dp" |
74 | android:text="Το κινητό μου" | 33 | android:text="Το κινητό μου" |
75 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | 34 | + android:textColor="#415564" |
76 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline" | 35 | + android:textFontWeight="500" |
77 | - app:layout_constraintHorizontal_bias="0.0" | 36 | + android:textSize="15sp" /> |
78 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_phone" | 37 | + </LinearLayout> |
79 | - app:layout_constraintTop_toTopOf="parent" | 38 | + |
80 | - app:layout_constraintVertical_bias="0.529" /> | 39 | + <ImageView |
40 | + android:layout_width="100dp" | ||
41 | + android:layout_height="30dp" | ||
42 | + android:layout_marginStart="8dp" | ||
43 | + android:src="@drawable/cosmote_one" | ||
44 | + app:layout_constraintBottom_toBottomOf="@+id/ll_myphone" | ||
45 | + app:layout_constraintStart_toEndOf="@+id/ll_myphone" | ||
46 | + app:layout_constraintTop_toTopOf="@+id/ll_myphone" /> | ||
47 | + | ||
48 | + <TextView | ||
49 | + android:id="@+id/textView2" | ||
50 | + android:layout_width="wrap_content" | ||
51 | + android:layout_height="wrap_content" | ||
52 | + android:layout_marginStart="16dp" | ||
53 | + android:layout_marginTop="24dp" | ||
54 | + android:text="'Εχεις διαθέσιμα 5.6 GB" | ||
55 | + android:textColor="#415564" | ||
56 | + android:textSize="16sp" | ||
57 | + android:textStyle="bold" | ||
58 | + app:layout_constraintStart_toStartOf="parent" | ||
59 | + app:layout_constraintTop_toBottomOf="@+id/ll_myphone" /> | ||
60 | + | ||
61 | + <ImageView | ||
62 | + android:id="@+id/iv_progress" | ||
63 | + android:layout_width="110dp" | ||
64 | + android:layout_height="110dp" | ||
65 | + android:layout_marginEnd="24dp" | ||
66 | + android:src="@drawable/ic_data_progress" | ||
67 | + app:layout_constraintEnd_toEndOf="parent" | ||
68 | + app:layout_constraintTop_toTopOf="@+id/textView2" /> | ||
69 | + | ||
70 | + <ImageView | ||
71 | + android:id="@+id/iv_one_logo" | ||
72 | + android:layout_width="100dp" | ||
73 | + android:layout_height="30dp" | ||
74 | + android:layout_marginStart="8dp" | ||
75 | + android:layout_marginTop="6dp" | ||
76 | + android:src="@drawable/cosmote_one" | ||
77 | + app:layout_constraintEnd_toEndOf="@+id/iv_progress" | ||
78 | + app:layout_constraintStart_toStartOf="@+id/iv_progress" | ||
79 | + app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | ||
80 | + | ||
81 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
82 | + android:layout_width="match_parent" | ||
83 | + android:layout_height="wrap_content" | ||
84 | + android:layout_marginTop="16dp" | ||
85 | + app:layout_constraintBottom_toBottomOf="parent" | ||
86 | + app:layout_constraintEnd_toEndOf="parent" | ||
87 | + app:layout_constraintStart_toStartOf="parent" | ||
88 | + app:layout_constraintTop_toBottomOf="@+id/iv_one_logo"> | ||
81 | 89 | ||
82 | - <!-- Talk --> | 90 | + <LinearLayout |
91 | + android:id="@+id/ll_data" | ||
92 | + android:layout_width="0dp" | ||
93 | + android:layout_height="wrap_content" | ||
94 | + android:background="@drawable/banner_border_white_bg_right_radius" | ||
95 | + android:gravity="center" | ||
96 | + android:orientation="horizontal" | ||
97 | + android:paddingHorizontal="12dp" | ||
98 | + android:paddingVertical="6dp" | ||
99 | + app:layout_constraintEnd_toStartOf="@+id/ll_voice" | ||
100 | + app:layout_constraintBottom_toBottomOf="parent" | ||
101 | + app:layout_constraintStart_toStartOf="parent" | ||
102 | + app:layout_constraintTop_toTopOf="parent"> | ||
83 | 103 | ||
84 | <ImageView | 104 | <ImageView |
85 | android:id="@+id/iv_widget_mb" | 105 | android:id="@+id/iv_widget_mb" |
86 | android:layout_width="22dp" | 106 | android:layout_width="22dp" |
87 | - android:layout_height="18dp" | 107 | + android:layout_height="22dp" |
88 | android:layout_marginStart="8dp" | 108 | android:layout_marginStart="8dp" |
89 | - android:layout_weight="0.2" | ||
90 | android:src="@drawable/web" | 109 | android:src="@drawable/web" |
91 | app:layout_constraintBottom_toBottomOf="parent" | 110 | app:layout_constraintBottom_toBottomOf="parent" |
92 | app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | 111 | app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
... | @@ -94,132 +113,95 @@ | ... | @@ -94,132 +113,95 @@ |
94 | app:layout_constraintVertical_bias="0.437" /> | 113 | app:layout_constraintVertical_bias="0.437" /> |
95 | 114 | ||
96 | <TextView | 115 | <TextView |
97 | - android:id="@+id/tv_widget_talk_title" | 116 | + android:id="@+id/tv_widget_data_title" |
98 | android:layout_width="wrap_content" | 117 | android:layout_width="wrap_content" |
99 | android:layout_height="wrap_content" | 118 | android:layout_height="wrap_content" |
100 | - android:layout_marginStart="12dp" | 119 | + android:layout_marginStart="8dp" |
101 | - android:text="MB Internet" | 120 | + android:text="Internet" |
121 | + android:textColor="#415564" | ||
122 | + android:textSize="15sp" | ||
102 | app:layout_constraintBottom_toBottomOf="parent" | 123 | app:layout_constraintBottom_toBottomOf="parent" |
103 | app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | 124 | app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" |
104 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 125 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
105 | app:layout_constraintVertical_bias="0.47" /> | 126 | app:layout_constraintVertical_bias="0.47" /> |
127 | + </LinearLayout> | ||
106 | 128 | ||
107 | - <ImageView | 129 | + <LinearLayout |
108 | - android:id="@+id/iv_widget_talk" | 130 | + android:id="@+id/ll_voice" |
109 | android:layout_width="0dp" | 131 | android:layout_width="0dp" |
110 | - android:layout_height="21dp" | 132 | + android:layout_height="wrap_content" |
111 | - android:layout_marginStart="12dp" | 133 | + android:background="@drawable/banner_border_grey_bg_left_radius" |
112 | - android:layout_weight="0.2" | 134 | + android:gravity="center" |
113 | - android:background="@color/cos_blue" | 135 | + android:orientation="horizontal" |
136 | + android:paddingHorizontal="12dp" | ||
137 | + android:paddingVertical="6dp" | ||
138 | + app:layout_constraintEnd_toStartOf="@+id/ll_sms" | ||
139 | + app:layout_constraintBottom_toBottomOf="parent" | ||
140 | + app:layout_constraintStart_toEndOf="@+id/ll_data" | ||
141 | + app:layout_constraintTop_toTopOf="parent"> | ||
142 | + | ||
143 | + <ImageView | ||
144 | + android:id="@+id/iv_widget_voice" | ||
145 | + android:layout_width="22dp" | ||
146 | + android:layout_height="22dp" | ||
147 | + android:layout_marginStart="8dp" | ||
114 | android:src="@drawable/phone_white" | 148 | android:src="@drawable/phone_white" |
115 | app:layout_constraintBottom_toBottomOf="parent" | 149 | app:layout_constraintBottom_toBottomOf="parent" |
116 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline" | 150 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
117 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 151 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
118 | - app:layout_constraintVertical_bias="0.533" /> | 152 | + app:layout_constraintVertical_bias="0.437" /> |
119 | 153 | ||
120 | <TextView | 154 | <TextView |
121 | - android:id="@+id/tv_widget_mb_title" | 155 | + android:id="@+id/tv_widget_talk_title" |
122 | android:layout_width="wrap_content" | 156 | android:layout_width="wrap_content" |
123 | android:layout_height="wrap_content" | 157 | android:layout_height="wrap_content" |
158 | + android:layout_marginStart="8dp" | ||
124 | android:text="Ομιλία" | 159 | android:text="Ομιλία" |
160 | + android:textColor="@android:color/white" | ||
161 | + android:textSize="15sp" | ||
125 | app:layout_constraintBottom_toBottomOf="parent" | 162 | app:layout_constraintBottom_toBottomOf="parent" |
126 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" | 163 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" |
127 | - app:layout_constraintHorizontal_bias="0.295" | ||
128 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_talk" | ||
129 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 164 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
130 | app:layout_constraintVertical_bias="0.47" /> | 165 | app:layout_constraintVertical_bias="0.47" /> |
166 | + </LinearLayout> | ||
167 | + | ||
168 | + <LinearLayout | ||
169 | + android:id="@+id/ll_sms" | ||
170 | + android:layout_width="0dp" | ||
171 | + android:layout_height="wrap_content" | ||
172 | + android:background="@drawable/banner_border_grey_bg_right_radius" | ||
173 | + android:gravity="center" | ||
174 | + android:orientation="horizontal" | ||
175 | + android:paddingHorizontal="12dp" | ||
176 | + android:paddingVertical="6dp" | ||
177 | + app:layout_constraintBottom_toBottomOf="parent" | ||
178 | + app:layout_constraintEnd_toEndOf="parent" | ||
179 | + app:layout_constraintStart_toEndOf="@+id/ll_voice" | ||
180 | + app:layout_constraintTop_toTopOf="parent"> | ||
131 | 181 | ||
132 | - <!-- SMS --> | ||
133 | <ImageView | 182 | <ImageView |
134 | android:id="@+id/iv_widget_sms" | 183 | android:id="@+id/iv_widget_sms" |
135 | - android:layout_width="26dp" | 184 | + android:layout_width="22dp" |
136 | - android:layout_height="17dp" | 185 | + android:layout_height="22dp" |
137 | - android:layout_marginStart="12dp" | 186 | + android:layout_marginStart="8dp" |
138 | - android:layout_weight="0.2" | ||
139 | android:src="@drawable/envelope_white" | 187 | android:src="@drawable/envelope_white" |
140 | app:layout_constraintBottom_toBottomOf="parent" | 188 | app:layout_constraintBottom_toBottomOf="parent" |
141 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" | 189 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
142 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 190 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
143 | - app:layout_constraintVertical_bias="0.421" /> | 191 | + app:layout_constraintVertical_bias="0.437" /> |
144 | 192 | ||
145 | <TextView | 193 | <TextView |
146 | android:id="@+id/tv_widget_sms_title" | 194 | android:id="@+id/tv_widget_sms_title" |
147 | android:layout_width="wrap_content" | 195 | android:layout_width="wrap_content" |
148 | android:layout_height="wrap_content" | 196 | android:layout_height="wrap_content" |
197 | + android:layout_marginStart="8dp" | ||
149 | android:text="SMS" | 198 | android:text="SMS" |
199 | + android:textColor="@android:color/white" | ||
200 | + android:textSize="15sp" | ||
150 | app:layout_constraintBottom_toBottomOf="parent" | 201 | app:layout_constraintBottom_toBottomOf="parent" |
151 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | 202 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" |
152 | - app:layout_constraintHorizontal_bias="0.323" | ||
153 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_sms" | ||
154 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | 203 | app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
155 | app:layout_constraintVertical_bias="0.47" /> | 204 | app:layout_constraintVertical_bias="0.47" /> |
156 | - | 205 | + </LinearLayout> |
157 | - <!-- Comsote One top horizontal --> | 206 | + </androidx.constraintlayout.widget.ConstraintLayout> |
158 | - | ||
159 | - <!-- Title --> | ||
160 | - | ||
161 | - <ImageView | ||
162 | - android:layout_width="77dp" | ||
163 | - android:layout_height="21dp" | ||
164 | - android:scaleType="fitXY" | ||
165 | - android:src="@drawable/cosmote_one" | ||
166 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | ||
167 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" | ||
168 | - app:layout_constraintHorizontal_bias="0.567" | ||
169 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline" | ||
170 | - app:layout_constraintTop_toTopOf="parent" | ||
171 | - app:layout_constraintVertical_bias="0.562" /> | ||
172 | - | ||
173 | - <TextView | ||
174 | - android:id="@+id/textView2" | ||
175 | - android:layout_width="wrap_content" | ||
176 | - android:layout_height="wrap_content" | ||
177 | - android:text="'Εχεις διαθέσιμα 5.6 GB" | ||
178 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2" | ||
179 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline3" | ||
180 | - app:layout_constraintHorizontal_bias="0.0" | ||
181 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
182 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline" | ||
183 | - app:layout_constraintVertical_bias="0.105" /> | ||
184 | - | ||
185 | - <!-- ProgressBar --> | ||
186 | - <ProgressBar | ||
187 | - android:id="@+id/progressBar" | ||
188 | - style="?android:attr/progressBarStyle" | ||
189 | - android:layout_width="109dp" | ||
190 | - android:layout_height="107dp" | ||
191 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2" | ||
192 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | ||
193 | - app:layout_constraintHorizontal_bias="0.333" | ||
194 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline3" | ||
195 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline" | ||
196 | - app:layout_constraintVertical_bias="0.066" /> | ||
197 | - | ||
198 | - <!-- Text inside ProgressBar --> | ||
199 | - <TextView | ||
200 | - android:id="@+id/textView4" | ||
201 | - android:layout_width="41dp" | ||
202 | - android:layout_height="30dp" | ||
203 | - android:gravity="center" | ||
204 | - android:text="5.6" | ||
205 | - android:textAlignment="center" | ||
206 | - app:layout_constraintBottom_toBottomOf="@+id/progressBar" | ||
207 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | ||
208 | - app:layout_constraintHorizontal_bias="0.409" | ||
209 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" | ||
210 | - app:layout_constraintTop_toTopOf="@+id/progressBar" | ||
211 | - app:layout_constraintVertical_bias="0.519" /> | ||
212 | - | ||
213 | - <ImageView | ||
214 | - android:id="@+id/imageView3" | ||
215 | - android:layout_width="99dp" | ||
216 | - android:layout_height="26dp" | ||
217 | - android:layout_marginTop="8dp" | ||
218 | - android:scaleType="fitXY" | ||
219 | - android:src="@drawable/cosmote_one" | ||
220 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | ||
221 | - app:layout_constraintHorizontal_bias="0.4" | ||
222 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline3" | ||
223 | - app:layout_constraintTop_toBottomOf="@+id/progressBar" /> | ||
224 | - | ||
225 | </androidx.constraintlayout.widget.ConstraintLayout> | 207 | </androidx.constraintlayout.widget.ConstraintLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment