mirror of https://github.com/M66B/FairEmail.git
81 lines
3.3 KiB
81 lines
3.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.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">
|
|
|
|
<include
|
|
android:id="@+id/include"
|
|
layout="@layout/message_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<android.support.design.widget.BottomNavigationView
|
|
android:id="@+id/top_navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
android:background="@color/darkColorSeparator"
|
|
app:itemIconTint="@color/colorActionForeground"
|
|
app:itemTextColor="@color/colorActionForeground"
|
|
app:labelVisibilityMode="unlabeled"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/include"
|
|
app:menu="@menu/action_view_top" />
|
|
|
|
<ScrollView
|
|
android:id="@+id/scroll"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginRight="6dp"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/top_navigation">
|
|
|
|
<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" />
|
|
</ScrollView>
|
|
|
|
<android.support.design.widget.BottomNavigationView
|
|
android:id="@+id/bottom_navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorPrimary"
|
|
app:itemIconTint="@color/colorActionForeground"
|
|
app:itemTextColor="@color/colorActionForeground"
|
|
app:labelVisibilityMode="unlabeled"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:menu="@menu/action_view_bottom" />
|
|
|
|
<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_toTopOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="parent" />
|
|
|
|
<android.support.constraint.Group
|
|
android:id="@+id/grpReady"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:constraint_referenced_ids="include,top_navigation,scroll,bottom_navigation" />
|
|
</android.support.constraint.ConstraintLayout>
|