apkfuckery/com.discord/res/layout/widget_user_phone_add.xml

29 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android">
<ScrollView android:layout_height="fill_parent" android:layout_above="@id/user_phone_add_anchor" style="@style/UiKit.ViewGroup.ScrollView">
<LinearLayout style="@style/UiKit.Copy.Container">
<com.airbnb.lottie.LottieAnimationView android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.Anim.Verify.By.Phone.Frozen" />
<LinearLayout style="@style/UiKit.Copy">
<TextView android:text="@string/enter_phone_title" style="@style/UiKit.TextView.H1" />
<TextView android:gravity="center" android:id="@id/user_phone_add_description" android:layout_marginTop="16.0dip" android:text="@string/enter_phone_description" style="@style/UiKit.TextView" />
<TextView android:gravity="center" android:id="@id/user_phone_add_description_note" android:layout_marginTop="16.0dip" style="@style/UiKit.TextView" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout android:id="@id/user_phone_add_anchor" style="@style/UiKit.Copy.Anchor">
<LinearLayout android:baselineAligned="false" style="@style/UiKit.User.Phone.Add.Number">
<com.google.android.material.textfield.TextInputLayout android:id="@id/user_phone_add_country_code" android:layout_width="wrap_content" android:hint="@string/country_codes" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:layout_width="100.0dip" android:text="+1" style="@style/UiKit.TextInputLayout.EditText.SingleLine.CountryCode" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/user_phone_add_number" android:layout_width="0.0dip" android:hint="@string/enter_phone_title" android:layout_weight="1.0" android:layout_marginStart="8.0dip" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Phone" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.button.MaterialButton android:enabled="false" android:id="@id/user_phone_add_next" android:text="@string/next" style="@style/UiKit.User.Phone.Add.Confirm" />
</LinearLayout>
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat.Transparent">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
</com.google.android.material.appbar.AppBarLayout>
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
</RelativeLayout>