2018-08-02 13:33:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-19 11:02:51 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
2019-12-03 07:45:26 +00:00
|
|
|
tools:context="eu.faircode.email.ActivityCompose">
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-08-02 13:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="match_parent"
|
2019-12-03 07:45:26 +00:00
|
|
|
app:layout_behavior="eu.faircode.email.BehaviorBottomPadding">
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<ScrollView
|
2018-08-02 13:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="0dp"
|
2019-09-26 12:55:15 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/style_bar"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-10-17 12:07:40 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spIdentity"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etExtra"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:hint="user"
|
|
|
|
android:inputType="text"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/tvDomain"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/spIdentity" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvDomain"
|
|
|
|
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" />
|
|
|
|
|
2019-11-25 10:59:38 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivToLegend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:contentDescription="@string/title_to"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/etTo"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etTo"
|
|
|
|
app:srcCompat="@drawable/baseline_person_24" />
|
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etTo"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:hint="@string/title_to"
|
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivToAdd"
|
2019-11-25 10:59:38 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/ivToLegend"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/etExtra" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ivToAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_legend_pick"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etTo"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etTo"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etTo"
|
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivCcLegend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:contentDescription="@string/title_cc"
|
2019-10-20 11:36:04 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/etCc"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-10-20 11:36:04 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etCc"
|
2019-10-01 17:04:20 +00:00
|
|
|
app:srcCompat="@drawable/baseline_people_24" />
|
2019-09-19 11:02:51 +00:00
|
|
|
|
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etCc"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:hint="@string/title_cc"
|
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivCcAdd"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivCcLegend"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etTo" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ivCcAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_legend_pick"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etCc"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etCc"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etCc"
|
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivBccLegend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:contentDescription="@string/title_bcc"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBcc"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-10-01 17:04:20 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/etBcc"
|
|
|
|
app:srcCompat="@drawable/baseline_people_outline_24" />
|
2019-09-19 11:02:51 +00:00
|
|
|
|
|
|
|
<MultiAutoCompleteTextView
|
|
|
|
android:id="@+id/etBcc"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:hint="@string/title_bcc"
|
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailAddress"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivBccAdd"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivBccLegend"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etCc" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ivBccAdd"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_legend_pick"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etBcc"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etBcc"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etBcc"
|
|
|
|
app:srcCompat="@drawable/baseline_person_add_24" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etSubject"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:hint="@string/title_subject"
|
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textEmailSubject|textCapSentences|textAutoCorrect"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivCcBcc"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etBcc" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ivCcBcc"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_show_addresses"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etSubject"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etSubject"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etSubject"
|
|
|
|
app:srcCompat="@drawable/baseline_people_24" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorAttachments"
|
2019-09-26 16:58:38 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="1dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:background="?attr/colorSeparator"
|
2019-09-26 16:58:38 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etSubject" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rvAttachment"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/vSeparatorAttachments" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvNoInternetAttachments"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-06 08:39:19 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
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" />
|
|
|
|
|
2019-11-22 13:34:26 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibCloseUnusedImagesHint"
|
2019-10-22 10:01:10 +00:00
|
|
|
android:layout_width="wrap_content"
|
2019-11-22 13:34:26 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:contentDescription="@string/title_no_format"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvUnusedImagesHint"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvUnusedImagesHint"
|
|
|
|
app:srcCompat="@drawable/baseline_close_24" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvUnusedImagesHint"
|
|
|
|
android:layout_width="0dp"
|
2019-10-22 10:01:10 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-11-22 13:34:26 +00:00
|
|
|
android:layout_marginStart="6dp"
|
2019-10-22 10:01:10 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-11-22 13:34:26 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
2019-10-22 10:01:10 +00:00
|
|
|
android:text="@string/title_unused_inline"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2019-11-22 13:34:26 +00:00
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ibCloseUnusedImagesHint"
|
2019-10-22 10:01:10 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvNoInternetAttachments" />
|
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparator"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-11-22 13:34:26 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ibCloseUnusedImagesHint" />
|
2019-09-19 11:02:51 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.EditTextCompose
|
|
|
|
android:id="@+id/etBody"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:gravity="top"
|
|
|
|
android:hint="@string/title_body_hint"
|
|
|
|
android:inputType="textCapSentences|textMultiLine|textAutoCorrect"
|
|
|
|
android:minHeight="120dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorBody"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etBody" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSignature"
|
|
|
|
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:minHeight="24dp"
|
|
|
|
android:text="Signature"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/cbSignature"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorBody" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbSignature"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvSignature"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvSignature" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorSignature"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvSignature" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibCloseRefHint"
|
|
|
|
android:layout_width="wrap_content"
|
2019-11-22 13:34:26 +00:00
|
|
|
android:layout_height="0dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
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" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvReferenceHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
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-11-19 20:53:12 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibReferenceEdit"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/ibCloseRefHint"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibReferenceEdit"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:layout_width="36dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:contentDescription="@string/title_legend_edit"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:padding="3dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibReferenceImages"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature"
|
|
|
|
app:srcCompat="@drawable/baseline_edit_24" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibReferenceImages"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:layout_width="36dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:background="@null"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:contentDescription="@string/title_legend_show_images"
|
2019-10-20 11:39:50 +00:00
|
|
|
android:padding="3dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSignature"
|
|
|
|
app:srcCompat="@drawable/baseline_image_24" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
android:id="@+id/barrier_reference"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:barrierDirection="bottom"
|
2019-11-19 20:53:12 +00:00
|
|
|
app:constraint_referenced_ids="ibCloseRefHint,tvReferenceHint,ibReferenceEdit,ibReferenceImages" />
|
2019-09-19 11:02:51 +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" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHeader"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-12-04 19:46:40 +00:00
|
|
|
app:constraint_referenced_ids="spIdentity,ivToLegend,etTo,ivToAdd,etSubject,vSeparator" />
|
2019-09-19 11:02:51 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpExtra"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="etExtra,tvDomain" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpAddresses"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="ivCcLegend,etCc,ivCcAdd,ivBccLegend,etBcc,ivBccAdd" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpAttachments"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorAttachments,rvAttachment" />
|
|
|
|
|
2019-11-22 13:34:26 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpUnusedImagesHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="ibCloseUnusedImagesHint,tvUnusedImagesHint" />
|
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpBody"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorBody,etBody" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpSignature"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="vSeparatorSignature,tvSignature,cbSignature" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpReferenceHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="ibCloseRefHint,tvReferenceHint" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
2019-09-26 12:55:15 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/style_bar"
|
2019-09-26 16:58:38 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-26 12:55:15 +00:00
|
|
|
android:layout_height="36dp"
|
2019-09-27 17:59:50 +00:00
|
|
|
android:layout_marginBottom="1dp"
|
2019-09-26 12:55:15 +00:00
|
|
|
android:background="?attr/colorActionBackground"
|
|
|
|
app:itemIconTint="@color/action_foreground"
|
|
|
|
app:itemTextColor="@color/action_foreground"
|
|
|
|
app:labelVisibilityMode="unlabeled"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/media_bar"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:menu="@menu/action_compose_style" />
|
|
|
|
|
2019-09-19 11:02:51 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/media_bar"
|
2019-09-26 16:58:38 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="36dp"
|
|
|
|
android:background="?attr/colorActionBackground"
|
|
|
|
app:itemIconTint="@color/action_foreground"
|
|
|
|
app:itemTextColor="@color/action_foreground"
|
|
|
|
app:labelVisibilityMode="unlabeled"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-09-26 12:55:15 +00:00
|
|
|
app:menu="@menu/action_compose_media" />
|
2019-09-19 11:02:51 +00:00
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottom_navigation"
|
2019-09-26 16:58:38 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-19 11:02:51 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:itemIconTint="@color/action_foreground"
|
|
|
|
app:itemTextColor="@color/action_foreground"
|
|
|
|
app:labelVisibilityMode="labeled"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:menu="@menu/action_compose" />
|
|
|
|
|
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
|
|
|
android:id="@+id/pbWait"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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.ConstraintLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|