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

86 lines
3.8 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">
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bnvActions"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
2019-09-09 17:35:59 +00:00
android:background="?attr/colorActionBackground"
app:itemIconTint="@color/action_foreground"
app:itemTextColor="@color/action_foreground"
2019-08-16 06:12:04 +00:00
app:labelVisibilityMode="labeled"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:menu="@menu/action_message" />
<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"
app:layout_constraintTop_toBottomOf="@id/bnvActions"
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"
app:layout_constraintTop_toBottomOf="@id/bnvActions"
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"
app:layout_constraintTop_toBottomOf="@id/bnvActions"
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"
app:layout_constraintTop_toBottomOf="@id/bnvActions"
app:srcCompat="@drawable/baseline_fullscreen_24" />
2019-08-16 06:12:04 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>