<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <ScrollView android:background="?ytBrandBackgroundSolid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/send_code_button">
        <RelativeLayout android:id="@id/phone_entry_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/av_margin_normal">
            <include android:id="@id/top_bar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" layout="@layout/verification_fragment_top_bar" />
            <TextView android:textSize="@dimen/av_title_text_size" android:textColor="?ytTextPrimary" android:gravity="center" android:id="@id/title" android:layout_width="@dimen/av_phone_entry_title_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/av_margin_large" android:layout_marginBottom="@dimen/av_margin_large" android:layout_below="@id/top_bar" android:layout_centerHorizontal="true" android:lineSpacingMultiplier="1.1" />
            <Spinner android:id="@id/countries" android:layout_width="@dimen/av_inner_view_width" android:layout_height="wrap_content" android:layout_below="@id/title" android:layout_centerHorizontal="true" android:spinnerMode="dropdown" />
            <View android:id="@id/countries_underline" android:background="?yt10PercentLayer" android:layout_width="@dimen/av_inner_view_width" android:layout_height="@dimen/av_form_field_underline_height" android:layout_marginBottom="@dimen/av_margin_large" android:layout_below="@id/countries" android:layout_centerHorizontal="true" />
            <TextView android:textSize="@dimen/av_label_text_size" android:textColor="?ytTextDisabled" android:id="@id/phone_number_label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/countries_underline" android:layout_alignStart="@id/phone_number_edit_text_container" android:labelFor="@id/phone_number_field" />
            <FrameLayout android:id="@id/phone_number_edit_text_container" android:layout_width="@dimen/av_inner_view_width" android:layout_height="wrap_content" android:layout_below="@id/phone_number_label" android:layout_centerHorizontal="true">
                <EditText android:textSize="@dimen/av_form_field_text_size" android:textColor="?ytTextPrimary" android:textColorHint="?ytTextDisabled" android:id="@id/phone_number_field" android:background="@android:color/transparent" android:paddingTop="@dimen/av_phone_number_padding_top" android:paddingBottom="@dimen/av_phone_number_padding_bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:digits="\ 1234567890" android:inputType="number" android:imeOptions="flagNoExtractUi" />
                <View android:layout_gravity="bottom" android:id="@id/phone_number_underline" android:background="?ytThemedBlue" android:layout_width="fill_parent" android:layout_height="@dimen/av_form_field_underline_height" android:layout_marginBottom="@dimen/av_phone_number_underline_margin_bottom" />
            </FrameLayout>
            <TextView android:textSize="@dimen/av_error_text_size" android:textColor="?ytErrorIndicator" android:id="@id/error_message" android:visibility="gone" android:layout_width="@dimen/av_inner_view_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/av_margin_small" android:layout_below="@id/phone_number_edit_text_container" android:layout_centerHorizontal="true" />
            <LinearLayout android:theme="@style/ThemeOverlay.AppCompat.Light" android:orientation="horizontal" android:id="@id/code_delivery_radio_group" android:layout_width="@dimen/av_radio_button_group_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/av_margin_large" android:layout_below="@id/error_message" android:layout_centerHorizontal="true" />
            <androidx.core.widget.ContentLoadingProgressBar android:id="@id/progress_bar" android:visibility="gone" android:layout_width="@dimen/av_progress_bar_size" android:layout_height="@dimen/av_progress_bar_size" android:layout_centerInParent="true" style="@style/VerificationProgressBarStyle" />
        </RelativeLayout>
    </ScrollView>
    <Button android:textSize="@dimen/av_large_button_text" android:textColor="@color/send_code_button_text_color_selector" android:id="@id/send_code_button" android:background="?phoneEntrySendCodeButtonBackground" android:paddingTop="@dimen/av_button_padding" android:paddingBottom="@dimen/av_button_padding" android:layout_width="@dimen/av_inner_view_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/av_button_margin" android:layout_marginBottom="@dimen/av_button_margin" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
