mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|left"
|
||||
android:text="Home"
|
||||
android:textColor="#ffffff"
|
||||
android:id="@+id/ab_title"
|
||||
android:textSize="18sp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="59dp"
|
||||
android:orientation="horizontal"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
android:focusableInTouchMode="true" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/url"
|
||||
style="@android:style/Widget.EditText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight=".10"
|
||||
android:imeOptions="actionNext"
|
||||
android:hint="@string/url" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/url_go"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight=".90"
|
||||
android:onClick="onURLGo"
|
||||
android:text="@string/url_go" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scrollbars="vertical">
|
||||
</TextView>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/activity_glview" >
|
||||
|
||||
<SurfaceView
|
||||
android:id="@+id/surfaceview"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/keyboard_layout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginBottom="60dp"
|
||||
android:gravity="top"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<wtf.watrbx.client.RbxKeyboard
|
||||
android:id="@+id/gl_edit_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:gravity="center_vertical|fill_horizontal"
|
||||
android:layout_marginTop="36dp">
|
||||
|
||||
<requestFocus />
|
||||
</wtf.watrbx.client.RbxKeyboard>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/activity_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical" android:visibility="visible">
|
||||
|
||||
<!--app:theme="@style/RobloxCompatTheme.Toolbar.Overlay"-->
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="54dp"
|
||||
android:minHeight="54dp"
|
||||
android:background="@color/RbxBlue3"
|
||||
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
app:titleTextAppearance="@style/RobloxCompatTheme.Toolbar.TitleText"/>
|
||||
|
||||
<wtf.watrbx.client.ReclickableTabHost xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/tabhost"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="500dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="#fff9f9f9"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TabWidget
|
||||
android:id="@android:id/tabs"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center|bottom"
|
||||
android:background="#fff9f9f9"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:tabStripEnabled="false"
|
||||
android:showDividers="none">
|
||||
</TabWidget>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@android:id/tabcontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentBottom="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="500dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="#fff9f9f9" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/realtabcontent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#ff9a9a9a"
|
||||
android:layout_marginBottom="60dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</wtf.watrbx.client.ReclickableTabHost>
|
||||
|
||||
</LinearLayout>
|
||||
<!--<wtf.watrbx.client.components.RbxLinearLayout-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="match_parent"-->
|
||||
<!--android:id="@+id/activity_main_overlay"-->
|
||||
<!--android:background="@color/RbxRed1">-->
|
||||
|
||||
<!--</wtf.watrbx.client.components.RbxLinearLayout>-->
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/activity_main_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:minHeight="48dp"
|
||||
android:background="@color/RbxBlue3"
|
||||
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
app:titleTextAppearance="@style/RobloxCompatTheme.Toolbar.TitleText" />
|
||||
|
||||
<wtf.watrbx.client.ReclickableTabHost xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/tabhost"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TabWidget
|
||||
android:id="@android:id/tabs"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="60dp"
|
||||
android:gravity="center|bottom"
|
||||
android:background="#fff9f9f9"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:tabStripEnabled="false"
|
||||
android:showDividers="none">
|
||||
</TabWidget>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@android:id/tabcontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_alignParentBottom="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/realtabcontent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#ff9a9a9a"
|
||||
android:layout_marginBottom="60dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</wtf.watrbx.client.ReclickableTabHost>
|
||||
|
||||
</LinearLayout>
|
||||
<!--<wtf.watrbx.client.components.RbxLinearLayout-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="match_parent"-->
|
||||
<!--android:id="@+id/activity_main_overlay"-->
|
||||
<!--android:background="@color/RbxGreen1">-->
|
||||
|
||||
<!--</wtf.watrbx.client.components.RbxLinearLayout>-->
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:minWidth="450dp"
|
||||
android:padding="24dp">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="20dp"
|
||||
android:text="@string/captchaGuidance"/>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/rbx_bg_flat_edittext">
|
||||
<android.lib.recaptcha.ReCaptcha
|
||||
android:id="@+id/recaptcha"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="gone" />
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
style="?android:attr/progressBarStyleLarge"
|
||||
android:indeterminate="true"/>
|
||||
</FrameLayout>
|
||||
<View
|
||||
android:focusable="true" android:focusableInTouchMode="true"
|
||||
android:layout_width="0px" android:layout_height="0px"/>
|
||||
<android.support.design.widget.TextInputLayout
|
||||
android:id="@+id/captcha_input_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp">
|
||||
<EditText
|
||||
android:id="@+id/captcha_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:hint="@string/captchaInputHint" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="horizontal"
|
||||
android:padding="0dp"
|
||||
android:gravity="center_horizontal">
|
||||
<Button
|
||||
android:id="@+id/verify"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="16dp"
|
||||
android:text="@string/captchaSubmit" />
|
||||
<Button
|
||||
android:id="@+id/reload"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:padding="8dp"
|
||||
android:textSize="16dp"
|
||||
android:text="@string/captchaReload" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/splash_start_container">
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/home_bkg"
|
||||
android:id="@+id/splash_background" android:orientation="horizontal"></LinearLayout>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" android:id="@+id/activity_splash">
|
||||
<Space android:layout_height="0dp" android:layout_width="match_parent" android:layout_weight="1"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="2"
|
||||
android:gravity="center_horizontal">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/roblox_logo"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="6"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
<ProgressBar
|
||||
android:id="@+id/splash_progress_bar"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
style="@android:style/Widget.ProgressBar.Small"
|
||||
android:indeterminateDrawable="@drawable/rbx_spinner_splash" />
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Loading..."
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/splashLoadingTextSize"
|
||||
android:id="@+id/splash_progress_text"
|
||||
android:gravity="top"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</LinearLayout>
|
||||
<Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="2" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" android:background="@drawable/home_bkg" android:id="@+id/activity_start">
|
||||
<Space android:layout_height="0dp" android:layout_width="match_parent" android:layout_weight="1"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="2"
|
||||
android:gravity="center_horizontal">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/roblox_logo"
|
||||
android:id="@+id/activity_start_logo"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="6"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:orientation="vertical">
|
||||
<!-- Facebook button start -->
|
||||
<RelativeLayout
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="@dimen/landingButtonHeight"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:id="@+id/activity_start_facebook_container">
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/gigya_facebook_login"
|
||||
android:text="@string/FacebookLandingLong"
|
||||
android:layout_centerInParent="true"
|
||||
style="@style/Theme.Roblox.Button.Flat.Blue.Settings"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textSize="@dimen/startFacebookLogInTextSize"/>
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/settingsIconHeight"
|
||||
android:src="@drawable/icon_facebook_white"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/gigya_facebook_icon"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/facebookIconMargin" />
|
||||
</RelativeLayout>
|
||||
<!-- Facebook button end -->
|
||||
<!-- Landing buttons start -->
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="@dimen/landingButtonHeight"
|
||||
style="@style/Theme.Roblox.Button.Flat.White.Settings"
|
||||
android:id="@+id/login_button"
|
||||
android:enabled="true"
|
||||
android:text="@string/LoginButton" />
|
||||
<Space
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp" />
|
||||
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="@dimen/landingButtonHeight"
|
||||
style="@style/Theme.Roblox.Button.Flat.White.Settings"
|
||||
android:id="@+id/signup_button"
|
||||
android:enabled="true"
|
||||
android:text="@string/SignupLower" />
|
||||
<Space
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="@dimen/landingButtonHeight"
|
||||
style="@style/Theme.Roblox.Button.Flat.White.Settings"
|
||||
android:id="@+id/play_now_button"
|
||||
android:enabled="true"
|
||||
android:text="@string/PlayNowButtonLabel" />
|
||||
<!-- Landing buttons end -->
|
||||
</LinearLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="2">
|
||||
<TextView
|
||||
android:id="@+id/tvStartFinePrint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="none"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
android:maxLines="100"
|
||||
android:gravity="center|bottom"
|
||||
android:text="@string/lorem_ipsum"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:padding="20dp"
|
||||
android:textSize="15sp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true" />
|
||||
<ImageButton
|
||||
android:id="@+id/about_button"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:scaleType="centerInside"
|
||||
android:background="@android:color/transparent"
|
||||
android:src="@drawable/about_icon_2"
|
||||
android:onClick="onAbout"
|
||||
android:contentDescription="@string/empty"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true" />
|
||||
</RelativeLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.0">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@drawable/icon_bc"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tickets_balance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/white"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textSize="21sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.0"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:src="@drawable/icon_logout"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.0" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:src="@drawable/icon_robux"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/robux_balance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/white"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textSize="21sp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:visibility="gone"
|
||||
android:text="fdsa" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,109 @@
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_about_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray3"
|
||||
android:orientation="vertical" >
|
||||
<!-- hack to avoid default focus bringing up keyboard -->
|
||||
<View
|
||||
android:layout_width="0px"
|
||||
android:layout_height="0px"
|
||||
android:layout_weight="0"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true" />
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:orientation="horizontal" >
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fragment_about_dialog_bg"
|
||||
android:layout_width="800dp"
|
||||
android:layout_height="308dp"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:orientation="vertical"
|
||||
android:padding="15dp" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:contentDescription="@string/empty"
|
||||
android:gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/roblox_logo" />
|
||||
<TextView
|
||||
android:ellipsize="none"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0"
|
||||
android:gravity="center"
|
||||
android:text="@string/LegalText"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="15sp" />
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="10dp"
|
||||
android:layout_weight="1" />
|
||||
<wtf.watrbx.client.AutoResizeTextView
|
||||
android:id="@+id/fragment_about_terms_licenscing_privacy"
|
||||
android:ellipsize="none"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<wtf.watrbx.client.AutoResizeTextView
|
||||
android:id="@+id/fragment_about_baseURL"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="none"
|
||||
android:gravity="center"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="10dp"
|
||||
android:layout_weight="1" />
|
||||
<wtf.watrbx.client.AutoResizeTextView
|
||||
android:id="@+id/fragment_about_user_agent"
|
||||
android:ellipsize="none"
|
||||
android:singleLine="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:textIsSelectable="true"
|
||||
android:text="@string/lorem_ipsum"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="30sp" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
<!-- bottom row -->
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,76 @@
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_about_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray3"
|
||||
android:padding="10dp"
|
||||
android:orientation="vertical" >
|
||||
<!-- hack to avoid default focus bringing up keyboard -->
|
||||
<View
|
||||
android:layout_width="0px"
|
||||
android:layout_height="0px"
|
||||
android:layout_weight="0"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.94"
|
||||
android:contentDescription="@string/empty"
|
||||
android:gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/roblox_logo" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:ellipsize="none"
|
||||
android:gravity="center"
|
||||
android:text="@string/LegalText"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.41" />
|
||||
|
||||
<wtf.watrbx.client.AutoResizeTextView
|
||||
android:id="@+id/fragment_about_terms_licenscing_privacy"
|
||||
android:ellipsize="none"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<wtf.watrbx.client.AutoResizeTextView
|
||||
android:id="@+id/fragment_about_baseURL"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="none"
|
||||
android:gravity="center"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fragment_about_user_agent"
|
||||
android:ellipsize="none"
|
||||
android:singleLine="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_weight="0.2"
|
||||
android:textIsSelectable="true"
|
||||
android:text="@string/lorem_ipsum"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="12sp" />
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,158 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_banned_account_background"
|
||||
android:background="@color/shell_dialog_background">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="750dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_banned_account_header"
|
||||
android:background="@color/shell_dialog_bar"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingTop="5dp">
|
||||
<TextView
|
||||
android:id="@+id/tvCloseButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/BannedTitle"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center" />
|
||||
<TextView
|
||||
android:id="@+id/closeSpacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp"
|
||||
android:id="@+id/fragment_banned_account_table">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:text="PUNISHMENT_TYPE"
|
||||
android:id="@+id/tvPunishmentType"
|
||||
android:textColor="@color/black"
|
||||
android:textStyle="bold" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="5dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedFirstLine"
|
||||
android:id="@+id/tvFirstLine"
|
||||
android:textColor="@color/black"
|
||||
android:phoneNumber="true"
|
||||
android:singleLine="false"
|
||||
android:paddingRight="100dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="15dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedReviewed"
|
||||
android:id="@+id/tvReviewed"
|
||||
android:textColor="@color/black"
|
||||
android:paddingRight="100dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="3dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedModeratorNote"
|
||||
android:id="@+id/tvModeratorNote"
|
||||
android:textColor="@color/black"
|
||||
android:paddingRight="100dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedGuidelines"
|
||||
android:id="@+id/tvCommunityGuidelines"
|
||||
android:textColor="@color/black"
|
||||
android:singleLine="false"
|
||||
android:textColorLink="@color/RbxBlue1"
|
||||
android:paddingRight="50dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedLengthAndEndDate"
|
||||
android:id="@+id/tvBannedLength"
|
||||
android:textColor="@color/black"
|
||||
android:textColorLink="@color/RbxBlue1"
|
||||
android:paddingRight="100dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/BannedAppeals"
|
||||
android:id="@+id/tvAppeals"
|
||||
android:textColor="@color/black"
|
||||
android:textColorLink="@color/RbxBlue1"
|
||||
android:paddingRight="100dp" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_email_background"
|
||||
android:background="@color/shell_dialog_background">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_email_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsChangeEmail"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/change_email_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_email_table"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_email_current_password_row">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangeEmailNewEmail"
|
||||
android:id="@+id/change_email_label"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:layout_weight="3"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress"
|
||||
android:ems="10"
|
||||
android:id="@+id/textNewEmail"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_new_email_row" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangeEmailCurrentPassword"
|
||||
android:id="@+id/textView5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:layout_weight="3"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textCurrentPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp" />
|
||||
</TableRow>
|
||||
|
||||
<Button
|
||||
style="@style/LoginButtonTheme"
|
||||
android:id="@+id/btnChangeEmail"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="150dp"
|
||||
android:layout_marginLeft="150dp"
|
||||
android:textSize="25sp"
|
||||
android:text="@string/ChangeEmailShort"
|
||||
android:layout_marginTop="20dp" />
|
||||
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,133 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout 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"
|
||||
android:background="@color/RbxGray5"
|
||||
android:id="@+id/fragment_change_email_background"
|
||||
android:weightSum="10">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_change_email_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10">
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_email_background"
|
||||
android:background="@color/shell_dialog_background">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_email_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsChangeEmail"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/change_email_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_email_table"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_email_current_password_row">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangeEmailNewEmail"
|
||||
android:inputType="textEmailAddress"
|
||||
android:id="@+id/textView4"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="left"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="344dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress"
|
||||
android:ems="10"
|
||||
android:id="@+id/textNewEmail"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:hint="@string/ChangeEmailNewEmail" />
|
||||
</LinearLayout>
|
||||
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_new_email_row" >
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="SPACER"
|
||||
android:id="@+id/textView5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="left"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textCurrentPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangeEmailCurrentPassword" />
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangeEmailCurrentPassword"
|
||||
android:id="@+id/textView7"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="left"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<Button
|
||||
style="@style/LoginButtonTheme"
|
||||
android:id="@+id/btnChangeEmail"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:text="@string/ChangeEmailShort"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingRight="50dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_marginLeft="-50dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_background"
|
||||
android:background="@color/shell_dialog_background">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvSettingsTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_table"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_old_password_row">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordOldPassword"
|
||||
android:id="@+id/textView4"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:layout_weight="3"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textOldPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_new_password_row" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordNewPassword"
|
||||
android:id="@+id/textView5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:layout_weight="3"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textNewPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_confirm_row" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordConfirmPassword"
|
||||
android:id="@+id/textView6"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:layout_weight="3"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textConfirmPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_weight="7"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp" />
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
style="@style/LoginButtonTheme"
|
||||
android:id="@+id/btnChangePassword"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="25sp"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="20dp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,122 @@
|
||||
<?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/ChangePasswordTitle"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:gravity="bottom"
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/fragment_change_password_header" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="1dp"
|
||||
android:id="@+id/fragment_change_password_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_password_value_icon"
|
||||
android:visibility="gone"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordValue"
|
||||
android:textColor="@color/black"
|
||||
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_password_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_password_old_password"
|
||||
app:hintText="@string/ChangePasswordOldPassword"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
app:inputType="password"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/fragment_change_password_new_password"
|
||||
app:hintText="@string/ChangePasswordNewPassword"
|
||||
app:hintTextLong="Password (4 letters and 2 numbers min.)"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
app:inputType="password"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/fragment_change_password_confirm_password"
|
||||
app:hintText="@string/ChangePasswordConfirmPassword"
|
||||
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_password_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_password_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>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout 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"
|
||||
android:background="@color/RbxGray5"
|
||||
android:id="@+id/fragment_change_password_background"
|
||||
android:weightSum="10">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_change_password_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10">
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_background"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:windowSoftInputMode="stateAlwaysVisible">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvSettingsTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_table"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_old_password_row"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordOldPassword"
|
||||
android:id="@+id/textView4"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="right"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="364dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textOldPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordOldPassword" />
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_new_password_row"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordNewPassword"
|
||||
android:id="@+id/textView5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="right"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textNewPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordNewPassword" />
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_confirm_row"
|
||||
android:layout_marginLeft="30dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordConfirmPassword"
|
||||
android:id="@+id/textView6"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textConfirmPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordConfirmPassword" />
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="20dp">
|
||||
|
||||
<Button
|
||||
style="@style/LoginButtonTheme"
|
||||
android:id="@+id/btnChangePassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_background"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:windowSoftInputMode="stateAlwaysVisible">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_change_password_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvSettingsTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_table"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_old_password_row"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordOldPassword"
|
||||
android:id="@+id/textView4"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="right"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="364dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textOldPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordOldPassword" />
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_new_password_row"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordNewPassword"
|
||||
android:id="@+id/textView5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="right"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textNewPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordNewPassword" />
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_change_password_confirm_row"
|
||||
android:layout_marginLeft="30dp">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ChangePasswordConfirmPassword"
|
||||
android:id="@+id/textView6"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeLabel"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<EditText
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:inputType="textPassword"
|
||||
android:ems="10"
|
||||
android:id="@+id/textConfirmPassword"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:hint="@string/ChangePasswordConfirmPassword" />
|
||||
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="20dp">
|
||||
|
||||
<Button
|
||||
style="@style/LoginButtonTheme"
|
||||
android:id="@+id/btnChangePassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,28 @@
|
||||
<wtf.watrbx.client.components.RbxRelativeLayout
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/fragment_create_username_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray5"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_create_username_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10">
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_create_username_overlay"
|
||||
android:gravity="center">
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
</wtf.watrbx.client.components.RbxRelativeLayout>
|
||||
@@ -0,0 +1,112 @@
|
||||
<?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">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:id="@+id/fragment_create_username_header"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Theme.Roblox.StandardFontLight"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:textSize="@dimen/textSizeCreateUsernameHeader"
|
||||
android:text="You're almost done!"
|
||||
android:layout_gravity="center" />
|
||||
<LinearLayout
|
||||
android:layout_height="0dp"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="3"
|
||||
android:gravity="center">
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/fragment_create_username_profile_image"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/home_bg_1"
|
||||
app:border_width="1dp"
|
||||
app:border_color="@color/RbxGray3"/>
|
||||
</LinearLayout>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Theme.Roblox.StandardFontLight"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:textSize="@dimen/textSizeCreateUsernameChoose"
|
||||
android:text="@string/CreateUsernameChooseHint"
|
||||
android:layout_gravity="center"
|
||||
android:paddingTop="5dp"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.5"
|
||||
app:hintText="Username"
|
||||
app:hintTextLong="Username (6-20 characters, no spaces)"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_create_username_username"/>
|
||||
<!--<Space android:layout_height="0dp"-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_weight="0.1"/>-->
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1"
|
||||
android:gravity="bottom"
|
||||
android:layout_gravity="bottom">
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/CancelWord"
|
||||
android:id="@+id/fragment_create_username_cancel_btn"
|
||||
style="@style/Theme.Roblox.Button.Flat.White"
|
||||
android:textSize="@dimen/textSizeBtnCancel"
|
||||
android:layout_weight="10"
|
||||
android:layout_gravity="bottom" />
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
<wtf.watrbx.client.components.RbxProgressButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
app:defButtonText="@string/SignupCreateUsername"
|
||||
android:id="@+id/fragment_create_username_create_button"
|
||||
style="@style/Theme.Roblox.Progress.Button.Blue"
|
||||
app:buttonTextSize="@dimen/textSizeBtnSubmit"
|
||||
app:progressTextSize="@dimen/textSizeBtnSubmitProgress"
|
||||
android:layout_weight="10"
|
||||
android:layout_gravity="bottom" />
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
</LinearLayout>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CreateUsernameExistingRbx"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
style="@style/Theme.Roblox.StandardFontItalic"
|
||||
android:textSize="@dimen/emailAlert"
|
||||
android:textColor="@color/RbxGray3"/>
|
||||
<!--<Space android:layout_height="0dp"-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_weight="1"/>-->
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,124 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_login"
|
||||
android:layout_width="680dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:orientation="vertical"
|
||||
android:minWidth="500dp"
|
||||
android:minHeight="200dp">
|
||||
|
||||
<!-- top bar -->
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/shell_dialog_bar"
|
||||
android:orientation="horizontal"
|
||||
android:padding="15dp" >
|
||||
<TextView
|
||||
android:id="@+id/fragment_login_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/LoginWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/empty" />
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:stretchColumns="1"
|
||||
android:padding="20dp">
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/UsernameWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_login_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="text|textNoSuggestions"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
style="@style/LoginEditTextTheme" />
|
||||
</TableRow>
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/PasswordWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_login_password"
|
||||
style="@style/LoginEditTextTheme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:imeOptions="actionGo"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint" />
|
||||
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:visibility="invisible">
|
||||
|
||||
<Space
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/fragment_remember_password_checkbox"
|
||||
style="@style/LoginCheckboxTheme"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/empty"
|
||||
android:text="@string/RememberPassword"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:checked="false" />
|
||||
|
||||
<Space
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp" />
|
||||
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/fragment_login_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="150dp"
|
||||
android:layout_marginLeft="150dp"
|
||||
android:textSize="25sp"
|
||||
android:text="@string/LoginWord"
|
||||
style="@style/LoginButtonTheme" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,133 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<!-- Header row start -->
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight=".2"
|
||||
android:gravity="center_vertical">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/LoginWord"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:gravity="bottom"
|
||||
android:layout_weight="2"/>
|
||||
</LinearLayout>
|
||||
<!-- Header row end -->
|
||||
<!-- This is a dummy view that absorbs the focus after we hit the
|
||||
'Done' button on the keyboard while in the Email field. This view must
|
||||
be immediately before the EditText we want to STOP from gaining focus. -->
|
||||
<View
|
||||
android:focusable="true" android:focusableInTouchMode="true"
|
||||
android:layout_width="0px" android:layout_height="0px"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Username"
|
||||
app:hintTextLong="Username (6-20 characters, no spaces)"
|
||||
app:errorText="Username contains invalid characters"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_login_username"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_weight="0.4"
|
||||
android:contentDescription="loginUsername"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Password"
|
||||
app:hintTextLong="Password (4 letters and 2 numbers min.)"
|
||||
app:inputType="password"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_login_password"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_weight="0.4"
|
||||
android:contentDescription="loginPassword"/>
|
||||
<!-- Bottom button row -->
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.2"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.5"
|
||||
android:orientation="horizontal">
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/CancelWord"
|
||||
android:id="@+id/fragment_login_btn_cancel"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.Button.Flat.White"
|
||||
android:textSize="@dimen/textSizeBtnCancel"
|
||||
android:layout_weight="10"
|
||||
android:contentDescription="loginCancelButton"/>
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"/>
|
||||
<wtf.watrbx.client.components.RbxProgressButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
app:defButtonText="@string/LoginWordLower"
|
||||
android:id="@+id/fragment_login_btn_login"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.Progress.Button.Blue"
|
||||
app:buttonTextSize="@dimen/textSizeBtnSubmit"
|
||||
app:progressTextSize="@dimen/textSizeBtnSubmitProgress"
|
||||
android:layout_weight="10"
|
||||
android:contentDescription="loginLoginButton"/>
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.85"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="10dp">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="Not a member?"
|
||||
android:textSize="@dimen/textSizeLoginFinePrint"
|
||||
android:gravity="center_vertical|right" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Sign Up"
|
||||
android:id="@+id/fragment_login_btn_signup"
|
||||
android:textColor="@color/RbxBlue2"
|
||||
android:background="@android:color/transparent"
|
||||
android:textSize="@dimen/textSizeLoginFinePrint"
|
||||
android:gravity="left"
|
||||
android:paddingLeft="4dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!--<Space-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="0dp" android:layout_weight="0.5" />-->
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="6"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/fragment_login_inner_background"
|
||||
android:layout_marginBottom="1dp">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_login_card_inner_container" />
|
||||
</LinearLayout>
|
||||
<Space android:layout_height="0dp" android:layout_width="match_parent" android:layout_weight="3.5" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Don't forget that there's a sw500dp version of this file! -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="0dp" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:orientation="vertical" android:layout_weight="4.8">
|
||||
<Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="2" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="6"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/rbx_bg_card_shadow"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/fragment_login_inner_background"
|
||||
android:layout_marginBottom="1dp">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_login_card_inner_container"/>
|
||||
</LinearLayout>
|
||||
<Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="2"/>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_login_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray5"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_login_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10"> <!-- Controls the width of the card -->
|
||||
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,133 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_login_phone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:weightSum="6"
|
||||
android:background="#a0000000">
|
||||
|
||||
<!-- top bar -->
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:id="@+id/fragment_login_background"
|
||||
android:focusable="false">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/shell_dialog_bar"
|
||||
android:orientation="horizontal"
|
||||
android:padding="5dp" >
|
||||
<TextView
|
||||
android:id="@+id/fragment_login_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="18sp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/LoginWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp" />
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:stretchColumns="1" >
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/UsernameWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_login_username"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="text|textNoSuggestions"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:width="0dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/PasswordWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_login_password"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:width="0dp" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:visibility="invisible">
|
||||
|
||||
<Space
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp" />
|
||||
|
||||
<CheckBox
|
||||
style="@style/LoginCheckboxTheme"
|
||||
android:id="@+id/fragment_remember_password_checkbox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/empty"
|
||||
android:text="@string/RememberPassword"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:checked="false" />
|
||||
|
||||
<Space
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp" />
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/fragment_login_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="@string/LoginWord"
|
||||
android:textSize="15sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_settings_background"
|
||||
android:background="@color/shell_dialog_background">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragment_settings_header"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@color/shell_dialog_bar">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSettingsClose"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CloseWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="5dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SettingsTitle"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:singleLine="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvSettingsTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_dialog_bar"
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="700dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_settings_table"
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingTop="25dp"
|
||||
android:paddingBottom="50dp">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_settings_row_password"
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
android:id="@+id/textView2"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:layout_weight="9"
|
||||
android:textStyle="bold"
|
||||
android:background="@drawable/background_row_button"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/imageView"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="20dp"
|
||||
android:src="@drawable/right_arrow"
|
||||
android:background="@drawable/background_row_button"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/fragment_settings_row_email">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/SettingsChangeEmail"
|
||||
android:id="@+id/textView3"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:layout_weight="9"
|
||||
android:textStyle="bold"
|
||||
android:background="@drawable/background_row_button" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/imageView4"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="20dp"
|
||||
android:src="@drawable/right_arrow" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight=".7"
|
||||
android:text="@string/SettingsTitle"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:textColor="@color/black"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textSize="@dimen/textSizeSignupHeader" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="10"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="5dp"
|
||||
android:id="@+id/fragment_settings_facebook_container">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="8"
|
||||
android:gravity="center">
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:id="@+id/fragment_settings_facebook_btn"
|
||||
android:text="Connect"
|
||||
android:layout_centerInParent="true"
|
||||
style="@style/Theme.Roblox.Button.Flat.Blue.Settings" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/settingsIconHeight"
|
||||
android:src="@drawable/icon_facebook_white"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/gigya_facebook_icon"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/facebookIconMargin" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="10"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="5dp">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="8"
|
||||
android:gravity="center">
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:id="@+id/fragment_settings_password_btn"
|
||||
android:text="@string/SettingsChangePassword"
|
||||
style="@style/Theme.Roblox.Button.Flat.White.Settings"
|
||||
android:layout_centerVertical="true" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/alertIconHeight"
|
||||
android:src="@drawable/icon_warning"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/fragment_settings_password_alert"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/settingsAlertIconLeftMargin" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:weightSum="10"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="5dp">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="8"
|
||||
android:gravity="center">
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:id="@+id/fragment_settings_email_btn"
|
||||
android:text="@string/SettingsChangeEmail"
|
||||
style="@style/Theme.Roblox.Button.Flat.White.Settings"
|
||||
android:layout_centerVertical="true" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/alertIconHeight"
|
||||
android:src="@drawable/icon_warning"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="@dimen/settingsAlertIconLeftMargin"
|
||||
android:visibility="visible"
|
||||
android:id="@+id/fragment_settings_email_alert"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.5"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="bottom|center_horizontal"
|
||||
android:weightSum="10"
|
||||
android:layout_marginTop="10dp">
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/CloseWord"
|
||||
android:id="@+id/fragment_settings_cancel_btn"
|
||||
style="@style/Theme.Roblox.Button.Flat.White"
|
||||
android:textSize="@dimen/textSizeBtnCancel"
|
||||
android:layout_weight="4"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_gravity="center"
|
||||
android:padding="10dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:weightSum="1"
|
||||
android:background="@color/white">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:isScrollContainer="true"
|
||||
android:layout_gravity="bottom">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/white"
|
||||
android:id="@+id/top" >
|
||||
|
||||
<wtf.watrbx.client.components.RbxGenderPicker
|
||||
android:layout_width="375dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="100dp"
|
||||
style="@style/Theme.Roblox.StandardFontRegular" />
|
||||
|
||||
<wtf.watrbx.client.components.RbxBirthdayPicker
|
||||
android:layout_width="375dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
style="@style/Theme.Roblox.StandardFontLight" />
|
||||
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="Test Button"
|
||||
android:id="@+id/button"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="100dp"
|
||||
style="@style/Theme.Roblox.Button.Flat.White" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="100dp"
|
||||
android:text="Longer Test Button"
|
||||
android:id="@+id/button2"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.Button.Flat.Blue"
|
||||
android:layout_marginTop="10dp" />
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
custom:hintText="New password"
|
||||
custom:errorText="Passwords don't match"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:layout_marginTop="10dp" />
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
custom:hintText="Username"
|
||||
custom:errorText="Username contains invalid characters"
|
||||
custom:hintTextLong="Username (6-20 characters, no spaces)"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:layout_marginTop="30dp"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="Longer Test Button"
|
||||
android:id="@+id/button3"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.Button.Flat.Blue"
|
||||
android:layout_marginTop="10dp" />
|
||||
<!--android:fontFamily="sans-serif-light"-->
|
||||
<!--android:textColor="@color/RbxGray3"-->
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_settings_background"
|
||||
android:background="@color/RbxGray5"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="20dp">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_settings_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10">
|
||||
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,219 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_sign_up_background"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<!-- top bar -->
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/shell_dialog_bar"
|
||||
android:orientation="horizontal"
|
||||
android:padding="15dp" >
|
||||
<TextView
|
||||
android:id="@+id/fragment_sign_up_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SignupWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp"
|
||||
android:gravity="center" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fragment_sign_up_login"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/LoginButton"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="20sp"
|
||||
android:gravity="right"
|
||||
android:layout_gravity="right" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:stretchColumns="1"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingTop="20dp"
|
||||
android:paddingRight="20dp">
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/UsernameWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:hint="@string/UsernameRequirements"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="text|textNoSuggestions"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
style="@style/LoginEditTextTheme" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_username_checked"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/PasswordWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_password"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:hint="@string/PasswordRequirements"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
style="@style/LoginEditTextTheme" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_password_checked"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/VerifyWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_password_verify"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:hint="@string/VerifyRequirements"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
style="@style/LoginEditTextTheme" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_password_verify_checked"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/GenderWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<Spinner
|
||||
android:id="@+id/fragment_sign_up_gender_spinner"
|
||||
android:layout_marginRight="50dp"
|
||||
android:textSize="20sp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Theme.Roblox.DefaultSpinnerItem"
|
||||
android:background="@drawable/white_button"
|
||||
android:layout_span="2"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginTop="5dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/BirthdayWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp" />
|
||||
<Button
|
||||
android:id="@+id/fragment_sign_up_birthday"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/textSizeButton"
|
||||
android:text="@string/SelectBirthday"
|
||||
style="@style/LoginButtonTheme"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginTop="5dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/EmailWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="20sp"
|
||||
android:id="@+id/signup_email_label" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:textSize="20sp"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textEmailAddress"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
style="@style/LoginEditTextTheme" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_email_checked"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
<Button
|
||||
android:id="@+id/fragment_sign_up_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="150dp"
|
||||
android:layout_marginLeft="150dp"
|
||||
android:textSize="@dimen/textSizeButtonImportant"
|
||||
android:text="@string/SignupWord"
|
||||
style="@style/LoginButtonTheme" />
|
||||
<TextView
|
||||
android:id="@+id/fragment_sign_up_agreement"
|
||||
android:layout_width="750dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="none"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
android:maxLines="100"
|
||||
android:gravity="center"
|
||||
android:text="@string/lorem_ipsum"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:padding="20dp"
|
||||
android:textSize="15sp"/>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,169 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:weightSum="7.5">
|
||||
<!-- Header row start -->
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight=".5"
|
||||
android:gravity="bottom"
|
||||
android:layout_marginTop="2dp">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/SignupWord"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:gravity="bottom"
|
||||
android:layout_weight="2"
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/fragment_signup_header_txt" />
|
||||
<!--style="@style/Theme.Roblox.StandardFont"-->
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/LoginWord"
|
||||
android:textColor="@color/RbxBlue2"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_weight=".5"
|
||||
android:gravity="center_vertical|right"
|
||||
android:textSize="@dimen/textSizeSignupLogin"
|
||||
android:id="@+id/fragment_sign_up_login_btn"
|
||||
android:paddingRight="1dp"
|
||||
android:layout_gravity="bottom" />
|
||||
</LinearLayout>
|
||||
<!-- Header row end -->
|
||||
<!-- This is a dummy view that absorbs the focus after we hit the
|
||||
'Done' button on the keyboard while in the Email field. This view must
|
||||
be immediately before the EditText we want to STOP from gaining focus. -->
|
||||
<View
|
||||
android:focusable="true" android:focusableInTouchMode="true"
|
||||
android:layout_width="0px" android:layout_height="0px"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Username"
|
||||
app:hintTextLong="Username (6-20 characters, no spaces)"
|
||||
app:errorText="Username contains invalid characters"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_sign_up_username"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="signupUsername"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Password"
|
||||
app:hintTextLong="Password (4 letters and 2 numbers min.)"
|
||||
app:inputType="password"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_sign_up_password"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="signupPassword"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Confirm password"
|
||||
app:errorText="Passwords do not match"
|
||||
app:inputType="password"
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_sign_up_password_verify"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="signupPasswordConfirm"/>
|
||||
<wtf.watrbx.client.components.RbxEditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
app:hintText="Email"
|
||||
app:errorText="This is an invalid email."
|
||||
style="@style/Theme.Roblox.EditText"
|
||||
android:id="@+id/fragment_sign_up_email"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_weight="1"
|
||||
app:inputType="email"
|
||||
android:contentDescription="signupEmail"/>
|
||||
<wtf.watrbx.client.components.RbxGenderPicker
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.StandardFontLight"
|
||||
android:id="@+id/fragment_sign_up_gender_picker"
|
||||
android:layout_weight=".65" />
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight=".3" />
|
||||
<wtf.watrbx.client.components.RbxBirthdayPicker
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_gravity="center"
|
||||
style="@style/Theme.Roblox.StandardFontLight"
|
||||
android:id="@+id/fragment_sign_up_birthday_picker"
|
||||
android:layout_weight=".65" />
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight=".3" />
|
||||
<!-- Bottom button row -->
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_weight="1"
|
||||
android:gravity="bottom"
|
||||
android:layout_gravity="bottom">
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/CancelWord"
|
||||
android:id="@+id/fragment_sign_up_cancel_btn"
|
||||
style="@style/Theme.Roblox.Button.Flat.White"
|
||||
android:textSize="@dimen/textSizeBtnCancel"
|
||||
android:layout_weight="10"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:contentDescription="signupCancelButton"/>
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
<wtf.watrbx.client.components.RbxProgressButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
app:defButtonText="@string/SignupLower"
|
||||
android:id="@+id/fragment_sign_up_submit_btn"
|
||||
style="@style/Theme.Roblox.Progress.Button.Blue"
|
||||
app:buttonTextSize="@dimen/textSizeBtnSubmit"
|
||||
app:progressTextSize="@dimen/textSizeBtnSubmitProgress"
|
||||
android:layout_weight="10"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:contentDescription="signupSubmitButton"/>
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_gravity="bottom" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="10"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingRight="15dp"
|
||||
android:id="@+id/fragment_sign_up_inner_background"
|
||||
android:layout_marginBottom="1dp">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_sign_up_card_inner_container" />
|
||||
</LinearLayout>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:id="@+id/fragment_sign_up_agreement"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="none"
|
||||
android:gravity="left"
|
||||
android:maxLines="100"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="@dimen/textSizeSignupFinePrint"
|
||||
android:layout_gravity="top"
|
||||
android:autoText="true"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingLeft="1dp"
|
||||
style="@style/Theme.Roblox.StandardFontLight" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,217 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_sign_up_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/shell_dialog_background"
|
||||
android:orientation="vertical" >
|
||||
<!-- hack to avoid default focus bringing up keyboard -->
|
||||
<!-- top bar -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/shell_dialog_bar"
|
||||
android:orientation="horizontal"
|
||||
android:padding="5dp" >
|
||||
<TextView
|
||||
android:id="@+id/fragment_sign_up_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/CancelWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/SignupWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="18sp"
|
||||
android:textAlignment="center"
|
||||
android:gravity="center" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/LoginWord"
|
||||
android:textColor="@color/shell_text_link"
|
||||
android:textSize="18sp"
|
||||
android:id="@+id/fragment_sign_up_login"
|
||||
android:gravity="right" />
|
||||
</LinearLayout>
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:stretchColumns="1" >
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/UsernameWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_username"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:hint="@string/UsernameRequirementsShort"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="text|textNoSuggestions"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:width="0dp" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_username_checked"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/PasswordWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_password"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:hint="@string/PasswordRequirementsShort"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:width="0dp" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_password_checked"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/VerifyWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_password_verify"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:hint="@string/VerifyRequirements"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textPassword"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:width="0dp" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_password_verify_checked"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/GenderWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<Spinner
|
||||
android:id="@+id/fragment_sign_up_gender_spinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textSize="16sp"
|
||||
android:background="@drawable/white_button" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/BirthdayWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
<Button
|
||||
android:id="@+id/fragment_sign_up_birthday"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:text="@string/SelectBirthday"
|
||||
android:textSize="@dimen/textSizeButton" />
|
||||
</TableRow>
|
||||
<TableRow android:layout_marginBottom="4dp">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/EmailWord"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp"
|
||||
android:id="@+id/signup_email_label" />
|
||||
<EditText
|
||||
android:id="@+id/fragment_sign_up_email"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textEmailAddress"
|
||||
android:text="@string/empty"
|
||||
android:textColorHint="@color/shell_text_hint"
|
||||
android:textSize="16sp"
|
||||
android:width="0dp" />
|
||||
<ImageView
|
||||
android:id="@+id/fragment_sign_up_email_checked"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/empty" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
<Button
|
||||
android:id="@+id/fragment_sign_up_button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="@string/SignupWord"
|
||||
android:textSize="@dimen/textSizeButtonImportant" />
|
||||
<TextView
|
||||
android:id="@+id/fragment_sign_up_agreement"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="none"
|
||||
android:gravity="center"
|
||||
android:maxLines="100"
|
||||
android:padding="20dp"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
android:text="@string/lorem_ipsum_xl"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,17 @@
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fragment_sign_up_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray5"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fragment_sign_up_swap_container"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:weightSum="10">
|
||||
|
||||
</LinearLayout>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow_red"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/CatalogWord"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ValuePageCatalog"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxBlue3"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/RbxGray5"
|
||||
android:weightSum="10"
|
||||
android:id="@+id/fragment_value_card_container">
|
||||
|
||||
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/holo_purple"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="ERROR"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="This is the default card. You must set mPage in via the pageType key in the fragment\'s args."
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxBlue1"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow_blue_light"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/FriendsWord"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ValuePageFriends"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxBlue3"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow_blue"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/HomeWord"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ValuePageHome"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxBlue1"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow_blue_light"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/MessagesWord"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ValuePageMessages"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxBlue3"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/rbx_bg_card_shadow_red"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/fragment_value_home_card">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/MoreWord"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupHeader"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"
|
||||
android:layout_marginBottom="10dp"/>
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ValuePageMore"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/textSizeSignupLogin"/>
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/SignupWordSpace"
|
||||
android:background="@color/RbxRed1"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/fragment_value_btn_signup"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
@@ -0,0 +1,32 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/fragment_video"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".MyActivity$VideoFragment">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight=".5"
|
||||
android:background="#000000"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/videoContainer">
|
||||
|
||||
<wtf.watrbx.ima.AdPlayer
|
||||
android:id="@+id/videoPlayerWithAdPlayback"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<wtf.watrbx.ima.VideoPlayerImpl
|
||||
android:id="@+id/videoPlayer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true" />
|
||||
<FrameLayout
|
||||
android:id="@+id/adUiContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</wtf.watrbx.ima.AdPlayer>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,42 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/fragment_webview"
|
||||
android:minWidth="450dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- hack to avoid default focus bringing up keyboard -->
|
||||
<View
|
||||
android:id="@+id/focusable_view"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="0px"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/webview_urlbar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@color/webview_url"
|
||||
android:ellipsize="end"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/shell_text_normal"
|
||||
android:textIsSelectable="true"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<wtf.watrbx.client.components.CustomSwipeRefreshLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/swipe_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<wtf.watrbx.hybrid.RBHybridWebView
|
||||
android:id="@+id/web_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
</wtf.watrbx.client.components.CustomSwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/rbxBirthdayContainer"
|
||||
android:background="@drawable/rbx_bg_gender_full">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/BirthdayWord"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:textSize="20sp"
|
||||
android:id="@+id/rbxBirthdayText"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/stdHintLeftIndent"
|
||||
android:layout_weight="4"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3">
|
||||
<!--kinda hacky, but this lets us draw a vertical line-->
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/RbxGray4" />
|
||||
<Spinner
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/rbxBirthdayMonthSpinner"
|
||||
android:spinnerMode="dropdown"
|
||||
android:layout_margin="3dp"
|
||||
android:dropDownVerticalOffset="0.1dp"
|
||||
style="@style/Theme.Roblox.DefaultSpinner"
|
||||
android:popupBackground="@drawable/rbx_bg_spinner_outline"
|
||||
android:contentDescription="rbxBirthdayMonthSpinner"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="2">
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/RbxGray4" />
|
||||
<Spinner
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/rbxBirthdayDaySpinner"
|
||||
android:spinnerMode="dropdown"
|
||||
android:layout_margin="3dp"
|
||||
android:dropDownVerticalOffset="0.1dp"
|
||||
style="@style/Theme.Roblox.DefaultSpinner"
|
||||
android:popupBackground="@drawable/rbx_bg_spinner_outline"
|
||||
android:contentDescription="rbxBirthdayDaySpinner"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="3">
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/RbxGray4" />
|
||||
<Spinner
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/rbxBirthdayYearSpinner"
|
||||
android:spinnerMode="dropdown"
|
||||
android:layout_margin="3dp"
|
||||
android:dropDownVerticalOffset="0.1dp"
|
||||
style="@style/Theme.Roblox.DefaultSpinner"
|
||||
android:popupBackground="@drawable/rbx_bg_spinner_outline"
|
||||
android:contentDescription="rbxBirthdayYearSpinner"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent" >
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:id="@+id/rbxProgressBtnRbxBtn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/rbxProgressBtnProgressContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/btnFlatStdPaddingTopBtm"
|
||||
android:paddingBottom="@dimen/btnFlatStdPaddingTopBtm"
|
||||
android:paddingLeft="@dimen/btnFlatStdPaddingLeftRight"
|
||||
android:paddingRight="@dimen/btnFlatStdPaddingLeftRight">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
<ProgressBar
|
||||
android:id="@+id/rbxProgressBtnProgressBar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
style="@android:style/Widget.ProgressBar.Small"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:indeterminateDrawable="@drawable/rbx_bg_progress_btn_spinner"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:id="@+id/rbxProgressBtnProgressText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="10"
|
||||
android:singleLine="false"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/tableWrapper"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="55"
|
||||
android:id="@+id/rbxEditTextTextBox"
|
||||
android:background="@drawable/rbx_bg_flat_edittext"
|
||||
android:layout_marginTop="1dp"
|
||||
android:singleLine="true"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:textSize="@dimen/rbxEditTextInternal"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="25"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="Floating Error Label"
|
||||
android:id="@+id/rbxEditTextBottomLabel"
|
||||
android:layout_marginLeft="2dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:textSize="@dimen/rbxEditTextHint"/>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/rbxGenderContainer"
|
||||
android:background="@drawable/rbx_bg_gender_full">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="4">
|
||||
<!--android:background="@drawable/rbx_bg_gender_left">-->
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/GenderWord"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:textSize="20sp"
|
||||
android:id="@+id/rbxGenderText"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/stdHintLeftIndent"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="4">
|
||||
<!--kinda hacky, but this lets us draw a vertical line-->
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/RbxGray4" />
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/icon_male"
|
||||
android:id="@+id/rbxGenderBtnMaleBg"
|
||||
android:layout_centerVertical="true" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/rbxGenderBtnMale"
|
||||
style="@style/Theme.Roblox.Button.Gender.Male"
|
||||
android:contentDescription="rbxGenderPickerMale"/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="4">
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/RbxGray4" />
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/icon_female"
|
||||
android:id="@+id/rbxGenderBtnFemaleBg"
|
||||
android:layout_centerVertical="true" />
|
||||
<wtf.watrbx.client.components.RbxButton
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/rbxGenderBtnFemale"
|
||||
style="@style/Theme.Roblox.Button.Gender.Female"
|
||||
android:contentDescription="rbxGenderPickerFemale"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/rbxSpinnerItem"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"
|
||||
android:textSize="20sp"
|
||||
android:padding="5dp"
|
||||
style="@style/Theme.Roblox.StandardFontLight"/>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:id="@+id/rbxSpinnerItem"
|
||||
android:textColor="@color/RbxGray2"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"
|
||||
android:textSize="21sp"
|
||||
style="@style/Theme.Roblox.StandardFontRegular"/>
|
||||
@@ -0,0 +1,19 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_height="match_parent"
|
||||
style="@android:style/Widget.Holo.Tab">
|
||||
|
||||
<ImageView
|
||||
android:id="@android:id/icon"
|
||||
android:layout_width="34dp"
|
||||
android:layout_height="36dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Theme.Roblox.TabTextIndicator" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wtf.watrbx.client.components.RbxLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:id="@+id/fragment_create_username_overlay_text_container"
|
||||
android:background="@drawable/pattern_bg_red"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<wtf.watrbx.client.components.RbxTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Welcome to"
|
||||
android:textSize="@dimen/welcomeTextSize"
|
||||
android:id="@+id/fragment_create_username_overlay_first"
|
||||
style="@style/Theme.Roblox.StandardFontLight"
|
||||
android:visibility="invisible" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/roblox_logo_black"
|
||||
android:id="@+id/fragment_create_username_overlay_second"
|
||||
android:visibility="invisible"/>
|
||||
</wtf.watrbx.client.components.RbxLinearLayout>
|
||||
Reference in New Issue
Block a user