2021-08-09 22:50:52 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_RelativeLayout">
|
2021-08-18 07:29:27 +00:00
|
|
|
<View android:background="?attr/auth_ptrn" android:layout_width="match_parent" android:layout_height="match_parent"/>
|
2021-08-09 22:50:52 +00:00
|
|
|
<ImageView android:layout_width="40dp" android:layout_height="40dp" android:layout_marginTop="16dp" android:src="@drawable/img_logo_square" android:layout_centerHorizontal="true" android:importantForAccessibility="no" app:tint="@color/white"/>
|
2021-08-18 07:29:27 +00:00
|
|
|
<androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_centerInParent="true" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="8dp">
|
2021-08-09 22:50:52 +00:00
|
|
|
<com.discord.app.AppViewFlipper android:id="@+id/remote_auth_view_flipper" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp" android:measureAllChildren="false" android:animateLayoutChanges="true">
|
|
|
|
<include android:id="@+id/pending_login" layout="@layout/widget_remote_auth_pending_login"/>
|
|
|
|
<include android:id="@+id/not_found" layout="@layout/widget_remote_auth_not_found"/>
|
|
|
|
<RelativeLayout android:gravity="center" android:layout_width="match_parent" android:layout_height="300dp">
|
|
|
|
<ProgressBar android:layout_width="32dp" android:layout_height="32dp"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<include android:id="@+id/auth_success" layout="@layout/widget_remote_auth_success"/>
|
|
|
|
</com.discord.app.AppViewFlipper>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</RelativeLayout>
|