Showing
2 changed files
with
189 additions
and
434 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"> | 4 | + android:layout_height="wrap_content" |
8 | - | 5 | + android:background="@drawable/banner_border_white" |
9 | - <androidx.constraintlayout.widget.Guideline | 6 | + android:elevation="3dp"> |
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" | ||
20 | - android:orientation="vertical" | ||
21 | - app:layout_constraintGuide_percent="0.95" /> | ||
22 | - | ||
23 | - <androidx.constraintlayout.widget.Guideline | ||
24 | - android:id="@+id/horizontal_outer_guideline" | ||
25 | - android:layout_width="wrap_content" | ||
26 | - android:layout_height="wrap_content" | ||
27 | - android:orientation="horizontal" | ||
28 | - app:layout_constraintGuide_percent="0.12" /> | ||
29 | 7 | ||
30 | - <androidx.constraintlayout.widget.Guideline | 8 | + <LinearLayout |
31 | - android:id="@+id/horizontal_outer_guideline2" | 9 | + android:id="@+id/ll_myphone" |
32 | android:layout_width="wrap_content" | 10 | android:layout_width="wrap_content" |
33 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
12 | + android:background="@drawable/banner_border_grey_bg" | ||
34 | android:orientation="horizontal" | 13 | android:orientation="horizontal" |
35 | - app:layout_constraintGuide_percent="0.88" /> | 14 | + android:paddingHorizontal="12dp" |
36 | - | 15 | + android:paddingVertical="6dp" |
37 | - <androidx.constraintlayout.widget.Guideline | 16 | + app:layout_constraintStart_toStartOf="parent" |
38 | - android:id="@+id/vertical_guideline" | 17 | + app:layout_constraintTop_toTopOf="parent"> |
39 | - android:layout_width="wrap_content" | 18 | + |
40 | - android:layout_height="wrap_content" | 19 | + <ImageView |
41 | - android:orientation="vertical" | 20 | + android:id="@+id/iv_widget_phone" |
42 | - app:layout_constraintGuide_percent="0.4" /> | 21 | + android:layout_width="24dp" |
43 | - | 22 | + android:layout_height="24dp" |
44 | - <androidx.constraintlayout.widget.Guideline | 23 | + android:src="@drawable/smartphone" |
45 | - android:id="@+id/vertical_guideline2" | 24 | + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" |
46 | - android:layout_width="wrap_content" | 25 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
47 | - android:layout_height="wrap_content" | 26 | + app:layout_constraintTop_toTopOf="parent" /> |
48 | - android:orientation="vertical" | 27 | + |
49 | - app:layout_constraintGuide_percent="0.7" /> | 28 | + <TextView |
50 | - | 29 | + android:id="@+id/tv_widget_phone_title" |
51 | - <androidx.constraintlayout.widget.Guideline | 30 | + android:layout_width="wrap_content" |
52 | - android:id="@+id/vertical_guideline3" | 31 | + android:layout_height="wrap_content" |
53 | - android:layout_width="wrap_content" | 32 | + android:layout_marginStart="8dp" |
54 | - android:layout_height="wrap_content" | 33 | + android:text="Το κινητό μου" |
55 | - android:orientation="vertical" | 34 | + android:textColor="#415564" |
56 | - app:layout_constraintGuide_percent="0.65" /> | 35 | + android:textFontWeight="500" |
57 | - | 36 | + android:textSize="15sp" /> |
58 | - <!-- MB Internet --> | 37 | + </LinearLayout> |
59 | - | ||
60 | - <ImageView | ||
61 | - android:id="@+id/iv_widget_phone" | ||
62 | - android:layout_width="23dp" | ||
63 | - android:layout_height="18dp" | ||
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 | - <TextView | ||
70 | - android:id="@+id/tv_widget_phone_title" | ||
71 | - android:layout_width="wrap_content" | ||
72 | - android:layout_height="wrap_content" | ||
73 | - android:layout_marginStart="8dp" | ||
74 | - android:text="Το κινητό μου" | ||
75 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | ||
76 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline" | ||
77 | - app:layout_constraintHorizontal_bias="0.0" | ||
78 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_phone" | ||
79 | - app:layout_constraintTop_toTopOf="parent" | ||
80 | - app:layout_constraintVertical_bias="0.529" /> | ||
81 | - | ||
82 | - <!-- Talk --> | ||
83 | 38 | ||
84 | <ImageView | 39 | <ImageView |
85 | - android:id="@+id/iv_widget_mb" | 40 | + android:layout_width="100dp" |
86 | - android:layout_width="22dp" | 41 | + android:layout_height="30dp" |
87 | - android:layout_height="18dp" | ||
88 | android:layout_marginStart="8dp" | 42 | android:layout_marginStart="8dp" |
89 | - android:layout_weight="0.2" | ||
90 | - android:src="@drawable/web" | ||
91 | - app:layout_constraintBottom_toBottomOf="parent" | ||
92 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
93 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
94 | - app:layout_constraintVertical_bias="0.437" /> | ||
95 | - | ||
96 | - <TextView | ||
97 | - android:id="@+id/tv_widget_talk_title" | ||
98 | - android:layout_width="wrap_content" | ||
99 | - android:layout_height="wrap_content" | ||
100 | - android:layout_marginStart="12dp" | ||
101 | - android:text="MB Internet" | ||
102 | - app:layout_constraintBottom_toBottomOf="parent" | ||
103 | - app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
104 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
105 | - app:layout_constraintVertical_bias="0.47" /> | ||
106 | - | ||
107 | - <ImageView | ||
108 | - android:id="@+id/iv_widget_talk" | ||
109 | - android:layout_width="0dp" | ||
110 | - android:layout_height="21dp" | ||
111 | - android:layout_marginStart="12dp" | ||
112 | - android:layout_weight="0.2" | ||
113 | - android:background="@color/cos_blue" | ||
114 | - android:src="@drawable/phone_white" | ||
115 | - app:layout_constraintBottom_toBottomOf="parent" | ||
116 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline" | ||
117 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
118 | - app:layout_constraintVertical_bias="0.533" /> | ||
119 | - | ||
120 | - <TextView | ||
121 | - android:id="@+id/tv_widget_mb_title" | ||
122 | - android:layout_width="wrap_content" | ||
123 | - android:layout_height="wrap_content" | ||
124 | - android:text="Ομιλία" | ||
125 | - app:layout_constraintBottom_toBottomOf="parent" | ||
126 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" | ||
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" | ||
130 | - app:layout_constraintVertical_bias="0.47" /> | ||
131 | - | ||
132 | - <!-- SMS --> | ||
133 | - <ImageView | ||
134 | - android:id="@+id/iv_widget_sms" | ||
135 | - android:layout_width="26dp" | ||
136 | - android:layout_height="17dp" | ||
137 | - android:layout_marginStart="12dp" | ||
138 | - android:layout_weight="0.2" | ||
139 | - android:src="@drawable/envelope_white" | ||
140 | - app:layout_constraintBottom_toBottomOf="parent" | ||
141 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2" | ||
142 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
143 | - app:layout_constraintVertical_bias="0.421" /> | ||
144 | - | ||
145 | - <TextView | ||
146 | - android:id="@+id/tv_widget_sms_title" | ||
147 | - android:layout_width="wrap_content" | ||
148 | - android:layout_height="wrap_content" | ||
149 | - android:text="SMS" | ||
150 | - app:layout_constraintBottom_toBottomOf="parent" | ||
151 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | ||
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" | ||
155 | - app:layout_constraintVertical_bias="0.47" /> | ||
156 | - | ||
157 | - <!-- Comsote One top horizontal --> | ||
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" | 43 | android:src="@drawable/cosmote_one" |
166 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | 44 | + app:layout_constraintBottom_toBottomOf="@+id/ll_myphone" |
167 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2" | 45 | + app:layout_constraintStart_toEndOf="@+id/ll_myphone" |
168 | - app:layout_constraintHorizontal_bias="0.567" | 46 | + app:layout_constraintTop_toTopOf="@+id/ll_myphone" /> |
169 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline" | ||
170 | - app:layout_constraintTop_toTopOf="parent" | ||
171 | - app:layout_constraintVertical_bias="0.562" /> | ||
172 | 47 | ||
173 | <TextView | 48 | <TextView |
174 | android:id="@+id/textView2" | 49 | android:id="@+id/textView2" |
175 | android:layout_width="wrap_content" | 50 | android:layout_width="wrap_content" |
176 | android:layout_height="wrap_content" | 51 | android:layout_height="wrap_content" |
52 | + android:layout_marginStart="16dp" | ||
53 | + android:layout_marginTop="24dp" | ||
177 | android:text="'Εχεις διαθέσιμα 5.6 GB" | 54 | android:text="'Εχεις διαθέσιμα 5.6 GB" |
178 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2" | 55 | + android:textColor="#415564" |
179 | - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline3" | 56 | + android:textSize="16sp" |
180 | - app:layout_constraintHorizontal_bias="0.0" | 57 | + android:textStyle="bold" |
181 | - app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | 58 | + app:layout_constraintStart_toStartOf="parent" |
182 | - app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline" | 59 | + app:layout_constraintTop_toBottomOf="@+id/ll_myphone" /> |
183 | - app:layout_constraintVertical_bias="0.105" /> | 60 | + |
184 | - | 61 | + <ImageView |
185 | - <!-- ProgressBar --> | 62 | + android:id="@+id/iv_progress" |
186 | - <ProgressBar | 63 | + android:layout_width="110dp" |
187 | - android:id="@+id/progressBar" | 64 | + android:layout_height="110dp" |
188 | - style="?android:attr/progressBarStyle" | 65 | + android:layout_marginEnd="24dp" |
189 | - android:layout_width="109dp" | 66 | + android:src="@drawable/ic_data_progress" |
190 | - android:layout_height="107dp" | 67 | + app:layout_constraintEnd_toEndOf="parent" |
191 | - app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2" | 68 | + app:layout_constraintTop_toTopOf="@+id/textView2" /> |
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 | 69 | ||
213 | <ImageView | 70 | <ImageView |
214 | - android:id="@+id/imageView3" | 71 | + android:id="@+id/iv_one_logo" |
215 | - android:layout_width="99dp" | 72 | + android:layout_width="100dp" |
216 | - android:layout_height="26dp" | 73 | + android:layout_height="30dp" |
217 | - android:layout_marginTop="8dp" | 74 | + android:layout_marginStart="8dp" |
218 | - android:scaleType="fitXY" | 75 | + android:layout_marginTop="6dp" |
219 | android:src="@drawable/cosmote_one" | 76 | android:src="@drawable/cosmote_one" |
220 | - app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2" | 77 | + app:layout_constraintEnd_toEndOf="@+id/iv_progress" |
221 | - app:layout_constraintHorizontal_bias="0.4" | 78 | + app:layout_constraintStart_toStartOf="@+id/iv_progress" |
222 | - app:layout_constraintStart_toStartOf="@+id/vertical_guideline3" | 79 | + app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> |
223 | - app:layout_constraintTop_toBottomOf="@+id/progressBar" /> | ||
224 | 80 | ||
225 | -</androidx.constraintlayout.widget.ConstraintLayout> | 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"> | ||
89 | + | ||
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"> | ||
103 | + | ||
104 | + <ImageView | ||
105 | + android:id="@+id/iv_widget_mb" | ||
106 | + android:layout_width="22dp" | ||
107 | + android:layout_height="22dp" | ||
108 | + android:layout_marginStart="8dp" | ||
109 | + android:src="@drawable/web" | ||
110 | + app:layout_constraintBottom_toBottomOf="parent" | ||
111 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
112 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
113 | + app:layout_constraintVertical_bias="0.437" /> | ||
114 | + | ||
115 | + <TextView | ||
116 | + android:id="@+id/tv_widget_data_title" | ||
117 | + android:layout_width="wrap_content" | ||
118 | + android:layout_height="wrap_content" | ||
119 | + android:layout_marginStart="8dp" | ||
120 | + android:text="Internet" | ||
121 | + android:textColor="#415564" | ||
122 | + android:textSize="15sp" | ||
123 | + app:layout_constraintBottom_toBottomOf="parent" | ||
124 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
125 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
126 | + app:layout_constraintVertical_bias="0.47" /> | ||
127 | + </LinearLayout> | ||
128 | + | ||
129 | + <LinearLayout | ||
130 | + android:id="@+id/ll_voice" | ||
131 | + android:layout_width="0dp" | ||
132 | + android:layout_height="wrap_content" | ||
133 | + android:background="@drawable/banner_border_grey_bg_left_radius" | ||
134 | + android:gravity="center" | ||
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" | ||
148 | + android:src="@drawable/phone_white" | ||
149 | + app:layout_constraintBottom_toBottomOf="parent" | ||
150 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
151 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
152 | + app:layout_constraintVertical_bias="0.437" /> | ||
153 | + | ||
154 | + <TextView | ||
155 | + android:id="@+id/tv_widget_talk_title" | ||
156 | + android:layout_width="wrap_content" | ||
157 | + android:layout_height="wrap_content" | ||
158 | + android:layout_marginStart="8dp" | ||
159 | + android:text="Ομιλία" | ||
160 | + android:textColor="@android:color/white" | ||
161 | + android:textSize="15sp" | ||
162 | + app:layout_constraintBottom_toBottomOf="parent" | ||
163 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
164 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
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"> | ||
181 | + | ||
182 | + <ImageView | ||
183 | + android:id="@+id/iv_widget_sms" | ||
184 | + android:layout_width="22dp" | ||
185 | + android:layout_height="22dp" | ||
186 | + android:layout_marginStart="8dp" | ||
187 | + android:src="@drawable/envelope_white" | ||
188 | + app:layout_constraintBottom_toBottomOf="parent" | ||
189 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
190 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
191 | + app:layout_constraintVertical_bias="0.437" /> | ||
192 | + | ||
193 | + <TextView | ||
194 | + android:id="@+id/tv_widget_sms_title" | ||
195 | + android:layout_width="wrap_content" | ||
196 | + android:layout_height="wrap_content" | ||
197 | + android:layout_marginStart="8dp" | ||
198 | + android:text="SMS" | ||
199 | + android:textColor="@android:color/white" | ||
200 | + android:textSize="15sp" | ||
201 | + app:layout_constraintBottom_toBottomOf="parent" | ||
202 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
203 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
204 | + app:layout_constraintVertical_bias="0.47" /> | ||
205 | + </LinearLayout> | ||
206 | + </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