2018-08-02 13:33:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-08-08 06:55:47 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-02 13:33:06 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-04-22 18:29:46 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-08-02 13:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-04-22 18:29:46 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".ActivityCompose">
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-01-14 11:24:49 +00:00
|
|
|
<ScrollView
|
2018-08-02 13:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
2019-09-13 09:00:31 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/media_bar"
|
2018-08-02 13:33:06 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-04-18 12:34:09 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-08-02 13:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2018-11-11 13:31:43 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spIdentity"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-04-17 16:32:02 +00:00
|
|
|
android:layout_marginStart="6dp"
|
2018-11-11 13:31:43 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-01-02 18:01:09 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-11-11 13:31:43 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-12-27 10:17:24 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2018-11-11 13:31:43 +00:00
|
|
|
|
2018-11-09 07:22:44 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/etExtra"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-13 08:08:40 +00:00
|
|
|
android:layout_marginStart="6dp"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:hint="user"
|
2018-12-31 07:42:53 +00:00
|
|
|
android:inputType="text"
|
2018-11-09 07:22:44 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
2019-02-13 08:08:40 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/tvDomain"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-11-11 13:31:43 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/spIdentity" />
|
2018-11-09 07:22:44 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-02-13 08:08:40 +00:00
|
|
|
android:id="@+id/tvDomain"
|
2018-11-09 07:22:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:text="\@example.com"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/etExtra"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etExtra"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etExtra" />
|
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etTo"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:hint="@string/title_to"
|
2019-03-03 11:16:00 +00:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivToAdd"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-11-09 07:22:44 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/etExtra" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
2019-09-01 16:42:07 +00:00
|
|
|
<ImageButton
|
2018-10-17 12:07:40 +00:00
|
|
|
android:id="@+id/ivToAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-09-01 16:42:07 +00:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_pick"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etTo"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etTo"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etTo"
|
2019-09-08 11:28:46 +00:00
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
2019-09-08 12:03:02 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivCcLegend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:contentDescription="@string/title_cc"
|
|
|
|
android:src="@drawable/baseline_people_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBcc"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etTo" />
|
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etCc"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:hint="@string/title_cc"
|
2019-03-03 11:16:00 +00:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivCcAdd"
|
2019-09-08 12:03:02 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/ivCcLegend"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etTo" />
|
|
|
|
|
2019-09-01 16:42:07 +00:00
|
|
|
<ImageButton
|
2018-10-17 12:07:40 +00:00
|
|
|
android:id="@+id/ivCcAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-09-01 16:42:07 +00:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_pick"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etCc"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etCc"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etCc"
|
2019-09-08 11:28:46 +00:00
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
2019-09-08 12:03:02 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivBccLegend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:contentDescription="@string/title_bcc"
|
|
|
|
android:src="@drawable/baseline_people_outline_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBcc"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etBcc" />
|
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etBcc"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:hint="@string/title_bcc"
|
2019-03-03 11:16:00 +00:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivBccAdd"
|
2019-09-08 12:03:02 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/ivBccLegend"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etCc" />
|
|
|
|
|
2019-09-01 16:42:07 +00:00
|
|
|
<ImageButton
|
2018-10-17 12:07:40 +00:00
|
|
|
android:id="@+id/ivBccAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-09-01 16:42:07 +00:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_pick"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBcc"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etBcc"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etBcc"
|
2019-09-08 11:28:46 +00:00
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etSubject"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:hint="@string/title_subject"
|
2019-03-03 11:16:00 +00:00
|
|
|
android:imeOptions="actionNext"
|
2019-04-30 17:13:03 +00:00
|
|
|
android:inputType="textEmailSubject|textCapSentences|textAutoCorrect"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
2019-04-30 17:24:07 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivCcBcc"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etBcc" />
|
|
|
|
|
2019-09-01 16:42:07 +00:00
|
|
|
<ImageButton
|
2019-04-30 17:24:07 +00:00
|
|
|
android:id="@+id/ivCcBcc"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-09-01 16:42:07 +00:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2019-05-09 11:10:40 +00:00
|
|
|
android:contentDescription="@string/title_show_addresses"
|
2019-04-30 17:24:07 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etSubject"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etSubject"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etSubject"
|
|
|
|
app:srcCompat="@drawable/baseline_people_24" />
|
2019-04-30 17:24:07 +00:00
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorAttachments"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etSubject" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rvAttachment"
|
|
|
|
android:layout_width="0dp"
|
2019-01-13 09:18:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/vSeparatorAttachments" />
|
|
|
|
|
2018-12-25 12:10:20 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvNoInternetAttachments"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_no_internet"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/rvAttachment"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/rvAttachment"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/rvAttachment" />
|
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparator"
|
2019-07-07 05:43:50 +00:00
|
|
|
android:layout_width="0dp"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-12-25 12:10:20 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvNoInternetAttachments" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
2019-03-05 08:05:46 +00:00
|
|
|
<eu.faircode.email.EditTextCompose
|
2018-10-17 12:07:40 +00:00
|
|
|
android:id="@+id/etBody"
|
2019-07-07 05:43:50 +00:00
|
|
|
android:layout_width="0dp"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-01-13 08:00:42 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:gravity="top"
|
|
|
|
android:hint="@string/title_body_hint"
|
2019-04-30 17:13:03 +00:00
|
|
|
android:inputType="textCapSentences|textMultiLine|textAutoCorrect"
|
2019-01-09 08:42:32 +00:00
|
|
|
android:minHeight="120dp"
|
2018-10-17 12:07:40 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-10-17 12:07:40 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" />
|
|
|
|
|
2018-12-25 12:10:20 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvNoInternet"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_no_internet"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBody"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/etBody"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/etBody"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/etBody" />
|
|
|
|
|
2018-11-16 12:48:45 +00:00
|
|
|
<View
|
2019-01-13 08:00:42 +00:00
|
|
|
android:id="@+id/vSeparatorBody"
|
2019-07-07 05:43:50 +00:00
|
|
|
android:layout_width="0dp"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-11-16 12:48:45 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etBody" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSignature"
|
2019-07-07 05:43:50 +00:00
|
|
|
android:layout_width="0dp"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-01-13 08:00:42 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:fontFamily="monospace"
|
2019-09-07 08:30:46 +00:00
|
|
|
android:minHeight="24dp"
|
2019-05-13 06:02:56 +00:00
|
|
|
android:text="Signature"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2019-09-07 08:30:46 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/cbSignature"
|
2018-11-16 12:48:45 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-01-13 08:00:42 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorBody" />
|
2018-11-16 12:48:45 +00:00
|
|
|
|
2019-09-07 08:30:46 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbSignature"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvSignature"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvSignature" />
|
|
|
|
|
2018-11-16 12:48:45 +00:00
|
|
|
<View
|
2019-01-13 08:00:42 +00:00
|
|
|
android:id="@+id/vSeparatorSignature"
|
2019-07-07 05:43:50 +00:00
|
|
|
android:layout_width="0dp"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-11-16 12:48:45 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvSignature" />
|
|
|
|
|
2019-08-22 12:48:59 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibCloseRefHint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:contentDescription="@string/title_no_format"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvReferenceHint"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvReferenceHint"
|
|
|
|
app:srcCompat="@drawable/baseline_close_24" />
|
|
|
|
|
2019-04-19 17:25:09 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvReferenceHint"
|
2019-04-21 05:23:37 +00:00
|
|
|
android:layout_width="0dp"
|
2019-04-19 17:25:09 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:text="@string/title_no_format"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
2019-09-09 15:37:22 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibReferenceDelete"
|
2019-08-22 12:48:59 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/ibCloseRefHint"
|
2019-04-19 17:25:09 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" />
|
|
|
|
|
2019-09-09 15:37:22 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibReferenceDelete"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:contentDescription="@string/title_legend_edit"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibReferenceEdit"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature"
|
|
|
|
app:srcCompat="@drawable/baseline_delete_24" />
|
|
|
|
|
2019-01-13 08:39:50 +00:00
|
|
|
<ImageButton
|
2019-01-29 14:09:38 +00:00
|
|
|
android:id="@+id/ibReferenceEdit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_edit"
|
2019-01-29 14:09:38 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages"
|
2019-08-22 12:48:59 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:srcCompat="@drawable/baseline_edit_24" />
|
2019-01-29 14:09:38 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibReferenceImages"
|
2019-01-13 08:39:50 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="6dp"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_show_images"
|
2019-01-13 08:39:50 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-08-22 12:48:59 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature"
|
2019-07-07 05:43:50 +00:00
|
|
|
app:srcCompat="@drawable/baseline_image_24" />
|
2019-01-13 08:39:50 +00:00
|
|
|
|
2019-08-22 12:48:59 +00:00
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
android:id="@+id/barrier_reference"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:barrierDirection="bottom"
|
2019-09-09 15:37:22 +00:00
|
|
|
app:constraint_referenced_ids="ibCloseRefHint,tvReferenceHint,ibReferenceDelete,ibReferenceEdit,ibReferenceImages" />
|
2019-08-22 12:48:59 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvReference"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/barrier_reference" />
|
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHeader"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-04-18 08:09:59 +00:00
|
|
|
app:constraint_referenced_ids="spIdentity,etTo,ivToAdd,etSubject,vSeparator" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
2018-11-09 07:22:44 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpExtra"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-02-13 19:24:13 +00:00
|
|
|
app:constraint_referenced_ids="etExtra,tvDomain" />
|
2018-11-09 07:22:44 +00:00
|
|
|
|
2018-10-17 12:07:40 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpAddresses"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-09-08 12:03:02 +00:00
|
|
|
app:constraint_referenced_ids="ivCcLegend,etCc,ivCcAdd,ivBccLegend,etBcc,ivBccAdd" />
|
2018-10-17 12:07:40 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpAttachments"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorAttachments,rvAttachment" />
|
2018-11-16 12:48:45 +00:00
|
|
|
|
2019-01-13 12:13:32 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpBody"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorBody,etBody" />
|
|
|
|
|
2018-11-16 12:48:45 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpSignature"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-09-07 08:30:46 +00:00
|
|
|
app:constraint_referenced_ids="vSeparatorSignature,tvSignature,cbSignature" />
|
2018-11-16 12:48:45 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
2019-08-22 12:48:59 +00:00
|
|
|
android:id="@+id/grpReferenceHint"
|
2018-11-16 12:48:45 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-08-22 12:48:59 +00:00
|
|
|
app:constraint_referenced_ids="ibCloseRefHint,tvReferenceHint" />
|
2018-10-17 12:07:40 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-08-02 13:33:06 +00:00
|
|
|
</ScrollView>
|
|
|
|
|
2018-11-06 13:48:52 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
2019-09-13 09:00:31 +00:00
|
|
|
android:id="@+id/media_bar"
|
2018-11-06 13:48:52 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-06 13:59:17 +00:00
|
|
|
android:layout_height="36dp"
|
2019-09-09 17:35:59 +00:00
|
|
|
android:background="?attr/colorActionBackground"
|
|
|
|
app:itemIconTint="@color/action_foreground"
|
|
|
|
app:itemTextColor="@color/action_foreground"
|
2018-11-06 13:48:52 +00:00
|
|
|
app:labelVisibilityMode="unlabeled"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-16 11:47:52 +00:00
|
|
|
app:menu="@menu/action_media" />
|
2018-11-06 13:48:52 +00:00
|
|
|
|
2018-08-08 06:55:47 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
2018-08-02 13:33:06 +00:00
|
|
|
android:id="@+id/bottom_navigation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-07-13 11:25:12 +00:00
|
|
|
android:background="?attr/colorPrimary"
|
2019-09-09 17:35:59 +00:00
|
|
|
app:itemIconTint="@color/action_foreground"
|
|
|
|
app:itemTextColor="@color/action_foreground"
|
2018-08-13 13:53:46 +00:00
|
|
|
app:labelVisibilityMode="labeled"
|
2018-08-02 13:33:06 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:menu="@menu/action_compose" />
|
|
|
|
|
2018-12-27 12:31:02 +00:00
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
2018-08-02 13:33:06 +00:00
|
|
|
android:id="@+id/pbWait"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
2018-08-04 17:42:41 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2018-08-02 13:33:06 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-08-04 17:42:41 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2018-08-08 06:55:47 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|