2019-02-17 02:24:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
|
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<ScrollView app:layout_behavior="@string/action_bar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.ScrollView">
|
|
|
|
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
|
|
<RelativeLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toLeftOf="@id/edit_account_tag_layout_container" style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:id="@id/edit_account_username" android:hint="@string/username" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText">
|
|
|
|
<requestFocus />
|
|
|
|
</androidx.appcompat.widget.AppCompatEditText>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<FrameLayout android:id="@id/edit_account_tag_layout_container" android:layout_width="72.0sp" android:layout_alignParentRight="true" style="@style/UiKit.ViewGroup">
|
2019-02-21 02:16:48 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:gravity="left" android:id="@id/edit_account_discrim_hash" android:focusable="false" android:text="\#" android:maxLength="1" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-02-17 02:24:41 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:gravity="center_horizontal" android:id="@id/edit_account_discriminator" android:hint="@string/user_settings_edit_account_tag" android:maxLength="4" android:inputType="number" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.Form.Field.EditText.Wrap">
|
2019-02-21 02:16:48 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:id="@id/edit_account_email" android:hint="@string/email" android:inputType="textEmailAddress" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText" />
|
2019-02-17 02:24:41 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:id="@id/edit_account_password" android:hint="@string/user_settings_edit_account_password_label" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText.Password" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@id/settings_account_save" style="@style/Settings.FloatingActionButton.Save" />
|
|
|
|
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|