discord-jadx/app/src/main/res/layout/widget_remote_auth.xml

16 lines
1.8 KiB
XML

<?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/res_2131952606_uikit_viewgroup_relativelayout">
<ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/drawable_auth_splash" android:scaleType="centerCrop" android:importantForAccessibility="no"/>
<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"/>
<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/colorBackgroundPrimary" app:cardCornerRadius="8dp">
<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>