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

103 lines
4.5 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
android:id="@+id/vSeparatorTop"
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" />
2019-08-16 06:12:04 +00:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bnvActions"
android:layout_width="0dp"
2019-10-08 07:32:37 +00:00
android:layout_height="36dp"
android:background="@android:color/transparent"
app:elevation="0dp"
app:itemIconTint="?android:attr/textColorSecondary"
app:itemTextColor="?android:attr/textColorSecondary"
app:labelVisibilityMode="unlabeled"
2019-08-16 06:12:04 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-10-08 07:32:37 +00:00
app:layout_constraintTop_toBottomOf="@+id/vSeparatorTop"
2019-08-16 06:12:04 +00:00
app:menu="@menu/action_message" />
2019-10-08 07:32:37 +00:00
<View
android:id="@+id/vSeparatorBottom"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/colorSeparator"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/bnvActions" />
<eu.faircode.email.ContentLoadingProgressBar
android:id="@+id/pbBody"
style="@style/Base.Widget.AppCompat.ProgressBar"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="6dp"
android:indeterminate="true"
app:layout_constraintBottom_toBottomOf="@+id/ibFull"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/ibFull" />
2019-08-16 06:12:04 +00:00
<ImageButton
android:id="@+id/ibDecrypt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:layout_marginEnd="6dp"
2019-09-09 17:35:59 +00:00
android:backgroundTint="?attr/colorActionBackground"
2019-08-16 06:12:04 +00:00
android:contentDescription="@string/title_decrypt"
2019-09-09 17:35:59 +00:00
android:tint="@color/action_foreground"
2019-09-13 15:47:33 +00:00
android:tooltipText="@string/title_decrypt"
2019-09-08 10:57:21 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibUnsubscribe"
2019-10-08 07:32:37 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparatorBottom"
2019-10-04 15:48:02 +00:00
app:srcCompat="@drawable/baseline_lock_open_24" />
2019-08-16 06:12:04 +00:00
<ImageButton
2019-09-08 10:57:21 +00:00
android:id="@+id/ibUnsubscribe"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:layout_marginEnd="6dp"
2019-09-09 17:35:59 +00:00
android:backgroundTint="?attr/colorActionBackground"
2019-09-08 10:57:21 +00:00
android:contentDescription="@string/title_legend_show_unsubscribe"
2019-09-09 17:35:59 +00:00
android:tint="@color/action_foreground"
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"
2019-10-08 07:32:37 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparatorBottom"
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"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:layout_marginEnd="6dp"
2019-09-09 17:35:59 +00:00
android:backgroundTint="?attr/colorActionBackground"
2019-08-16 06:12:04 +00:00
android:contentDescription="@string/title_legend_show_images"
2019-09-09 17:35:59 +00:00
android:tint="@color/action_foreground"
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"
2019-10-08 07:32:37 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparatorBottom"
app:srcCompat="@drawable/baseline_image_24" />
2019-08-16 06:12:04 +00:00
<ImageButton
android:id="@+id/ibFull"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
2019-09-09 17:35:59 +00:00
android:backgroundTint="?attr/colorActionBackground"
2019-08-16 06:12:04 +00:00
android:contentDescription="@string/title_legend_show_full"
2019-09-09 17:35:59 +00:00
android:tint="@color/action_foreground"
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"
2019-10-08 07:32:37 +00:00
app:layout_constraintTop_toBottomOf="@id/vSeparatorBottom"
app:srcCompat="@drawable/baseline_fullscreen_24" />
2019-08-16 06:12:04 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>