mirror of https://github.com/M66B/FairEmail.git
Clanup
This commit is contained in:
parent
4f29010397
commit
fd54430cd9
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M7,14L5,14v5h5v-2L7,17v-3zM5,10h2L7,7h3L10,5L5,5v5zM17,17h-3v2h5v-5h-2v3zM14,5v2h3v3h2L19,5h-5z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M5,16h3v3h2v-5L5,14v2zM8,8L5,8v2h5L10,5L8,5v3zM14,19h2v-3h3v-2h-5v5zM16,8L16,5h-2v5h5L19,8h-3z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M19,3L4.99,3c-1.11,0 -1.98,0.89 -1.98,2L3,19c0,1.1 0.88,2 1.99,2L19,21c1.1,0 2,-0.9 2,-2L21,5c0,-1.11 -0.9,-2 -2,-2zM19,15h-4c0,1.66 -1.35,3 -3,3s-3,-1.34 -3,-3L4.99,15L4.99,5L19,5v10z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M15.73,3L8.27,3L3,8.27v7.46L8.27,21h7.46L21,15.73L21,8.27L15.73,3zM12,17.3c-0.72,0 -1.3,-0.58 -1.3,-1.3 0,-0.72 0.58,-1.3 1.3,-1.3 0.72,0 1.3,0.58 1.3,1.3 0,0.72 -0.58,1.3 -1.3,1.3zM13,13h-2L11,7h2v6z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M20.55,5.22l-1.39,-1.68C18.88,3.21 18.47,3 18,3H6c-0.47,0 -0.88,0.21 -1.15,0.55L3.46,5.22C3.17,5.57 3,6.01 3,6.5V19c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2V6.5c0,-0.49 -0.17,-0.93 -0.45,-1.28zM12,9.5l5.5,5.5H14v2h-4v-2H6.5L12,9.5zM5.12,5l0.82,-1h12l0.93,1H5.12z"/>
|
|
||||||
</vector>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M12,7c2.76,0 5,2.24 5,5 0,0.65 -0.13,1.26 -0.36,1.83l2.92,2.92c1.51,-1.26 2.7,-2.89 3.43,-4.75 -1.73,-4.39 -6,-7.5 -11,-7.5 -1.4,0 -2.74,0.25 -3.98,0.7l2.16,2.16C10.74,7.13 11.35,7 12,7zM2,4.27l2.28,2.28 0.46,0.46C3.08,8.3 1.78,10.02 1,12c1.73,4.39 6,7.5 11,7.5 1.55,0 3.03,-0.3 4.38,-0.84l0.42,0.42L19.73,22 21,20.73 3.27,3 2,4.27zM7.53,9.8l1.55,1.55c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.66 1.34,3 3,3 0.22,0 0.44,-0.03 0.65,-0.08l1.55,1.55c-0.67,0.33 -1.41,0.53 -2.2,0.53 -2.76,0 -5,-2.24 -5,-5 0,-0.79 0.2,-1.53 0.53,-2.2zM11.84,9.02l3.15,3.15 0.02,-0.16c0,-1.66 -1.34,-3 -3,-3l-0.17,0.01z"/>
|
|
||||||
</vector>
|
|
|
@ -1,451 +0,0 @@
|
||||||
<?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="match_parent"
|
|
||||||
android:orientation="vertical"
|
|
||||||
tools:context=".ActivityView">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/vwAnswerAnchor"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/ivFlagged"
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:src="@drawable/baseline_star_24"
|
|
||||||
android:visibility="visible"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/tvFrom"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="@+id/tvFrom" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/ivAvatar"
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:maxHeight="60dp"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:src="@drawable/baseline_person_24"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/tvFrom"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/ivFlagged"
|
|
||||||
app:layout_constraintTop_toTopOf="@+id/tvFrom" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvFrom"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:text="From"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/ivAddContact"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/ivAvatar"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/ivContactAdd"
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:src="@drawable/baseline_import_contacts_24"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/tvFrom"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="@id/tvFrom" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvTime"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:text="12:34:56"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/tvCount"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvFrom" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvCount"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="3dp"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:text="3"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/ivThread"
|
|
||||||
app:layout_constraintTop_toTopOf="@id/tvTime" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/ivThread"
|
|
||||||
android:layout_width="15dp"
|
|
||||||
android:layout_height="15dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:src="@drawable/baseline_message_24"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/tvTime"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="@id/tvTime" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvToTitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="@string/title_to"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvTime" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvTo"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxHeight="60dp"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:text="To"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/tvToTitle"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvTime" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvSubject"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:text="Subject"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvTo" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/vSeparatorAddress"
|
|
||||||
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/tvSubject" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvReplyToTitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="@string/title_reply_to"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorAddress" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvReplyTo"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxHeight="60dp"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:text="Reply to"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/tvReplyToTitle"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorAddress" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvCcTitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="@string/title_cc"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvReplyTo" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvCc"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxHeight="60dp"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:text="Cc"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/tvCcTitle"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvReplyTo" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvBccTitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:text="@string/title_bcc"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvBcc"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxHeight="60dp"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
android:text="Bcc"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/tvBccTitle"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvCc" />
|
|
||||||
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/vSeparatorRawHeaders"
|
|
||||||
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/tvBcc" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvRawHeaders"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:fontFamily="monospace"
|
|
||||||
|
|
||||||
android:freezesText="true"
|
|
||||||
android:maxHeight="120sp"
|
|
||||||
android:text="H1\nH2\nH3\nH4\nH5\nH6\nH7\nH8\nH9\n"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true"
|
|
||||||
android:textSize="12sp"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorRawHeaders" />
|
|
||||||
|
|
||||||
<ProgressBar
|
|
||||||
android:id="@+id/pbRawHeaders"
|
|
||||||
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:indeterminate="true"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/tvRawHeaders"
|
|
||||||
app:layout_constraintEnd_toEndOf="@id/tvRawHeaders"
|
|
||||||
app:layout_constraintStart_toStartOf="@id/tvRawHeaders"
|
|
||||||
app:layout_constraintTop_toTopOf="@id/tvRawHeaders" />
|
|
||||||
|
|
||||||
<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/tvRawHeaders" />
|
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
|
||||||
android:id="@+id/rvAttachment"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:scrollbarStyle="outsideOverlay"
|
|
||||||
android:scrollbars="vertical"
|
|
||||||
app:layout_constrainedHeight="true"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintHeight_max="90dp"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@+id/vSeparatorAttachments" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/vSeparatorError"
|
|
||||||
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/rvAttachment" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvError"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:freezesText="true"
|
|
||||||
android:text="error"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textColor="?attr/colorWarning"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorError" />
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/vSeparatorBody"
|
|
||||||
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/tvError" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btnImages"
|
|
||||||
style="?android:attr/buttonStyleSmall"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:minWidth="0dp"
|
|
||||||
android:minHeight="0dp"
|
|
||||||
android:text="@string/title_show_images"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorBody" />
|
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:id="@+id/scroll"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_marginStart="6dp"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:layout_marginEnd="6dp"
|
|
||||||
android:fillViewport="true"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/btnImages">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvBody"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:fontFamily="monospace"
|
|
||||||
android:text="Body"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
android:textIsSelectable="true" />
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
<ProgressBar
|
|
||||||
android:id="@+id/pbBody"
|
|
||||||
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:indeterminate="true"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@id/scroll"
|
|
||||||
app:layout_constraintEnd_toEndOf="@id/scroll"
|
|
||||||
app:layout_constraintStart_toStartOf="@id/scroll"
|
|
||||||
app:layout_constraintTop_toTopOf="@id/scroll" />
|
|
||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
||||||
android:id="@+id/fab"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="end|bottom"
|
|
||||||
android:layout_margin="16dp"
|
|
||||||
android:src="@drawable/baseline_fullscreen_24"
|
|
||||||
android:tint="@color/colorActionForeground"
|
|
||||||
app:backgroundTint="?attr/colorAccent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/scroll"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
|
||||||
|
|
||||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
||||||
android:id="@+id/bottom_navigation"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="3dp"
|
|
||||||
android:background="@color/colorPrimary"
|
|
||||||
app:itemIconTint="@color/bottomnav_background"
|
|
||||||
app:itemTextColor="@color/bottomnav_background"
|
|
||||||
app:labelVisibilityMode="labeled"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:menu="@menu/action_view" />
|
|
||||||
|
|
||||||
<ProgressBar
|
|
||||||
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.Group
|
|
||||||
android:id="@+id/grpHeader"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="ivFlagged,ivAvatar,tvFrom,ivContactAdd,tvToTitle,tvTo,tvSize,tvTime,tvSubject" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpThread"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="tvCount,ivThread" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpAddresses"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="vSeparatorAddress,tvReplyToTitle,tvReplyTo,tvCcTitle,tvCc,tvBccTitle,tvBcc" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpRawHeaders"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="vSeparatorRawHeaders,tvRawHeaders" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpAttachments"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="vSeparatorAttachments,rvAttachment" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpError"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="vSeparatorError,tvError" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
|
||||||
android:id="@+id/grpMessage"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="scroll" />
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
@ -374,7 +374,7 @@
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:indeterminate="true"
|
android:indeterminate="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/vSeparatorBody"
|
app:layout_constraintBottom_toTopOf="@+id/bnvActions"
|
||||||
app:layout_constraintEnd_toEndOf="@id/tvHeaders"
|
app:layout_constraintEnd_toEndOf="@id/tvHeaders"
|
||||||
app:layout_constraintStart_toStartOf="@id/tvHeaders"
|
app:layout_constraintStart_toStartOf="@id/tvHeaders"
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorRawHeaders" />
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorRawHeaders" />
|
||||||
|
@ -430,7 +430,7 @@
|
||||||
app:layout_constraintBottom_toTopOf="@+id/vSeparatorAttachments"
|
app:layout_constraintBottom_toTopOf="@+id/vSeparatorAttachments"
|
||||||
app:layout_constraintEnd_toEndOf="@id/tvBody"
|
app:layout_constraintEnd_toEndOf="@id/tvBody"
|
||||||
app:layout_constraintStart_toStartOf="@id/tvBody"
|
app:layout_constraintStart_toStartOf="@id/tvBody"
|
||||||
app:layout_constraintTop_toBottomOf="@id/vSeparatorBody" />
|
app:layout_constraintTop_toBottomOf="@id/bnvActions" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/vSeparatorAttachments"
|
android:id="@+id/vSeparatorAttachments"
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_spam"
|
|
||||||
android:icon="@drawable/baseline_report_24"
|
|
||||||
android:title="@string/title_spam"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_delete"
|
|
||||||
android:icon="@drawable/baseline_delete_24"
|
|
||||||
android:title="@string/title_trash"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_move"
|
|
||||||
android:icon="@drawable/baseline_folder_24"
|
|
||||||
android:title="@string/title_move"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_archive"
|
|
||||||
android:icon="@drawable/baseline_archive_24"
|
|
||||||
android:title="@string/title_archive"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_reply"
|
|
||||||
android:icon="@drawable/baseline_reply_24"
|
|
||||||
android:title="@string/title_reply"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
</menu>
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_addresses"
|
|
||||||
android:icon="@drawable/baseline_people_24"
|
|
||||||
android:title="@string/title_show_addresses"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_text_size"
|
|
||||||
android:icon="@drawable/baseline_format_size_24"
|
|
||||||
android:title="@string/title_text_size"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_thread"
|
|
||||||
android:icon="@drawable/baseline_message_24"
|
|
||||||
android:title="@string/title_thread"
|
|
||||||
app:showAsAction="ifRoom" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_forward"
|
|
||||||
android:icon="@drawable/baseline_forward_24"
|
|
||||||
android:title="@string/title_forward"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_reply_all"
|
|
||||||
android:icon="@drawable/baseline_reply_all_24"
|
|
||||||
android:title="@string/title_reply_all"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_show_headers"
|
|
||||||
android:checkable="true"
|
|
||||||
android:icon="@drawable/baseline_visibility_24"
|
|
||||||
android:title="@string/title_show_headers"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_show_html"
|
|
||||||
android:icon="@drawable/baseline_visibility_24"
|
|
||||||
android:title="@string/title_show_html"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_unseen"
|
|
||||||
android:icon="@drawable/baseline_mail_24"
|
|
||||||
android:title="@string/title_unseen"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/menu_answer"
|
|
||||||
android:icon="@drawable/baseline_reply_24"
|
|
||||||
android:title="@string/title_answer_reply"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
</menu>
|
|
|
@ -122,7 +122,6 @@
|
||||||
<string name="title_no_email">Email address missing</string>
|
<string name="title_no_email">Email address missing</string>
|
||||||
<string name="title_no_account">Account missing</string>
|
<string name="title_no_account">Account missing</string>
|
||||||
<string name="title_no_host">Host name missing</string>
|
<string name="title_no_host">Host name missing</string>
|
||||||
<string name="title_no_port">Port number missing</string>
|
|
||||||
<string name="title_no_user">User name missing</string>
|
<string name="title_no_user">User name missing</string>
|
||||||
<string name="title_no_password">Password missing</string>
|
<string name="title_no_password">Password missing</string>
|
||||||
<string name="title_no_drafts">Drafts folder missing</string>
|
<string name="title_no_drafts">Drafts folder missing</string>
|
||||||
|
@ -150,7 +149,6 @@
|
||||||
<string name="title_synchronize_folder">Synchronize (receive messages)</string>
|
<string name="title_synchronize_folder">Synchronize (receive messages)</string>
|
||||||
<string name="title_unified_folder">Show in unified inbox</string>
|
<string name="title_unified_folder">Show in unified inbox</string>
|
||||||
<string name="title_after">Synchronize (days)</string>
|
<string name="title_after">Synchronize (days)</string>
|
||||||
<string name="title_poll_interval">Poll interval (minutes)</string>
|
|
||||||
<string name="title_folder_exists">Folder %1$s exists</string>
|
<string name="title_folder_exists">Folder %1$s exists</string>
|
||||||
<string name="title_folder_delete">Delete folder permanently?</string>
|
<string name="title_folder_delete">Delete folder permanently?</string>
|
||||||
|
|
||||||
|
@ -168,13 +166,10 @@
|
||||||
<string name="title_folder_thread">Conversation</string>
|
<string name="title_folder_thread">Conversation</string>
|
||||||
<string name="title_no_messages">No messages</string>
|
<string name="title_no_messages">No messages</string>
|
||||||
|
|
||||||
<string name="title_link">link</string>
|
|
||||||
<string name="title_image">image</string>
|
|
||||||
<string name="title_show_images">Show images</string>
|
<string name="title_show_images">Show images</string>
|
||||||
<string name="title_subject_reply">Re: %1$s</string>
|
<string name="title_subject_reply">Re: %1$s</string>
|
||||||
<string name="title_subject_forward">Fwd: %1$s</string>
|
<string name="title_subject_forward">Fwd: %1$s</string>
|
||||||
|
|
||||||
<string name="title_thread">Show conversation</string>
|
|
||||||
<string name="title_seen">Mark read</string>
|
<string name="title_seen">Mark read</string>
|
||||||
<string name="title_unseen">Mark unread</string>
|
<string name="title_unseen">Mark unread</string>
|
||||||
<string name="title_flag">Add star</string>
|
<string name="title_flag">Add star</string>
|
||||||
|
@ -217,7 +212,6 @@
|
||||||
<string name="title_style_image">Insert image</string>
|
<string name="title_style_image">Insert image</string>
|
||||||
<string name="title_add_attachment">Add attachment</string>
|
<string name="title_add_attachment">Add attachment</string>
|
||||||
<string name="title_show_addresses">Show CC/BCC</string>
|
<string name="title_show_addresses">Show CC/BCC</string>
|
||||||
<string name="title_text_size">Text size</string>
|
|
||||||
|
|
||||||
<string name="title_from_missing">Sender missing</string>
|
<string name="title_from_missing">Sender missing</string>
|
||||||
<string name="title_to_missing">Recipient missing</string>
|
<string name="title_to_missing">Recipient missing</string>
|
||||||
|
|
Loading…
Reference in New Issue