diff --git a/androidApp/src/main/res/layout/card_item.xml b/androidApp/src/main/res/layout/card_item.xml index b153220..ad94019 100644 --- a/androidApp/src/main/res/layout/card_item.xml +++ b/androidApp/src/main/res/layout/card_item.xml @@ -54,19 +54,24 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_margin="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="8dp" android:textAlignment="viewStart" android:textColor="?android:textColorPrimary" android:textStyle="bold" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/sourceImage" - app:layout_constraintTop_toTopOf="@+id/sourceImage" + app:layout_constraintTop_toTopOf="parent" tools:text="Titre" /> @@ -20,7 +22,7 @@ android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginTop="8dp" - android:layout_marginEnd="16dp" + android:layout_marginEnd="8dp" android:ellipsize="end" android:fontFamily="sans-serif" android:maxLines="3" @@ -38,15 +40,17 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" - android:layout_marginEnd="16dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" android:gravity="start" - android:maxLines="1" android:textAlignment="viewStart" android:textColor="?android:textColorPrimary" android:textSize="14sp" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/itemImage" - app:layout_constraintTop_toBottomOf="@+id/itemImage" + app:layout_constraintTop_toBottomOf="@+id/title" tools:text="Google Actualité Il y a 5h" /> \ No newline at end of file