99 lines
4.2 KiB
XML
99 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:cardBackgroundColor="@android:color/transparent"
|
|
app:cardElevation="10.0dip">
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="300.0dip"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/com_facebook_auth_dialog_background"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="100.0dip"
|
|
android:background="@drawable/com_facebook_auth_dialog_header_background"
|
|
android:orientation="horizontal">
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="18.0dip"
|
|
android:layout_height="18.0dip"
|
|
android:layout_marginLeft="12.0dip"
|
|
android:layout_marginTop="11.0dip"
|
|
android:layout_marginBottom="11.0dip"
|
|
android:adjustViewBounds="false"
|
|
android:scaleType="fitXY"
|
|
app:srcCompat="@drawable/com_facebook_favicon_blue" />
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@id/confirmation_code"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:fontFamily="roboto_condensed"
|
|
android:gravity="center"
|
|
android:textColor="@color/com_facebook_blue"
|
|
android:textSize="30.0sp"
|
|
android:typeface="sans"
|
|
android:visibility="invisible" />
|
|
|
|
<ProgressBar
|
|
android:id="@id/progress_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0.0dip"
|
|
android:layout_alignTop="@id/confirmation_code"
|
|
android:layout_alignBottom="@id/confirmation_code"
|
|
android:layout_centerInParent="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@id/com_facebook_device_auth_instructions"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16.0dip"
|
|
android:layout_marginTop="20.0dip"
|
|
android:layout_marginEnd="16.0dip"
|
|
android:fontFamily="roboto_condensed"
|
|
android:gravity="center"
|
|
android:singleLine="false"
|
|
android:textColor="@color/com_facebook_device_auth_text"
|
|
android:textSize="12.0sp"
|
|
android:typeface="sans" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="14.0dip"
|
|
android:layout_marginBottom="17.0dip">
|
|
|
|
<Button
|
|
android:id="@id/cancel_button"
|
|
android:layout_width="84.0dip"
|
|
android:layout_height="27.0dip"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@drawable/com_facebook_auth_dialog_cancel_background"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:fontFamily="roboto_condensed"
|
|
android:text="@android:string/cancel"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/com_facebook_device_auth_text"
|
|
android:textSize="10.0sp"
|
|
android:textStyle="bold"
|
|
android:typeface="sans">
|
|
|
|
<requestFocus />
|
|
</Button>
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView> |