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

26 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android">
<ScrollView android:layout_gravity="top" android:layout_height="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginTop="32.0dip" android:layout_marginRight="16.0dip" android:foregroundGravity="top" style="@style/UiKit.ViewGroup.ScrollView">
<LinearLayout android:layout_gravity="top" android:orientation="vertical" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout style="@style/UiKit.Copy">
<TextView android:id="@id/user_phone_title" android:text="@string/enter_phone_title" style="@style/UiKit.TextView.H1" />
<TextView android:gravity="center" android:id="@id/user_phone_add_description_note" android:layout_marginTop="16.0dip" android:text="@string/enter_phone_description" style="@style/UiKit.TextView" />
</LinearLayout>
<LinearLayout android:baselineAligned="false" style="@style/UiKit.User.Phone.Manage.Number">
<com.google.android.material.textfield.TextInputLayout android:id="@id/user_phone_add_country_code" android:layout_width="wrap_content" android:hint="@string/country_code" 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/phone_verification_phone_label" 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.Manage.Confirm" />
<TextView android:textColor="@color/status_red_500" android:gravity="center" android:id="@id/remove_phone" android:text="@string/user_settings_account_remove_phone_number_button" style="@style/UiKit.Settings.Item" />
</LinearLayout>
</ScrollView>
<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" />
</FrameLayout>