2014-08-21 17:18:42 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
style="@style/OnboardStartLayout"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:background="@color/onboard_start"
|
|
|
|
android:windowIsFloating="true">
|
|
|
|
|
2014-10-01 10:26:17 -07:00
|
|
|
<ScrollView android:id="@+id/onboard_content"
|
|
|
|
android:layout_width="match_parent"
|
2014-08-21 17:18:42 -07:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:fillViewport="true" >
|
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<!-- Empty spacer view -->
|
|
|
|
<View android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<RelativeLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="15dp">
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/image_shield"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:paddingRight="92dp"
|
|
|
|
android:src="@drawable/onboard_start_shield"
|
|
|
|
android:contentDescription="@string/onboard_empty_contentDescription"/>
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/image_private"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:paddingLeft="92dp"
|
|
|
|
android:src="@drawable/onboard_start_private"
|
|
|
|
android:contentDescription="@string/onboard_empty_contentDescription"/>
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/image_logo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_below="@id/image_shield"
|
|
|
|
android:layout_marginTop="23dp"
|
|
|
|
android:src="@drawable/large_icon"
|
|
|
|
android:contentDescription="@string/onboard_empty_contentDescription"/>
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/image_sync"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/image_shield"
|
|
|
|
android:layout_toLeftOf="@id/image_logo"
|
|
|
|
android:layout_marginRight="30dp"
|
|
|
|
android:src="@drawable/onboard_start_sync"
|
|
|
|
android:contentDescription="@string/onboard_empty_contentDescription"/>
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/image_addon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/image_private"
|
|
|
|
android:layout_toRightOf="@id/image_logo"
|
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:src="@drawable/onboard_start_addon"
|
|
|
|
android:contentDescription="@string/onboard_empty_contentDescription"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/text_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/image_logo"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
android:padding="10sp"
|
|
|
|
android:text="@string/onboard_start_message"
|
|
|
|
android:textAppearance="@style/OnboardStartTextAppearance"
|
|
|
|
android:textSize="23sp" />
|
|
|
|
|
|
|
|
<TextView android:layout_width="295dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_below="@id/text_message"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:lineSpacingExtra="12sp"
|
|
|
|
android:padding="10sp"
|
|
|
|
android:text="@string/onboard_start_subtext"
|
|
|
|
android:textAppearance="@style/OnboardStartTextAppearance.Subtext" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Empty spacer view -->
|
|
|
|
<View android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
<!-- Bottom row of navigation buttons. -->
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:background="@color/android:white">
|
|
|
|
|
|
|
|
<Button android:id="@+id/button_account"
|
|
|
|
style="@style/Widget.Onboard.Start.Button"
|
|
|
|
android:layout_marginTop="3px"
|
|
|
|
android:layout_marginRight="3px"
|
|
|
|
android:text="@string/onboard_start_button_account"/>
|
|
|
|
|
|
|
|
<Button android:id="@+id/button_browser"
|
|
|
|
style="@style/Widget.Onboard.Start.Button"
|
|
|
|
android:layout_marginTop="3px"
|
|
|
|
android:text="@string/onboard_start_button_browser"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|