FairEmail/app/src/main/res/layout/include_message_navigation.xml

240 lines
10 KiB
XML
Raw Normal View History

2019-08-16 06:12:04 +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"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2019-10-08 07:32:37 +00:00
<View
2020-03-01 10:04:31 +00:00
android:id="@+id/vSeparator"
2019-10-08 07:32:37 +00:00
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_toTopOf="parent" />
2020-03-02 07:37:16 +00:00
<eu.faircode.email.ContentLoadingProgressBar
android:id="@+id/pbBody"
style="@style/Base.Widget.AppCompat.ProgressBar"
android:layout_width="36dp"
android:layout_height="36dp"
android:indeterminate="true"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparator" />
2020-03-01 10:04:31 +00:00
<ImageButton
android:id="@+id/ibMore"
android:layout_width="36dp"
2019-10-08 07:32:37 +00:00
android:layout_height="36dp"
2020-03-01 10:04:31 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_more"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-01 10:04:31 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_more"
2019-10-08 07:32:37 +00:00
app:layout_constraintStart_toStartOf="parent"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_more_vert_24" />
2019-10-08 07:32:37 +00:00
2020-03-01 19:49:46 +00:00
<ImageButton
android:id="@+id/ibRemove"
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-02 17:12:36 +00:00
android:layout_marginStart="9dp"
2020-03-01 19:49:46 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_delete"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-01 19:49:46 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_delete"
app:layout_constraintStart_toEndOf="@id/ibMore"
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-03-02 07:55:33 +00:00
app:srcCompat="@drawable/baseline_close_24" />
2020-03-01 19:49:46 +00:00
2020-03-02 17:12:36 +00:00
<ImageButton
android:id="@+id/ibJunk"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="9dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_spam"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_spam"
2020-03-05 09:07:06 +00:00
app:layout_constraintStart_toEndOf="@id/ibRemove"
2020-03-02 17:12:36 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_flag_24" />
<ImageButton
android:id="@+id/ibTrash"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="9dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_delete"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_delete"
app:layout_constraintStart_toEndOf="@id/ibJunk"
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_delete_24" />
<ImageButton
android:id="@+id/ibArchive"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="9dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_archive"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_archive"
app:layout_constraintStart_toEndOf="@id/ibTrash"
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_archive_24" />
2020-03-01 10:04:31 +00:00
<ImageButton
2020-03-05 09:07:06 +00:00
android:id="@+id/ibMove"
2020-03-01 10:04:31 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-05 09:07:06 +00:00
android:layout_marginStart="9dp"
2020-03-01 10:04:31 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-05 09:07:06 +00:00
android:contentDescription="@string/title_move"
2020-03-01 10:04:31 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2020-03-01 10:04:31 +00:00
android:scaleType="fitCenter"
2020-03-05 09:07:06 +00:00
android:tooltipText="@string/title_move"
app:layout_constraintStart_toEndOf="@id/ibArchive"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-03-05 09:07:06 +00:00
app:srcCompat="@drawable/baseline_folder_24" />
2020-03-01 10:04:31 +00:00
2019-11-27 09:40:43 +00:00
<ImageButton
2020-03-05 09:07:06 +00:00
android:id="@+id/ibAnswer"
2019-11-27 09:40:43 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-05 09:07:06 +00:00
android:layout_marginStart="9dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-05 09:07:06 +00:00
android:contentDescription="@string/title_reply"
2019-11-27 09:40:43 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2019-11-27 09:40:43 +00:00
android:scaleType="fitCenter"
2020-03-05 09:07:06 +00:00
android:tooltipText="@string/title_reply"
app:layout_constraintStart_toEndOf="@id/ibMove"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-03-05 09:07:06 +00:00
app:srcCompat="@drawable/baseline_reply_24" />
2019-11-27 09:40:43 +00:00
2019-08-16 06:12:04 +00:00
<ImageButton
2020-03-05 09:07:06 +00:00
android:id="@+id/ibUndo"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-02 17:12:36 +00:00
android:layout_marginEnd="9dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-05 09:07:06 +00:00
android:contentDescription="@string/title_undo"
2019-10-10 14:38:02 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2019-10-10 14:38:02 +00:00
android:scaleType="fitCenter"
2020-03-05 09:07:06 +00:00
android:tooltipText="@string/title_undo"
2020-01-04 18:40:41 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibUnsubscribe"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-03-05 09:07:06 +00:00
app:srcCompat="@drawable/baseline_undo_24" />
2020-01-04 18:40:41 +00:00
2019-08-16 06:12:04 +00:00
<ImageButton
2019-09-08 10:57:21 +00:00
android:id="@+id/ibUnsubscribe"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-02 17:12:36 +00:00
android:layout_marginEnd="9dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2019-09-08 10:57:21 +00:00
android:contentDescription="@string/title_legend_show_unsubscribe"
2019-10-10 14:38:02 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2019-10-10 14:38:02 +00:00
android:scaleType="fitCenter"
2019-09-13 15:47:33 +00:00
android:tooltipText="@string/title_legend_show_unsubscribe"
2019-09-08 10:57:21 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibImages"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2019-09-08 10:57:21 +00:00
app:srcCompat="@drawable/baseline_unsubscribe_24" />
<ImageButton
2019-08-16 06:12:04 +00:00
android:id="@+id/ibImages"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-02 17:12:36 +00:00
android:layout_marginEnd="9dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2019-08-16 06:12:04 +00:00
android:contentDescription="@string/title_legend_show_images"
2019-10-10 14:38:02 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
2019-10-10 14:38:02 +00:00
android:scaleType="fitCenter"
2019-09-13 15:47:33 +00:00
android:tooltipText="@string/title_legend_show_images"
2019-08-16 06:12:04 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibFull"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_image_24" />
2019-08-16 06:12:04 +00:00
<ImageButton
android:id="@+id/ibFull"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2019-08-16 06:12:04 +00:00
android:contentDescription="@string/title_legend_show_full"
2019-10-10 14:38:02 +00:00
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="3dp"
android:scaleType="fitCenter"
2019-09-13 15:47:33 +00:00
android:tooltipText="@string/title_legend_show_full"
2019-08-16 06:12:04 +00:00
app:layout_constraintEnd_toEndOf="parent"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
app:srcCompat="@drawable/baseline_fullscreen_24" />
2019-10-08 16:05:23 +00:00
2020-03-05 09:07:06 +00:00
<ImageButton
android:id="@+id/ibVerify"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="9dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_sign"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_sign"
app:layout_constraintEnd_toStartOf="@+id/ibDecrypt"
app:layout_constraintTop_toBottomOf="@id/ibFull"
app:srcCompat="@drawable/baseline_gesture_24" />
<ImageButton
android:id="@+id/ibDecrypt"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_decrypt"
android:foregroundTint="?android:attr/textColorSecondary"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_decrypt"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/ibFull"
app:srcCompat="@drawable/baseline_lock_open_24" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2020-02-07 16:40:40 +00:00
android:id="@+id/tvSignedData"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/title_signed_data"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-03-05 09:07:06 +00:00
app:layout_constraintTop_toBottomOf="@id/ibVerify" />
2020-03-02 11:06:56 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvCrossHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text="@string/title_message_bar_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/ibRemove"
app:layout_constraintTop_toBottomOf="@id/tvSignedData" />
</androidx.constraintlayout.widget.ConstraintLayout>