Skip to content

Commit

Permalink
Fixes a layout issue with the ConstraintLayout in item_message_thread
Browse files Browse the repository at this point in the history
  • Loading branch information
PattaFeuFeu committed Jul 5, 2018
1 parent 18a9032 commit a4fc60e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/src/main/res/layout/item_message_thread.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/thread_lbl_preview"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

Expand All @@ -27,6 +26,8 @@
style="@style/TextAppearance.AppCompat.Title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:ellipsize="middle"
android:fontFamily="sans-serif-medium"
android:paddingEnd="4dp"
Expand Down Expand Up @@ -60,13 +61,15 @@
style="@style/TextAppearance.AppCompat.Subhead"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="2dp"
android:ellipsize="middle"
android:singleLine="true"
android:textColor="@color/primaryTextColor"
android:textSize="15sp"
app:layout_constraintEnd_toStartOf="@+id/thread_lbl_last_updated"
app:layout_constraintStart_toStartOf="@+id/thread_lbl_preview"
app:layout_constraintStart_toEndOf="@id/thread_icon"
app:layout_constraintTop_toBottomOf="@+id/thread_lbl_participants"
tools:text="Two cyclists are looking for a stay for three nights in Dushanbe" />

Expand All @@ -75,6 +78,8 @@
style="@style/TextAppearance.AppCompat.Caption"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="4dp"
android:ellipsize="end"
android:singleLine="true"
Expand Down

0 comments on commit a4fc60e

Please sign in to comment.