add End ellipsize to event list items

This commit is contained in:
tibbi 2017-02-21 21:10:58 +01:00
parent 0b5109a55f
commit 0a68e99ace
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_margin" android:layout_marginLeft="@dimen/activity_margin"
android:layout_toRightOf="@+id/event_item_start" android:layout_toRightOf="@+id/event_item_start"
android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:text="Event title" android:text="Event title"
android:textSize="@dimen/day_text_size"/> android:textSize="@dimen/day_text_size"/>
@ -50,6 +51,7 @@
android:layout_marginLeft="@dimen/activity_margin" android:layout_marginLeft="@dimen/activity_margin"
android:layout_toRightOf="@+id/event_item_end" android:layout_toRightOf="@+id/event_item_end"
android:alpha=".4" android:alpha=".4"
android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:text="Event description" android:text="Event description"
android:textSize="@dimen/day_text_size"/> android:textSize="@dimen/day_text_size"/>

View File

@ -28,6 +28,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/big_margin" android:layout_marginLeft="@dimen/big_margin"
android:layout_toRightOf="@+id/event_item_start" android:layout_toRightOf="@+id/event_item_start"
android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:paddingRight="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin"
android:text="Event title" android:text="Event title"
@ -41,6 +42,7 @@
android:layout_marginLeft="@dimen/big_margin" android:layout_marginLeft="@dimen/big_margin"
android:layout_toRightOf="@+id/event_item_end" android:layout_toRightOf="@+id/event_item_end"
android:alpha=".4" android:alpha=".4"
android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:paddingRight="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin"
android:text="Event description" android:text="Event description"