make sure there are no overlapping texts at the event attendees
This commit is contained in:
parent
4be2a186a4
commit
c2216ed0fc
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue