Fix home screen layout bug

This commit is contained in:
nielsandriesse 2020-08-18 13:27:53 +10:00
parent dadfd17632
commit a73acae952
2 changed files with 8 additions and 11 deletions

View File

@ -36,19 +36,16 @@
<TextView
android:id="@+id/btnGroupNameDisplay"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:maxLines="1"
android:ellipsize="end"
android:textAlignment="viewStart"
android:textSize="@dimen/medium_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Spiderman" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
android:text="I'm a very long display name. What are you going to do about it?" />
<TextView
android:id="@+id/timestampTextView"

View File

@ -21,11 +21,11 @@
<TextView
android:id="@+id/nameTextView"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/medium_spacing"
android:layout_marginStart="@dimen/medium_spacing"
android:maxLines="1"
android:gravity="left"
android:textAlignment="viewStart"
android:ellipsize="end"
android:textSize="@dimen/medium_font_size"
android:textStyle="bold"
@ -37,7 +37,7 @@
android:id="@+id/actionIndicatorImageView"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginLeft="@dimen/medium_spacing"
android:layout_marginStart="@dimen/medium_spacing"
android:src="@drawable/ic_circle" />
</LinearLayout>