element-android/vector/src/main/res/layout/fragment_loading.xml

31 lines
1.3 KiB
XML
Raw Normal View History

<?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="match_parent">
2019-11-19 20:44:11 +03:00
<!-- Note: Animation will be started in the code -->
2018-11-02 12:30:59 +03:00
<ImageView
android:id="@+id/animatedLogoImageView"
2020-07-09 12:48:45 +03:00
android:layout_width="120dp"
android:layout_height="120dp"
2019-04-03 15:46:15 +03:00
android:background="@drawable/riot_animated_logo"
2019-11-19 20:44:11 +03:00
android:importantForAccessibility="no"
2019-04-03 15:46:15 +03:00
app:layout_constraintBottom_toBottomOf="parent"
2018-11-02 12:30:59 +03:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-04-03 15:46:15 +03:00
app:layout_constraintTop_toTopOf="parent" />
2018-11-02 12:30:59 +03:00
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-11-02 12:30:59 +03:00
android:layout_centerInParent="true"
2019-04-03 15:46:15 +03:00
android:layout_marginTop="@dimen/layout_vertical_margin_big"
2018-11-02 12:30:59 +03:00
android:indeterminate="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2018-11-02 12:30:59 +03:00
app:layout_constraintTop_toBottomOf="@id/animatedLogoImageView" />
</androidx.constraintlayout.widget.ConstraintLayout>