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

340 lines
14 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"
2020-03-06 19:05:42 +00:00
xmlns:tools="http://schemas.android.com/tools"
2019-08-16 06:12:04 +00:00
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-06-24 18:18:08 +00:00
<ImageButton
2020-06-24 19:54:34 +00:00
android:id="@+id/ibTools"
2020-06-24 18:18:08 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_more"
android:padding="6dp"
android:scaleType="fitCenter"
2020-06-24 19:54:34 +00:00
android:tooltipText="@string/title_legend_expander"
2020-06-24 18:18:08 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-06-24 19:54:34 +00:00
app:srcCompat="@drawable/expander_hor" />
2020-06-24 18:18:08 +00:00
2020-03-06 19:05:42 +00:00
<androidx.constraintlayout.helper.widget.Flow
2020-06-24 18:18:08 +00:00
android:id="@+id/ibFlow"
2020-03-06 19:05:42 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-03-23 13:32:41 +00:00
android:layout_marginEnd="3dp"
2020-10-13 07:12:49 +00:00
app:constraint_referenced_ids="ibMore,ibInbox,ibJunk,ibTrash,ibArchive,ibMove,ibCopy,ibKeywords,ibLabels,ibAnswer,ibSeen,ibEvent,ibShare,ibPrint,ibUnsubscribe,ibRule,ibUndo"
2020-03-06 19:05:42 +00:00
app:flow_horizontalBias="0"
app:flow_horizontalGap="3dp"
2020-03-06 19:05:42 +00:00
app:flow_horizontalStyle="packed"
app:flow_wrapMode="chain"
app:layout_constraintEnd_toStartOf="@+id/ibVerify"
2020-06-25 06:09:41 +00:00
app:layout_constraintStart_toEndOf="@id/ibTools"
2020-03-06 19:05:42 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator" />
2020-06-25 06:09:41 +00:00
<ImageButton
android:id="@+id/ibMore"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_more"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_more"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_more_horiz_24"
2020-06-25 06:09:41 +00:00
tools:ignore="MissingConstraints" />
2020-03-02 17:12:36 +00:00
<ImageButton
android:id="@+id/ibInbox"
2020-03-02 17:12:36 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_folder_inbox"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_folder_inbox"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_move_to_inbox_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-03-02 17:12:36 +00:00
<ImageButton
android:id="@+id/ibJunk"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_spam"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_spam"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_report_problem_24"
tools:ignore="MissingConstraints" />
2020-03-02 17:12:36 +00:00
<ImageButton
android:id="@+id/ibTrash"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_delete"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_delete"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_delete_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-03-02 17:12:36 +00:00
<ImageButton
android:id="@+id/ibArchive"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_archive"
android:padding="6dp"
2020-03-02 17:12:36 +00:00
android:scaleType="fitCenter"
android:tooltipText="@string/title_archive"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_archive_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-03-02 17:12:36 +00:00
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"
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-05 09:07:06 +00:00
android:contentDescription="@string/title_move"
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"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_folder_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-03-01 10:04:31 +00:00
2020-06-26 19:28:40 +00:00
<ImageButton
android:id="@+id/ibCopy"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_copy"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_copy"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_file_copy_24"
2020-06-26 19:28:40 +00:00
tools:ignore="MissingConstraints" />
2020-09-13 13:27:50 +00:00
<ImageButton
android:id="@+id/ibKeywords"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_label_important_24"
2020-09-13 13:27:50 +00:00
tools:ignore="MissingConstraints" />
2020-06-25 07:14:05 +00:00
<ImageButton
android:id="@+id/ibLabels"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_label_24"
2020-06-25 07:14:05 +00:00
tools:ignore="MissingConstraints" />
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"
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"
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"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_reply_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2019-11-27 09:40:43 +00:00
2020-08-20 07:34:08 +00:00
<ImageButton
android:id="@+id/ibSeen"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-08-20 08:32:51 +00:00
android:contentDescription="@string/title_toggle_seen"
2020-08-20 07:34:08 +00:00
android:padding="6dp"
android:scaleType="fitCenter"
2020-08-20 08:32:51 +00:00
android:tooltipText="@string/title_toggle_seen"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_visibility_24"
2020-08-20 07:34:08 +00:00
tools:ignore="MissingConstraints" />
<ImageButton
android:id="@+id/ibEvent"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_event"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_event"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_event_24"
tools:ignore="MissingConstraints" />
2020-10-13 07:12:49 +00:00
<ImageButton
android:id="@+id/ibShare"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_share"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_share"
app:srcCompat="@drawable/twotone_share_24"
tools:ignore="MissingConstraints" />
<ImageButton
android:id="@+id/ibPrint"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_print"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_print"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_print_24"
tools:ignore="MissingConstraints" />
2020-03-05 12:49:25 +00:00
<ImageButton
android:id="@+id/ibUnsubscribe"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_show_unsubscribe"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_legend_show_unsubscribe"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_unsubscribe_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-03-05 12:49:25 +00:00
2020-06-23 12:19:46 +00:00
<ImageButton
android:id="@+id/ibRule"
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_legend_create_rule"
android:padding="6dp"
android:scaleType="fitCenter"
android:tooltipText="@string/title_legend_create_rule"
2020-10-01 13:33:21 +00:00
app:srcCompat="@drawable/twotone_filter_alt_24"
2020-06-23 12:19:46 +00:00
tools:ignore="MissingConstraints" />
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"
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"
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-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_undo_24"
2020-03-06 19:05:42 +00:00
tools:ignore="MissingConstraints" />
2020-01-04 18:40:41 +00:00
2019-09-08 10:57:21 +00:00
<ImageButton
2020-03-06 19:05:42 +00:00
android:id="@+id/ibVerify"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-05 15:07:27 +00:00
android:layout_marginEnd="3dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-09-23 05:45:43 +00:00
android:contentDescription="@string/title_verify"
android:padding="6dp"
2019-10-10 14:38:02 +00:00
android:scaleType="fitCenter"
2020-09-23 05:45:43 +00:00
android:tooltipText="@string/title_verify"
2020-03-06 19:05:42 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibDecrypt"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_gesture_24" />
2019-08-16 06:12:04 +00:00
<ImageButton
2020-03-06 19:05:42 +00:00
android:id="@+id/ibDecrypt"
2019-10-10 14:38:02 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-06 19:05:42 +00:00
android:layout_marginEnd="3dp"
2019-12-06 12:47:04 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-06 19:05:42 +00:00
android:contentDescription="@string/title_decrypt"
android:padding="6dp"
2019-10-10 14:38:02 +00:00
android:scaleType="fitCenter"
2020-03-06 19:05:42 +00:00
android:tooltipText="@string/title_decrypt"
app:layout_constraintEnd_toStartOf="@+id/ibImages"
2020-03-01 10:04:31 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_lock_open_24" />
2019-10-08 16:05:23 +00:00
2020-03-05 09:07:06 +00:00
<ImageButton
2020-03-06 19:05:42 +00:00
android:id="@+id/ibImages"
2020-03-05 09:07:06 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
2020-03-05 15:07:27 +00:00
android:layout_marginEnd="3dp"
2020-03-05 09:07:06 +00:00
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-06 19:05:42 +00:00
android:contentDescription="@string/title_legend_show_images"
2020-03-05 09:07:06 +00:00
android:padding="6dp"
android:scaleType="fitCenter"
2020-03-06 19:05:42 +00:00
android:tooltipText="@string/title_legend_show_images"
app:layout_constraintEnd_toStartOf="@+id/ibFull"
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_image_24" />
2020-03-05 09:07:06 +00:00
<ImageButton
2020-03-06 19:05:42 +00:00
android:id="@+id/ibFull"
2020-03-05 09:07:06 +00:00
android:layout_width="36dp"
android:layout_height="36dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
2020-03-06 19:05:42 +00:00
android:contentDescription="@string/title_legend_show_full"
android:padding="3dp"
2020-03-05 09:07:06 +00:00
android:scaleType="fitCenter"
2020-03-06 19:05:42 +00:00
android:tooltipText="@string/title_legend_show_full"
2020-03-05 11:49:28 +00:00
app:layout_constraintEnd_toEndOf="parent"
2020-03-06 19:05:42 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparator"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_fullscreen_24" />
2020-03-05 11:49:28 +00:00
2020-10-25 18:07:22 +00:00
<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrier_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="ibTools,ibFlow,ibVerify,ibDecrypt,ibImages,ibFull" />
2020-08-13 18:33:09 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvReformatted"
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-08-14 16:54:12 +00:00
android:paddingBottom="12dp"
2020-08-13 18:33:09 +00:00
android:text="@string/title_reformatted"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-10-25 18:07:22 +00:00
app:layout_constraintTop_toBottomOf="@id/barrier_action" />
2020-08-13 18:33:09 +00:00
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"
2020-08-14 16:54:12 +00:00
android:paddingBottom="12dp"
2020-02-07 16:40:40 +00:00
android:text="@string/title_signed_data"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2020-08-13 18:33:09 +00:00
android:textStyle="italic"
2020-02-07 16:40:40 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-08-13 18:33:09 +00:00
app:layout_constraintTop_toBottomOf="@id/tvReformatted" />
</androidx.constraintlayout.widget.ConstraintLayout>