mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
make sure there are no overlapping texts at the event attendees
This commit is contained in:
@@ -1266,6 +1266,10 @@ class EventActivity : SimpleActivity() {
|
|||||||
selectedAttendeeDismiss.beGoneIf(isMe)
|
selectedAttendeeDismiss.beGoneIf(isMe)
|
||||||
selectedAttendeeDismiss.tag = attendee.contactId
|
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.beVisibleIf(isMe)
|
||||||
selectedAttendeeHolder.event_contact_me_status.text = getString(when (attendee.status) {
|
selectedAttendeeHolder.event_contact_me_status.text = getString(when (attendee.status) {
|
||||||
CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED -> R.string.going
|
CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED -> R.string.going
|
||||||
|
@@ -80,6 +80,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginStart="@dimen/normal_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin"
|
android:layout_marginEnd="@dimen/activity_margin"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="end"
|
android:gravity="end"
|
||||||
|
Reference in New Issue
Block a user