cs306-versus/versus-app

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

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:padding="4dp">

   <TextView
       android:id="@+id/textMessage_chatReceived"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_marginStart="4dp"
       android:layout_marginLeft="4dp"
       android:background="@drawable/background_received_message"
       android:padding="12dp"
       android:textColor="@color/white"
       android:textSize="20sp"
       app:layout_constraintStart_toStartOf="parent"
       app:layout_constraintTop_toTopOf="parent"
       />
    
    <TextView
        android:id="@+id/textDateTime"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="4dp"
        android:textColor="@color/secondary_text"
        android:textSize="10sp"
        app:layout_constraintStart_toStartOf="@id/textMessage_chatReceived"
        app:layout_constraintBottom_toBottomOf="@id/textMessage_chatReceived"
        />



</androidx.constraintlayout.widget.ConstraintLayout>