2018-12-06 18:35:02 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-08-26 20:54:20 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-12-06 18:35:02 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-09-02 12:56:13 +02:00
|
|
|
<io.github.wulkanowy.ui.widgets.MaterialTabLayout
|
2018-12-06 18:35:02 +01:00
|
|
|
android:id="@+id/messageTabLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
2019-08-26 20:54:20 +02:00
|
|
|
android:background="?colorSurface"
|
2018-12-06 18:35:02 +01:00
|
|
|
android:visibility="invisible"
|
|
|
|
app:tabGravity="fill"
|
2019-08-26 20:54:20 +02:00
|
|
|
app:tabIndicatorColor="?colorPrimary"
|
2018-12-06 18:35:02 +01:00
|
|
|
app:tabMaxWidth="0dp"
|
|
|
|
app:tabMode="fixed"
|
2019-08-26 20:54:20 +02:00
|
|
|
app:tabSelectedTextColor="?colorPrimary"
|
2019-11-10 16:45:53 +01:00
|
|
|
app:tabTextColor="@color/material_on_surface_emphasis_medium"
|
2019-08-26 20:54:20 +02:00
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:visibility="visible" />
|
2018-12-06 18:35:02 +01:00
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
|
android:id="@+id/messageViewPager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="48dp"
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
2019-10-24 18:45:05 +02:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
2019-02-24 15:11:32 +01:00
|
|
|
android:id="@+id/openSendMessageButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2019-10-24 18:45:05 +02:00
|
|
|
android:text="@string/send_message_title"
|
2019-11-10 16:45:53 +01:00
|
|
|
android:tint="?colorOnSecondary"
|
2019-10-24 18:45:05 +02:00
|
|
|
app:icon="@drawable/ic_menu_message_write" />
|
2019-02-24 15:11:32 +01:00
|
|
|
|
2021-02-01 11:45:10 +01:00
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
2018-12-06 18:35:02 +01:00
|
|
|
android:id="@+id/messageProgress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|