30 lines
5.3 KiB
XML
30 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView android:orientation="vertical" android:background="@color/white" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/purple_brand" android:id="@id/change_password_header" android:background="@color/white_1" android:paddingLeft="32.0dip" android:paddingTop="16.0dip" android:paddingRight="32.0dip" android:paddingBottom="16.0dip" android:layout_width="fill_parent" android:text="@string/change_password" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
|
<View android:background="@color/white_3" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
|
<LinearLayout android:orientation="vertical" android:paddingLeft="32.0dip" android:paddingRight="32.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/grey_2" android:paddingTop="16.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:text="@string/form_label_current_password" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
|
<EditText android:textSize="11.0sp" android:textColorHint="@color/grey_1" android:id="@id/change_password_current_password_input" android:background="@android:color/transparent" android:paddingTop="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/form_label_current_password" android:singleLine="true" android:inputType="textPassword" style="@style/UiKit.TextView" />
|
|
<View android:background="@color/white_3" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
|
</LinearLayout>
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/grey_2" android:paddingTop="16.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:text="@string/form_label_new_password" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
|
<EditText android:textSize="11.0sp" android:textColorHint="@color/grey_1" android:id="@id/change_password_new_password_input" android:background="@android:color/transparent" android:paddingTop="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:hint="@string/form_label_new_password" android:singleLine="true" android:inputType="textPassword" style="@style/UiKit.TextView" />
|
|
<View android:background="@color/white_3" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
|
</LinearLayout>
|
|
<LinearLayout android:orientation="vertical" android:id="@id/change_password_mfa_container" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/grey_2" android:paddingTop="16.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:text="@string/two_fa" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
|
<EditText android:textSize="11.0sp" android:textColorHint="@color/grey_1" android:id="@id/change_password_mfa_input" android:background="@android:color/transparent" android:paddingTop="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:hint="@string/two_fa_auth_code" android:inputType="textVisiblePassword" android:imeOptions="actionDone" style="@style/UiKit.TextView" />
|
|
<View android:background="@color/white_3" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<View android:background="@color/white_3" android:layout_width="fill_parent" android:layout_height="0.25dip" />
|
|
<LinearLayout android:gravity="end" android:background="@color/white_1" android:padding="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/grey_4" android:gravity="center" android:id="@id/change_password_cancel" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="36.0dip" android:text="@string/cancel" style="@style/UiKit.TextView.Semibold" />
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/white" android:gravity="center" android:id="@id/change_password_confirm" android:background="@drawable/drawable_button_green" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="36.0dip" android:text="@string/change_password" android:singleLine="true" style="@style/UiKit.TextView.Semibold" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView> |