Commit 2d47080f authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update layout.

parent c755ec92
...@@ -29,20 +29,21 @@ ...@@ -29,20 +29,21 @@
app:layout_constraintRight_toLeftOf="@id/right_container"> app:layout_constraintRight_toLeftOf="@id/right_container">
<TextView <TextView
android:id="@+id/text_room_name" android:id="@+id/text_chat_name"
style="@style/TextAppearance.AppCompat.Title" style="@style/TextAppearance.AppCompat.Title"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawablePadding="5dp"
tools:text="Ronald Perkins" /> tools:text="Ronald Perkins" />
<TextView <TextView
android:id="@+id/text_last_message" android:id="@+id/text_last_message"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
app:layout_constraintLeft_toLeftOf="@id/text_room_name" app:layout_constraintTop_toBottomOf="@+id/text_chat_name"
app:layout_constraintTop_toBottomOf="@+id/text_room_name"
tools:text="Type something" /> tools:text="Type something" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
...@@ -72,21 +73,22 @@ ...@@ -72,21 +73,22 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintGuide_begin="44dp" /> app:layout_constraintGuide_begin="48dp" />
<TextView <TextView
android:id="@+id/text_unread_message" android:id="@+id/text_total_unread_messages"
style="@style/TextAppearance.AppCompat.Caption" style="@style/TextAppearance.AppCompat.Caption"
android:layout_width="22dp" android:layout_width="20dp"
android:layout_height="22dp" android:layout_height="20dp"
android:background="@drawable/style_unread_message" android:background="@drawable/style_total_unread_messages"
android:gravity="center" android:gravity="center"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="10sp" android:textSize="10sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/guideline_two" app:layout_constraintBottom_toBottomOf="@+id/guideline_two"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
tools:text="99+" /> tools:text="99+"
tools:visibility="visible" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment