11 lines
1.9 KiB
XML
11 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:gravity="center_horizontal" style="@style/UiKit_ViewGroup_LinearLayout">
|
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_marginBottom="24dp" android:src="@drawable/img_remote_auth_loaded" android:importantForAccessibility="no"/>
|
|
<TextView android:gravity="center" android:text="@string/qr_code_login_confirm" style="@style/UiKit_TextView_H1"/>
|
|
<TextView android:textColor="@color/status_red_500" android:layout_marginTop="8dp" android:text="@string/confirm_qr_description" android:textAlignment="center" style="@style/UiKit_TextView"/>
|
|
<androidx.cardview.widget.CardView android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="24dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardCornerRadius="4dp" app:cardElevation="0dp">
|
|
<com.google.android.material.switchmaterial.SwitchMaterial android:textColor="?attr/colorHeaderPrimary" android:id="@+id/remote_auth_temporary_switch" android:text="@string/confirm_qr_keep_me_signed_in" style="@style/UiKit_ListItem_Switch"/>
|
|
</androidx.cardview.widget.CardView>
|
|
<com.google.android.material.button.MaterialButton android:id="@+id/remote_auth_login_button" android:layout_marginTop="24dp" android:layout_marginBottom="8dp" android:text="@string/confirm_qr_login_on_computer" style="@style/UiKit_Material_Button"/>
|
|
<com.google.android.material.button.MaterialButton android:textColor="?attr/colorHeaderPrimary" android:id="@+id/remote_auth_cancel_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/cancel" style="@style/UiKit_Material_Button_Transparent"/>
|
|
</LinearLayout>
|