Showing
2 changed files
with
249 additions
and
6 deletions
24.1 KB
| ... | @@ -30,19 +30,24 @@ | ... | @@ -30,19 +30,24 @@ |
| 30 | 30 | ||
| 31 | <RelativeLayout | 31 | <RelativeLayout |
| 32 | android:id="@+id/rl_user_info" | 32 | android:id="@+id/rl_user_info" |
| 33 | - android:layout_width="200dp" | 33 | + android:layout_width="0dp" |
| 34 | android:layout_height="match_parent" | 34 | android:layout_height="match_parent" |
| 35 | android:orientation="vertical" | 35 | android:orientation="vertical" |
| 36 | android:paddingLeft="10dp" | 36 | android:paddingLeft="10dp" |
| 37 | + app:layout_constraintEnd_toStartOf="@+id/iv_settings" | ||
| 37 | app:layout_constraintStart_toEndOf="@+id/user_img" | 38 | app:layout_constraintStart_toEndOf="@+id/user_img" |
| 39 | + app:layout_constraintTop_toTopOf="@+id/user_img" | ||
| 38 | tools:layout_editor_absoluteY="-10dp"> | 40 | tools:layout_editor_absoluteY="-10dp"> |
| 39 | 41 | ||
| 40 | <TextView | 42 | <TextView |
| 41 | android:id="@+id/welcome_user_txt" | 43 | android:id="@+id/welcome_user_txt" |
| 42 | - android:layout_width="230dp" | 44 | + android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" | 45 | android:layout_height="wrap_content" |
| 46 | + android:layout_marginBottom="8dp" | ||
| 47 | + android:maxLines="1" | ||
| 44 | android:scrollHorizontally="true" | 48 | android:scrollHorizontally="true" |
| 45 | - android:text="@string/welcome_user" /> | 49 | + android:text="@string/welcome_user" |
| 50 | + android:textColor="#415564" /> | ||
| 46 | 51 | ||
| 47 | <ImageView | 52 | <ImageView |
| 48 | android:id="@+id/cosmote_one" | 53 | android:id="@+id/cosmote_one" |
| ... | @@ -80,6 +85,7 @@ | ... | @@ -80,6 +85,7 @@ |
| 80 | </RelativeLayout> | 85 | </RelativeLayout> |
| 81 | 86 | ||
| 82 | <ImageView | 87 | <ImageView |
| 88 | + android:id="@+id/iv_settings" | ||
| 83 | android:layout_width="25dp" | 89 | android:layout_width="25dp" |
| 84 | android:layout_height="25dp" | 90 | android:layout_height="25dp" |
| 85 | android:src="@drawable/filters_icon" | 91 | android:src="@drawable/filters_icon" |
| ... | @@ -121,15 +127,252 @@ | ... | @@ -121,15 +127,252 @@ |
| 121 | android:paddingEnd="10dp" /> | 127 | android:paddingEnd="10dp" /> |
| 122 | </LinearLayout> | 128 | </LinearLayout> |
| 123 | 129 | ||
| 130 | + <!-- <androidx.constraintlayout.widget.ConstraintLayout--> | ||
| 131 | + <!-- android:id="@+id/rl_home_info_widget"--> | ||
| 132 | + <!-- android:layout_width="match_parent"--> | ||
| 133 | + <!-- android:layout_height="wrap_content"--> | ||
| 134 | + <!-- android:layout_below="@id/rl_home_coupons"--> | ||
| 135 | + <!-- android:layout_marginHorizontal="10dp"--> | ||
| 136 | + <!-- android:background="@drawable/banner_border">--> | ||
| 137 | + | ||
| 138 | + <!-- <include layout="@layout/info_widget" />--> | ||
| 139 | + <!-- </androidx.constraintlayout.widget.ConstraintLayout>--> | ||
| 140 | + | ||
| 124 | <androidx.constraintlayout.widget.ConstraintLayout | 141 | <androidx.constraintlayout.widget.ConstraintLayout |
| 125 | android:id="@+id/rl_home_info_widget" | 142 | android:id="@+id/rl_home_info_widget" |
| 126 | android:layout_width="match_parent" | 143 | android:layout_width="match_parent" |
| 127 | android:layout_height="wrap_content" | 144 | android:layout_height="wrap_content" |
| 128 | android:layout_below="@id/rl_home_coupons" | 145 | android:layout_below="@id/rl_home_coupons" |
| 129 | - android:layout_marginHorizontal="10dp" | 146 | + android:layout_marginHorizontal="8dp" |
| 130 | - android:background="@drawable/banner_border"> | 147 | + android:background="@drawable/banner_border_white" |
| 148 | + android:elevation="3dp"> | ||
| 149 | + | ||
| 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 | ||
| 202 | + android:id="@+id/ll_myphone" | ||
| 203 | + android:layout_width="wrap_content" | ||
| 204 | + android:layout_height="wrap_content" | ||
| 205 | + android:background="@drawable/banner_border_grey_bg" | ||
| 206 | + android:orientation="horizontal" | ||
| 207 | + android:paddingHorizontal="12dp" | ||
| 208 | + android:paddingVertical="6dp" | ||
| 209 | + app:layout_constraintStart_toStartOf="parent" | ||
| 210 | + app:layout_constraintTop_toTopOf="parent"> | ||
| 211 | + | ||
| 212 | + <ImageView | ||
| 213 | + android:id="@+id/iv_widget_phone" | ||
| 214 | + android:layout_width="24dp" | ||
| 215 | + android:layout_height="24dp" | ||
| 216 | + android:src="@drawable/smartphone" | ||
| 217 | + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline" | ||
| 218 | + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline" | ||
| 219 | + app:layout_constraintTop_toTopOf="parent" /> | ||
| 220 | + | ||
| 221 | + <TextView | ||
| 222 | + android:id="@+id/tv_widget_phone_title" | ||
| 223 | + android:layout_width="wrap_content" | ||
| 224 | + android:layout_height="wrap_content" | ||
| 225 | + android:layout_marginStart="8dp" | ||
| 226 | + android:text="Το κινητό μου" | ||
| 227 | + android:textColor="#415564" | ||
| 228 | + android:textFontWeight="500" | ||
| 229 | + android:textSize="15sp" /> | ||
| 230 | + </LinearLayout> | ||
| 231 | + | ||
| 232 | + <ImageView | ||
| 233 | + android:layout_width="100dp" | ||
| 234 | + android:layout_height="30dp" | ||
| 235 | + android:layout_marginStart="8dp" | ||
| 236 | + android:src="@drawable/cosmote_one" | ||
| 237 | + app:layout_constraintBottom_toBottomOf="@+id/ll_myphone" | ||
| 238 | + app:layout_constraintStart_toEndOf="@+id/ll_myphone" | ||
| 239 | + app:layout_constraintTop_toTopOf="@+id/ll_myphone" /> | ||
| 240 | + | ||
| 241 | + <TextView | ||
| 242 | + android:id="@+id/textView2" | ||
| 243 | + android:layout_width="wrap_content" | ||
| 244 | + android:layout_height="wrap_content" | ||
| 245 | + android:layout_marginStart="16dp" | ||
| 246 | + android:layout_marginTop="24dp" | ||
| 247 | + android:text="'Εχεις διαθέσιμα 5.6 GB" | ||
| 248 | + android:textColor="#415564" | ||
| 249 | + android:textSize="16sp" | ||
| 250 | + android:textStyle="bold" | ||
| 251 | + app:layout_constraintStart_toStartOf="parent" | ||
| 252 | + app:layout_constraintTop_toBottomOf="@+id/ll_myphone" /> | ||
| 253 | + | ||
| 254 | + <ImageView | ||
| 255 | + android:id="@+id/iv_progress" | ||
| 256 | + android:layout_width="110dp" | ||
| 257 | + android:layout_height="110dp" | ||
| 258 | + android:layout_marginEnd="16dp" | ||
| 259 | + android:src="@drawable/ic_data_progress" | ||
| 260 | + app:layout_constraintEnd_toEndOf="parent" | ||
| 261 | + app:layout_constraintTop_toTopOf="@+id/textView2" /> | ||
| 262 | + | ||
| 263 | + <ImageView | ||
| 264 | + android:layout_width="100dp" | ||
| 265 | + android:layout_height="30dp" | ||
| 266 | + android:layout_marginStart="8dp" | ||
| 267 | + android:layout_marginTop="6dp" | ||
| 268 | + android:src="@drawable/cosmote_one" | ||
| 269 | + app:layout_constraintEnd_toEndOf="@+id/iv_progress" | ||
| 270 | + app:layout_constraintStart_toStartOf="@+id/iv_progress" | ||
| 271 | + app:layout_constraintTop_toBottomOf="@+id/iv_progress" /> | ||
| 272 | + | ||
| 273 | +<!-- <LinearLayout--> | ||
| 274 | +<!-- android:id="@+id/ll_myphone"--> | ||
| 275 | +<!-- android:layout_width="wrap_content"--> | ||
| 276 | +<!-- android:layout_height="wrap_content"--> | ||
| 277 | +<!-- android:background="@drawable/banner_border_grey_bg"--> | ||
| 278 | +<!-- android:orientation="horizontal"--> | ||
| 279 | +<!-- android:paddingHorizontal="12dp"--> | ||
| 280 | +<!-- android:paddingVertical="6dp"--> | ||
| 281 | +<!-- app:layout_constraintStart_toStartOf="parent"--> | ||
| 282 | +<!-- app:layout_constraintTop_toTopOf="parent">--> | ||
| 283 | + | ||
| 284 | +<!-- </LinearLayout>--> | ||
| 285 | + | ||
| 286 | + <!-- Talk --> | ||
| 287 | + | ||
| 288 | + <!-- <ImageView--> | ||
| 289 | + <!-- android:id="@+id/iv_widget_mb"--> | ||
| 290 | + <!-- android:layout_width="22dp"--> | ||
| 291 | + <!-- android:layout_height="18dp"--> | ||
| 292 | + <!-- android:layout_marginStart="8dp"--> | ||
| 293 | + <!-- android:layout_weight="0.2"--> | ||
| 294 | + <!-- android:src="@drawable/web"--> | ||
| 295 | + <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
| 296 | + <!-- app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"--> | ||
| 297 | + <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
| 298 | + <!-- app:layout_constraintVertical_bias="0.437" />--> | ||
| 299 | + | ||
| 300 | + <!-- <TextView--> | ||
| 301 | + <!-- android:id="@+id/tv_widget_talk_title"--> | ||
| 302 | + <!-- android:layout_width="wrap_content"--> | ||
| 303 | + <!-- android:layout_height="wrap_content"--> | ||
| 304 | + <!-- android:layout_marginStart="12dp"--> | ||
| 305 | + <!-- android:text="MB Internet"--> | ||
| 306 | + <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
| 307 | + <!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"--> | ||
| 308 | + <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
| 309 | + <!-- app:layout_constraintVertical_bias="0.47" />--> | ||
| 310 | + | ||
| 311 | + <!-- <ImageView--> | ||
| 312 | + <!-- android:id="@+id/iv_widget_talk"--> | ||
| 313 | + <!-- android:layout_width="0dp"--> | ||
| 314 | + <!-- android:layout_height="21dp"--> | ||
| 315 | + <!-- android:layout_marginStart="12dp"--> | ||
| 316 | + <!-- android:layout_weight="0.2"--> | ||
| 317 | + <!-- android:background="@color/cos_blue"--> | ||
| 318 | + <!-- android:src="@drawable/phone_white"--> | ||
| 319 | + <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
| 320 | + <!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline"--> | ||
| 321 | + <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
| 322 | + <!-- app:layout_constraintVertical_bias="0.533" />--> | ||
| 323 | + | ||
| 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 | + | ||
| 336 | + <!-- <!– SMS –>--> | ||
| 337 | + <!-- <ImageView--> | ||
| 338 | + <!-- android:id="@+id/iv_widget_sms"--> | ||
| 339 | + <!-- android:layout_width="26dp"--> | ||
| 340 | + <!-- android:layout_height="17dp"--> | ||
| 341 | + <!-- android:layout_marginStart="12dp"--> | ||
| 342 | + <!-- android:layout_weight="0.2"--> | ||
| 343 | + <!-- android:src="@drawable/envelope_white"--> | ||
| 344 | + <!-- app:layout_constraintBottom_toBottomOf="parent"--> | ||
| 345 | + <!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"--> | ||
| 346 | + <!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"--> | ||
| 347 | + <!-- app:layout_constraintVertical_bias="0.421" />--> | ||
| 348 | + | ||
| 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" />--> | ||
| 131 | 375 | ||
| 132 | - <include layout="@layout/info_widget" /> | ||
| 133 | </androidx.constraintlayout.widget.ConstraintLayout> | 376 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 134 | 377 | ||
| 135 | <TextView | 378 | <TextView | ... | ... |
-
Please register or login to post a comment