make sure there are no overlapping texts at the event attendees

This commit is contained in:
tibbi 2019-03-19 23:56:06 +01:00
parent 4be2a186a4
commit c2216ed0fc
2 changed files with 5 additions and 0 deletions

View File

@ -1266,6 +1266,10 @@ class EventActivity : SimpleActivity() {
selectedAttendeeDismiss.beGoneIf(isMe)
selectedAttendeeDismiss.tag = attendee.contactId
if (isMe) {
(selectedAttendeeName.layoutParams as RelativeLayout.LayoutParams).addRule(RelativeLayout.START_OF, selectedAttendeeHolder.event_contact_me_status.id)
}
selectedAttendeeHolder.event_contact_me_status.beVisibleIf(isMe)
selectedAttendeeHolder.event_contact_me_status.text = getString(when (attendee.status) {
CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED -> R.string.going

View File

@ -80,6 +80,7 @@
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/normal_margin"
android:layout_marginEnd="@dimen/activity_margin"
android:ellipsize="end"
android:gravity="end"