EPForumL/androidApp

View on GitHub
app/src/main/res/layout/forum_item.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:layout_margin="10dp">

    <de.hdodenhof.circleimageview.CircleImageView
        android:layout_width="60dp"
        android:layout_height="60dp"
        android:layout_gravity="center"
        android:id="@+id/question_image"
        android:src="@drawable/nav_account"
        android:layout_marginRight="10dp" />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/forum_question_displayed"
        app:layout_constraintStart_toStartOf="parent"
        android:text="@string/hop_une_belle_question_et_tout_bla_bla_bla_beauuucoup_trop_trop_trop_trop_troptt_t_t_t_tt_tt_t_tt_tt_t_t_longue_t_t_t_tt_tt_t_tt_tt_t_t_longuet_t_t_tt_tt_t_tt_tt_t_t_longue_t_t_t_tt_tt_t_tt_tt_t_t_longue"
        android:textSize="20sp"
        android:ellipsize="end"
        android:layout_gravity="center_vertical"
        android:maxLines="3"
        android:textStyle="bold"/>
</LinearLayout>