Showing
1 changed file
with
10 additions
and
4 deletions
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | +<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:app="http://schemas.android.com/apk/res-auto" | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | xmlns:tools="http://schemas.android.com/tools" | 4 | xmlns:tools="http://schemas.android.com/tools" |
| 5 | android:layout_width="@dimen/width_full" | 5 | android:layout_width="@dimen/width_full" |
| 6 | android:layout_height="150dp" | 6 | android:layout_height="150dp" |
| 7 | android:layout_marginStart="10dp" | 7 | android:layout_marginStart="10dp" |
| 8 | + app:cardCornerRadius="4dp"> | ||
| 9 | + | ||
| 10 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
| 11 | + android:layout_width="match_parent" | ||
| 12 | + android:layout_height="match_parent" | ||
| 8 | android:background="@drawable/selector_cos_campaign"> | 13 | android:background="@drawable/selector_cos_campaign"> |
| 9 | 14 | ||
| 10 | <androidx.constraintlayout.widget.Guideline | 15 | <androidx.constraintlayout.widget.Guideline |
| ... | @@ -22,10 +27,10 @@ | ... | @@ -22,10 +27,10 @@ |
| 22 | app:layout_constraintBottom_toBottomOf="parent" | 27 | app:layout_constraintBottom_toBottomOf="parent" |
| 23 | app:layout_constraintHorizontal_bias="0.0" | 28 | app:layout_constraintHorizontal_bias="0.0" |
| 24 | app:layout_constraintLeft_toLeftOf="parent" | 29 | app:layout_constraintLeft_toLeftOf="parent" |
| 25 | - tools:src="@drawable/ic_cosmote_logo_horizontal_grey" | ||
| 26 | app:layout_constraintRight_toLeftOf="@+id/gl_vertical_60_percent" | 30 | app:layout_constraintRight_toLeftOf="@+id/gl_vertical_60_percent" |
| 27 | app:layout_constraintTop_toTopOf="parent" | 31 | app:layout_constraintTop_toTopOf="parent" |
| 28 | - app:layout_constraintVertical_bias="0.0" /> | 32 | + app:layout_constraintVertical_bias="0.0" |
| 33 | + tools:src="@drawable/ic_cosmote_logo_horizontal_grey" /> | ||
| 29 | 34 | ||
| 30 | <TextView | 35 | <TextView |
| 31 | android:id="@+id/tv_campaign_title" | 36 | android:id="@+id/tv_campaign_title" |
| ... | @@ -41,4 +46,5 @@ | ... | @@ -41,4 +46,5 @@ |
| 41 | app:layout_constraintTop_toTopOf="parent" | 46 | app:layout_constraintTop_toTopOf="parent" |
| 42 | tools:text="-10% in all products from IKEA" /> | 47 | tools:text="-10% in all products from IKEA" /> |
| 43 | 48 | ||
| 44 | -</androidx.constraintlayout.widget.ConstraintLayout> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 49 | + </androidx.constraintlayout.widget.ConstraintLayout> | ||
| 50 | +</androidx.cardview.widget.CardView> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment