Showing
2 changed files
with
120 additions
and
135 deletions
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <solid android:color="#415564"/> | ||
4 | + <corners android:radius="10dp"/> | ||
5 | + <padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" /> | ||
6 | +</shape> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -107,6 +107,7 @@ | ... | @@ -107,6 +107,7 @@ |
107 | android:layout_marginBottom="8dp" | 107 | android:layout_marginBottom="8dp" |
108 | android:clipToPadding="false" | 108 | android:clipToPadding="false" |
109 | android:orientation="horizontal" | 109 | android:orientation="horizontal" |
110 | + android:paddingStart="10dp" | ||
110 | android:paddingEnd="10dp" /> | 111 | android:paddingEnd="10dp" /> |
111 | </RelativeLayout> | 112 | </RelativeLayout> |
112 | 113 | ||
... | @@ -147,57 +148,6 @@ | ... | @@ -147,57 +148,6 @@ |
147 | android:background="@drawable/banner_border_white" | 148 | android:background="@drawable/banner_border_white" |
148 | android:elevation="3dp"> | 149 | android:elevation="3dp"> |
149 | 150 | ||
150 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
151 | - <!-- android:id="@+id/vertical_outer_guideline"--> | ||
152 | - <!-- android:layout_width="wrap_content"--> | ||
153 | - <!-- android:layout_height="wrap_content"--> | ||
154 | - <!-- android:orientation="vertical"--> | ||
155 | - <!-- app:layout_constraintGuide_percent="0.04" />--> | ||
156 | - | ||
157 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
158 | - <!-- android:id="@+id/vertical_outer_guideline2"--> | ||
159 | - <!-- android:layout_width="wrap_content"--> | ||
160 | - <!-- android:layout_height="wrap_content"--> | ||
161 | - <!-- android:orientation="vertical"--> | ||
162 | - <!-- app:layout_constraintGuide_percent="0.95" />--> | ||
163 | - | ||
164 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
165 | - <!-- android:id="@+id/horizontal_outer_guideline"--> | ||
166 | - <!-- android:layout_width="wrap_content"--> | ||
167 | - <!-- android:layout_height="wrap_content"--> | ||
168 | - <!-- android:orientation="horizontal"--> | ||
169 | - <!-- app:layout_constraintGuide_percent="0.12" />--> | ||
170 | - | ||
171 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
172 | - <!-- android:id="@+id/horizontal_outer_guideline2"--> | ||
173 | - <!-- android:layout_width="wrap_content"--> | ||
174 | - <!-- android:layout_height="wrap_content"--> | ||
175 | - <!-- android:orientation="horizontal"--> | ||
176 | - <!-- app:layout_constraintGuide_percent="0.88" />--> | ||
177 | - | ||
178 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
179 | - <!-- android:id="@+id/vertical_guideline"--> | ||
180 | - <!-- android:layout_width="wrap_content"--> | ||
181 | - <!-- android:layout_height="wrap_content"--> | ||
182 | - <!-- android:orientation="vertical"--> | ||
183 | - <!-- app:layout_constraintGuide_percent="0.4" />--> | ||
184 | - | ||
185 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
186 | - <!-- android:id="@+id/vertical_guideline2"--> | ||
187 | - <!-- android:layout_width="wrap_content"--> | ||
188 | - <!-- android:layout_height="wrap_content"--> | ||
189 | - <!-- android:orientation="vertical"--> | ||
190 | - <!-- app:layout_constraintGuide_percent="0.7" />--> | ||
191 | - | ||
192 | - <!-- <androidx.constraintlayout.widget.Guideline--> | ||
193 | - <!-- android:id="@+id/vertical_guideline3"--> | ||
194 | - <!-- android:layout_width="wrap_content"--> | ||
195 | - <!-- android:layout_height="wrap_content"--> | ||
196 | - <!-- android:orientation="vertical"--> | ||
197 | - <!-- app:layout_constraintGuide_percent="0.65" />--> | ||
198 | - | ||
199 | - <!-- MB Internet --> | ||
200 | - | ||
201 | <LinearLayout | 151 | <LinearLayout |
202 | android:id="@+id/ll_myphone" | 152 | android:id="@+id/ll_myphone" |
203 | android:layout_width="wrap_content" | 153 | android:layout_width="wrap_content" |
... | @@ -255,12 +205,13 @@ | ... | @@ -255,12 +205,13 @@ |
255 | android:id="@+id/iv_progress" | 205 | android:id="@+id/iv_progress" |
256 | android:layout_width="110dp" | 206 | android:layout_width="110dp" |
257 | android:layout_height="110dp" | 207 | android:layout_height="110dp" |
258 | - android:layout_marginEnd="16dp" | 208 | + android:layout_marginEnd="24dp" |
259 | android:src="@drawable/ic_data_progress" | 209 | android:src="@drawable/ic_data_progress" |
260 | app:layout_constraintEnd_toEndOf="parent" | 210 | app:layout_constraintEnd_toEndOf="parent" |
261 | app:layout_constraintTop_toTopOf="@+id/textView2" /> | 211 | app:layout_constraintTop_toTopOf="@+id/textView2" /> |
262 | 212 | ||
263 | <ImageView | 213 | <ImageView |
214 | + android:id="@+id/iv_one_logo" | ||
264 | android:layout_width="100dp" | 215 | android:layout_width="100dp" |
265 | android:layout_height="30dp" | 216 | android:layout_height="30dp" |
266 | android:layout_marginStart="8dp" | 217 | android:layout_marginStart="8dp" |
... | @@ -270,70 +221,124 @@ | ... | @@ -270,70 +221,124 @@ |
270 | app:layout_constraintStart_toStartOf="@+id/iv_progress" | 221 | app:layout_constraintStart_toStartOf="@+id/iv_progress" |
271 | app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | 222 | app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> |
272 | 223 | ||
273 | -<!-- <LinearLayout--> | 224 | + <LinearLayout |
274 | -<!-- android:id="@+id/ll_myphone"--> | 225 | + android:layout_width="match_parent" |
275 | -<!-- android:layout_width="wrap_content"--> | 226 | + android:layout_height="wrap_content" |
276 | -<!-- android:layout_height="wrap_content"--> | 227 | + android:layout_marginTop="16dp" |
277 | -<!-- android:background="@drawable/banner_border_grey_bg"--> | 228 | + android:orientation="horizontal" |
278 | -<!-- android:orientation="horizontal"--> | 229 | + android:weightSum="3" |
279 | -<!-- android:paddingHorizontal="12dp"--> | 230 | + app:layout_constraintBottom_toBottomOf="parent" |
280 | -<!-- android:paddingVertical="6dp"--> | 231 | + app:layout_constraintEnd_toEndOf="parent" |
281 | -<!-- app:layout_constraintStart_toStartOf="parent"--> | 232 | + app:layout_constraintStart_toStartOf="parent" |
282 | -<!-- app:layout_constraintTop_toTopOf="parent">--> | 233 | + app:layout_constraintTop_toBottomOf="@+id/iv_one_logo"> |
283 | 234 | ||
284 | -<!-- </LinearLayout>--> | 235 | + <LinearLayout |
236 | + android:id="@+id/ll_data" | ||
237 | + android:layout_width="0dp" | ||
238 | + android:layout_height="wrap_content" | ||
239 | + android:layout_weight="1.2" | ||
240 | + android:background="@drawable/banner_border_grey_bg" | ||
241 | + android:orientation="horizontal" | ||
242 | + android:paddingHorizontal="12dp" | ||
243 | + android:paddingVertical="6dp"> | ||
285 | 244 | ||
286 | - <!-- Talk --> | 245 | + <ImageView |
246 | + android:id="@+id/iv_widget_mb" | ||
247 | + android:layout_width="24dp" | ||
248 | + android:layout_height="24dp" | ||
249 | + android:layout_marginStart="8dp" | ||
250 | + android:src="@drawable/web" | ||
251 | + app:layout_constraintBottom_toBottomOf="parent" | ||
252 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
253 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
254 | + app:layout_constraintVertical_bias="0.437" /> | ||
287 | 255 | ||
288 | - <!-- <ImageView--> | 256 | + <TextView |
289 | - <!-- android:id="@+id/iv_widget_mb"--> | 257 | + android:id="@+id/tv_widget_data_title" |
290 | - <!-- android:layout_width="22dp"--> | 258 | + android:layout_width="wrap_content" |
291 | - <!-- android:layout_height="18dp"--> | 259 | + android:layout_height="wrap_content" |
292 | - <!-- android:layout_marginStart="8dp"--> | 260 | + android:layout_marginStart="8dp" |
293 | - <!-- android:layout_weight="0.2"--> | 261 | + android:text="MB Internet" |
294 | - <!-- android:src="@drawable/web"--> | 262 | + android:textColor="#415564" |
295 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | 263 | + android:textSize="15sp" |
296 | - <!-- app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"--> | 264 | + app:layout_constraintBottom_toBottomOf="parent" |
297 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | 265 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" |
298 | - <!-- app:layout_constraintVertical_bias="0.437" />--> | 266 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
267 | + app:layout_constraintVertical_bias="0.47" /> | ||
268 | + </LinearLayout> | ||
299 | 269 | ||
300 | - <!-- <TextView--> | 270 | + <LinearLayout |
301 | - <!-- android:id="@+id/tv_widget_talk_title"--> | 271 | + android:id="@+id/ll_voice" |
302 | - <!-- android:layout_width="wrap_content"--> | 272 | + android:layout_width="0dp" |
303 | - <!-- android:layout_height="wrap_content"--> | 273 | + android:layout_height="wrap_content" |
304 | - <!-- android:layout_marginStart="12dp"--> | 274 | + android:layout_weight="0.9" |
305 | - <!-- android:text="MB Internet"--> | 275 | + android:background="@drawable/banner_border_grey_bg3" |
306 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | 276 | + android:orientation="horizontal" |
307 | - <!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"--> | 277 | + android:paddingHorizontal="12dp" |
308 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | 278 | + android:paddingVertical="6dp"> |
309 | - <!-- app:layout_constraintVertical_bias="0.47" />--> | ||
310 | 279 | ||
311 | - <!-- <ImageView--> | 280 | + <ImageView |
312 | - <!-- android:id="@+id/iv_widget_talk"--> | 281 | + android:id="@+id/iv_widget_voice" |
313 | - <!-- android:layout_width="0dp"--> | 282 | + android:layout_width="24dp" |
314 | - <!-- android:layout_height="21dp"--> | 283 | + android:layout_height="24dp" |
315 | - <!-- android:layout_marginStart="12dp"--> | 284 | + android:layout_marginStart="8dp" |
316 | - <!-- android:layout_weight="0.2"--> | 285 | + android:src="@drawable/phone_white" |
317 | - <!-- android:background="@color/cos_blue"--> | 286 | + app:layout_constraintBottom_toBottomOf="parent" |
318 | - <!-- android:src="@drawable/phone_white"--> | 287 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" |
319 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | 288 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" |
320 | - <!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline"--> | 289 | + app:layout_constraintVertical_bias="0.437" /> |
321 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | 290 | + |
322 | - <!-- app:layout_constraintVertical_bias="0.533" />--> | 291 | + <TextView |
292 | + android:id="@+id/tv_widget_talk_title" | ||
293 | + android:layout_width="wrap_content" | ||
294 | + android:layout_height="wrap_content" | ||
295 | + android:layout_marginStart="8dp" | ||
296 | + android:text="Ομιλία" | ||
297 | + android:textColor="@android:color/white" | ||
298 | + android:textSize="15sp" | ||
299 | + app:layout_constraintBottom_toBottomOf="parent" | ||
300 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
301 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
302 | + app:layout_constraintVertical_bias="0.47" /> | ||
303 | + </LinearLayout> | ||
304 | + | ||
305 | + <LinearLayout | ||
306 | + android:id="@+id/ll_sms" | ||
307 | + android:layout_width="0dp" | ||
308 | + android:layout_height="wrap_content" | ||
309 | + android:layout_weight="0.9" | ||
310 | + android:background="@drawable/banner_border_grey_bg3" | ||
311 | + android:orientation="horizontal" | ||
312 | + android:paddingHorizontal="12dp" | ||
313 | + android:paddingVertical="6dp"> | ||
314 | + | ||
315 | + <ImageView | ||
316 | + android:id="@+id/iv_widget_sms" | ||
317 | + android:layout_width="24dp" | ||
318 | + android:layout_height="24dp" | ||
319 | + android:layout_marginStart="8dp" | ||
320 | + android:src="@drawable/envelope_white" | ||
321 | + app:layout_constraintBottom_toBottomOf="parent" | ||
322 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
323 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
324 | + app:layout_constraintVertical_bias="0.437" /> | ||
325 | + | ||
326 | + <TextView | ||
327 | + android:id="@+id/tv_widget_sms_title" | ||
328 | + android:layout_width="wrap_content" | ||
329 | + android:layout_height="wrap_content" | ||
330 | + android:layout_marginStart="8dp" | ||
331 | + android:text="SMS" | ||
332 | + android:textColor="@android:color/white" | ||
333 | + android:textSize="15sp" | ||
334 | + app:layout_constraintBottom_toBottomOf="parent" | ||
335 | + app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" | ||
336 | + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2" | ||
337 | + app:layout_constraintVertical_bias="0.47" /> | ||
338 | + </LinearLayout> | ||
339 | + </LinearLayout> | ||
323 | 340 | ||
324 | - <!-- <TextView--> | ||
325 | - <!-- android:id="@+id/tv_widget_mb_title"--> | ||
326 | - <!-- android:layout_width="wrap_content"--> | ||
327 | - <!-- android:layout_height="wrap_content"--> | ||
328 | - <!-- android:text="Ομιλία"--> | ||
329 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
330 | - <!-- app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"--> | ||
331 | - <!-- app:layout_constraintHorizontal_bias="0.295"--> | ||
332 | - <!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_talk"--> | ||
333 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
334 | - <!-- app:layout_constraintVertical_bias="0.47" />--> | ||
335 | 341 | ||
336 | - <!-- <!– SMS –>--> | ||
337 | <!-- <ImageView--> | 342 | <!-- <ImageView--> |
338 | <!-- android:id="@+id/iv_widget_sms"--> | 343 | <!-- android:id="@+id/iv_widget_sms"--> |
339 | <!-- android:layout_width="26dp"--> | 344 | <!-- android:layout_width="26dp"--> |
... | @@ -346,32 +351,6 @@ | ... | @@ -346,32 +351,6 @@ |
346 | <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | 351 | <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> |
347 | <!-- app:layout_constraintVertical_bias="0.421" />--> | 352 | <!-- app:layout_constraintVertical_bias="0.421" />--> |
348 | 353 | ||
349 | - <!-- <TextView--> | ||
350 | - <!-- android:id="@+id/tv_widget_sms_title"--> | ||
351 | - <!-- android:layout_width="wrap_content"--> | ||
352 | - <!-- android:layout_height="wrap_content"--> | ||
353 | - <!-- android:text="SMS"--> | ||
354 | - <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
355 | - <!-- app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"--> | ||
356 | - <!-- app:layout_constraintHorizontal_bias="0.323"--> | ||
357 | - <!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"--> | ||
358 | - <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
359 | - <!-- app:layout_constraintVertical_bias="0.47" />--> | ||
360 | - | ||
361 | - <!-- <!– Text inside ProgressBar –>--> | ||
362 | - <!-- <TextView--> | ||
363 | - <!-- android:id="@+id/textView4"--> | ||
364 | - <!-- android:layout_width="41dp"--> | ||
365 | - <!-- android:layout_height="30dp"--> | ||
366 | - <!-- android:gravity="center"--> | ||
367 | - <!-- android:text="5.6"--> | ||
368 | - <!-- android:textAlignment="center"--> | ||
369 | - <!-- app:layout_constraintBottom_toBottomOf="@+id/progressBar"--> | ||
370 | - <!-- app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"--> | ||
371 | - <!-- app:layout_constraintHorizontal_bias="0.409"--> | ||
372 | - <!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"--> | ||
373 | - <!-- app:layout_constraintTop_toTopOf="@+id/progressBar"--> | ||
374 | - <!-- app:layout_constraintVertical_bias="0.519" />--> | ||
375 | 354 | ||
376 | </androidx.constraintlayout.widget.ConstraintLayout> | 355 | </androidx.constraintlayout.widget.ConstraintLayout> |
377 | 356 | ... | ... |
-
Please register or login to post a comment