2019-05-18 09:19:39 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:context=".ActivityView">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorCalendar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvCalendarSummary"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="Summary"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorCalendar" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvCalendarStart"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="12:00:00"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCalendarSummary" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvCalendarEnd"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="12:00:00"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCalendarStart" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAttendees"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="You, me"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCalendarEnd" />
|
|
|
|
|
2019-05-18 17:44:21 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCalendarAccept"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="@string/title_icalendar_accept"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvAttendees" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCalendarDecline"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="@string/title_icalendar_decline"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/btnCalendarAccept"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvAttendees" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCalendarMaybe"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="@string/title_icalendar_maybe"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/btnCalendarDecline"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvAttendees" />
|
|
|
|
|
2019-05-18 09:19:39 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/paddingBottom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="6dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-18 17:44:21 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnCalendarMaybe" />
|
2019-05-18 09:19:39 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
|
|
|
android:id="@+id/pbCalendarWait"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="12dp"
|
|
|
|
android:indeterminate="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpCalendar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorCalendar,paddingBottom" />
|
2019-05-18 17:44:21 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpCalendarResponse"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="btnCalendarAccept,btnCalendarDecline,btnCalendarMaybe" />
|
2019-05-18 09:19:39 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|