Panagiotis Triantafyllou

fixed home campaigns view

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/width_full"
android:layout_height="@dimen/height_carousel"
android:layout_width="360dp"
android:layout_height="240dp"
android:layout_marginLeft="10dp"
android:elevation="2dp"
android:background="@drawable/bottom_border">
app:cardCornerRadius="10dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="2dp">
<LinearLayout
android:id="@+id/ll_carousel_icon"
android:layout_width="match_parent"
app:layout_constraintStart_toStartOf="parent"
android:layout_height="170dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_height="170dp">
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:src="@drawable/carousel_banner"
android:scaleType="centerCrop"
tools:layout_editor_absoluteY="-44dp" />
tools:src="@drawable/carousel_banner" />
</LinearLayout>
<TextView
......@@ -30,10 +35,11 @@
android:layout_height="wrap_content"
android:paddingHorizontal="15dp"
android:paddingVertical="10dp"
android:textColor="@color/grey"
android:textSize="15sp"
android:textStyle="bold"
android:textColor="@color/grey"
tools:text="Χρόνια πολλά με υγεία! Σου κάνουμε δώρο 5GB για τη γιορτή σου!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ll_carousel_icon"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
tools:text="Χρόνια πολλά με υγεία! Σου κάνουμε δώρο 5GB για τη γιορτή σου!" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
\ No newline at end of file
......