mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
133 lines
5.8 KiB
XML
133 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<!-- Header row start -->
|
|
<wtf.watrbx.client.components.RbxTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/ChangeEmailTitle"
|
|
android:textSize="@dimen/textSizeSignupHeader"
|
|
android:textColor="@color/RbxGray2"
|
|
android:id="@+id/fragment_change_email_header" />
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="1dp"
|
|
android:id="@+id/fragment_change_email_value"
|
|
android:visibility="gone">
|
|
<ImageView
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:src="@drawable/icon_warning"
|
|
android:layout_gravity="bottom"
|
|
android:layout_centerVertical="true"
|
|
android:id="@+id/fragment_change_email_value_icon"/>
|
|
<wtf.watrbx.client.components.RbxTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/ChangeEmailValue"
|
|
android:textColor="@color/RbxRed1"
|
|
android:layout_marginLeft="30dp"
|
|
android:paddingTop="2dp"
|
|
android:paddingRight="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:paddingLeft="7dp"
|
|
android:textSize="@dimen/emailAlert"
|
|
android:id="@+id/fragment_change_email_value_text"/>
|
|
</RelativeLayout>
|
|
<!-- Header row end -->
|
|
<wtf.watrbx.client.components.RbxEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:id="@+id/fragment_change_email_new_email"
|
|
app:hintText="@string/ChangeEmailNewEmail"
|
|
style="@style/Theme.Roblox.EditText"
|
|
app:inputType="email"/>
|
|
<wtf.watrbx.client.components.RbxEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:id="@+id/fragment_change_email_current_password"
|
|
app:hintText="@string/ChangeEmailCurrentPassword"
|
|
app:hintTextLong="@string/ChangeEmailCurrentPassword"
|
|
style="@style/Theme.Roblox.EditText"
|
|
app:inputType="password"/>
|
|
<!-- Bottom button row -->
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dp"
|
|
android:orientation="horizontal"
|
|
android:layout_weight="1.5"
|
|
android:gravity="bottom"
|
|
android:layout_gravity="top">
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="3"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_gravity="top" />
|
|
<wtf.watrbx.client.components.RbxButton
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/CancelWord"
|
|
android:id="@+id/fragment_change_email_cancel_btn"
|
|
style="@style/Theme.Roblox.Button.Flat.White"
|
|
android:textSize="@dimen/textSizeBtnCancel"
|
|
android:layout_weight="10"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_gravity="top" />
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_gravity="top" />
|
|
<wtf.watrbx.client.components.RbxProgressButton
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
app:defButtonText="@string/SettingsSaveWord"
|
|
android:id="@+id/fragment_change_email_save_btn"
|
|
style="@style/Theme.Roblox.Progress.Button.Blue"
|
|
app:buttonTextSize="@dimen/textSizeBtnSubmit"
|
|
app:progressTextSize="@dimen/textSizeBtnSubmitProgress"
|
|
android:layout_weight="10"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_gravity="top" />
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="3"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_gravity="top" />
|
|
</LinearLayout>
|
|
<!-- We've put a duplicate of the alert down here in order to keep the button size the same,
|
|
regardless of whether or not the notification is being show. -->
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="1dp"
|
|
android:id="@+id/fragment_change_email_spacer"
|
|
android:visibility="invisible">
|
|
<wtf.watrbx.client.components.RbxTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/ChangeEmailValue"
|
|
android:textColor="@color/white"
|
|
android:layout_marginLeft="30dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingRight="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:paddingLeft="7dp"
|
|
android:textSize="@dimen/emailAlert"
|
|
android:id="@+id/fragment_change_email_value_text2"/>
|
|
</RelativeLayout>
|
|
</LinearLayout> |