Improved conference invite layout a bit
This commit is contained in:
parent
90a5d0d6b4
commit
a3f55b3baf
1 changed files with 8 additions and 22 deletions
|
@ -43,6 +43,7 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:drawablePadding="5dp"
|
||||
style="@style/conference_invite_dat_time_font"
|
||||
android:text="@{data.conferenceParticipantCount, default=`3 participants`}"
|
||||
|
@ -51,35 +52,20 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:drawablePadding="5dp"
|
||||
style="@style/conference_invite_dat_time_font"
|
||||
android:text="@{data.conferenceDate, default=`Mon. October 9th, 2021`}"
|
||||
app:drawableStartCompat="@drawable/icon_schedule_date" />
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="5dp"
|
||||
style="@style/conference_invite_dat_time_font"
|
||||
android:text="@{data.conferenceTime, default=`5:35 PM`}"
|
||||
app:drawableStartCompat="@drawable/icon_schedule_time" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
style="@style/conference_invite_dat_time_font"
|
||||
android:visibility="@{data.showDuration ? View.VISIBLE : View.GONE}"
|
||||
android:text="@{`(` + data.conferenceDuration + `)`, default=`(2h)`}" />
|
||||
|
||||
</LinearLayout>
|
||||
android:drawablePadding="5dp"
|
||||
android:layout_marginTop="2dp"
|
||||
style="@style/conference_invite_dat_time_font"
|
||||
android:text="@{data.conferenceTime + (data.showDuration ? ` (` + data.conferenceDuration + `)` : ``), default=`5:35 PM (2h)`}"
|
||||
app:drawableStartCompat="@drawable/icon_schedule_time" />
|
||||
|
||||
<TextView
|
||||
android:visibility="@{data.conferenceDescription.length() == 0 ? View.GONE : View.VISIBLE}"
|
||||
|
|
Loading…
Reference in a new issue