mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-07 16:57:39 +03:00
86 lines
3.5 KiB
XML
86 lines
3.5 KiB
XML
|
<?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"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<androidx.appcompat.widget.Toolbar
|
||
|
android:id="@+id/toolbar"
|
||
|
style="@style/VectorToolbarStyle"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/container"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/toolbar" />
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:id="@+id/waiting_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="?vctr_waiting_background_color"
|
||
|
android:visibility="gone"
|
||
|
tools:visibility="visible">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/waiting_view_content"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="@dimen/layout_horizontal_margin"
|
||
|
android:background="?attr/colorBackgroundFloating"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="@dimen/layout_horizontal_margin"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintWidth_percent="@dimen/dialog_width_ratio">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ProgressBar
|
||
|
android:id="@+id/waiting_view_status_circular_progress"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_marginEnd="6dp"
|
||
|
android:layout_marginRight="6dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/waiting_view_status_text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:visibility="gone"
|
||
|
tools:text="Waiting status..."
|
||
|
tools:visibility="visible" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<ProgressBar
|
||
|
android:id="@+id/waiting_view_status_horizontal_progress"
|
||
|
style="?android:attr/progressBarStyleHorizontal"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="20dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:visibility="gone"
|
||
|
tools:max="100"
|
||
|
tools:progress="30"
|
||
|
tools:visibility="visible" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|