mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
115 lines
5.3 KiB
XML
115 lines
5.3 KiB
XML
<?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> |