|
@ -1,76 +1,93 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
tools:context=".ActivityView"> |
|
|
tools:context=".ActivityView"> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvNoEmail" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:text="@string/title_no_messages" |
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvHintActions" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginEnd="6dp" |
|
|
|
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
|
android:minHeight="33dp" |
|
|
|
|
|
android:text="@string/title_hint_message_actions" |
|
|
|
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintActions" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvNoEmail" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:text="@string/title_no_messages" |
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<ImageButton |
|
|
|
|
|
android:id="@+id/ibHintActions" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:src="@drawable/baseline_close_24" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintActions" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintActions" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:id="@+id/tvHintActions" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_marginEnd="6dp" |
|
|
|
|
|
android:layout_marginStart="6dp" |
|
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
|
android:minHeight="33dp" |
|
|
|
|
|
android:text="@string/title_hint_message_actions" |
|
|
|
|
|
android:textColor="?android:attr/textColorPrimary" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintActions" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparator" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintActions" /> |
|
|
|
|
|
|
|
|
<ImageButton |
|
|
|
|
|
android:id="@+id/ibHintActions" |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:src="@drawable/baseline_close_24" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintActions" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintActions" /> |
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
|
|
android:id="@+id/rvFolder" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
android:scrollbarStyle="outsideOverlay" |
|
|
|
|
|
android:scrollbars="vertical" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" /> |
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
android:id="@+id/vSeparator" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
|
android:background="?attr/colorSeparator" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintActions" /> |
|
|
|
|
|
|
|
|
<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_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
|
|
android:id="@+id/rvFolder" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
android:scrollbarStyle="outsideOverlay" |
|
|
|
|
|
android:scrollbars="vertical" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" /> |
|
|
|
|
|
|
|
|
|
|
|
<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_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group |
|
|
|
|
|
android:id="@+id/grpHintActions" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
app:constraint_referenced_ids="tvHintActions,ibHintActions,vSeparator" /> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group |
|
|
|
|
|
android:id="@+id/grpReady" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
app:constraint_referenced_ids="rvFolder" /> |
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
android:id="@+id/fab" |
|
|
android:id="@+id/fab" |
|
@ -83,16 +100,4 @@ |
|
|
app:backgroundTint="?attr/colorAccent" |
|
|
app:backgroundTint="?attr/colorAccent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group |
|
|
|
|
|
android:id="@+id/grpHintActions" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
app:constraint_referenced_ids="tvHintActions,ibHintActions,vSeparator" /> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group |
|
|
|
|
|
android:id="@+id/grpReady" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
app:constraint_referenced_ids="rvFolder" /> |
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |