Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3549)

Unified Diff: chrome/android/java/res/layout/fre_tosanduma.xml

Issue 978653002: Upstream FirstRunActivity and friends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits + remove MobileFreFinishState as it is no longer relevant Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/fre_tosanduma.xml
diff --git a/chrome/android/java/res/layout/fre_tosanduma.xml b/chrome/android/java/res/layout/fre_tosanduma.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ef7f6625c2b21a818b7415bb3ef6f979c3877f8b
--- /dev/null
+++ b/chrome/android/java/res/layout/fre_tosanduma.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<org.chromium.chrome.browser.firstrun.TosAndUmaView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="57dp"
+ android:fillViewport="true"
+ android:scrollbarStyle="outsideOverlay" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/fre_margin"
+ android:gravity="center"
+ android:lineSpacingMultiplier="1.4"
+ android:text="@string/fre_welcome"
+ android:textColor="@color/fre_title_color"
+ android:textSize="@dimen/fre_title_text_size" />
+
+ <LinearLayout
+ android:id="@+id/fre_content"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/fre_margin"
+ android:gravity="center_horizontal">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/fre_image_carousel_height"
+ android:layout_marginBottom="@dimen/fre_margin"
+ android:contentDescription="@null"
+ android:src="@drawable/fre_chrome_logo" />
+
+ <LinearLayout
+ android:id="@+id/text_wrapper"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:layout_marginBottom="@dimen/fre_margin"
+ android:orientation="vertical"
+ android:paddingEnd="@dimen/fre_margin"
+ android:paddingStart="@dimen/fre_margin" >
+
+ <org.chromium.ui.widget.TextViewWithClickableSpans
+ android:id="@+id/tos_and_privacy"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/fre_margin"
+ android:gravity="center"
+ android:lineSpacingMultiplier="1.4"
+ android:textColor="@color/fre_text_color"
+ android:textSize="@dimen/fre_normal_text_size" />
+
+ <CheckBox
+ android:id="@+id/send_report_checkbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lineSpacingMultiplier="1.4"
+ android:text="@string/fre_send_report_check"
+ android:textColor="@color/fre_text_color"
+ android:textSize="@dimen/fre_normal_text_size" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+ <View
+ style="@style/ButtonBarTopDivider"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="56dp" />
+
+ <Button
+ android:id="@+id/terms_accept"
+ android:layout_width="match_parent"
+ android:layout_height="56dp"
+ android:layout_gravity="bottom"
+ android:background="?attr/listChoiceBackgroundIndicator"
+ android:padding="16dp"
+ android:text="@string/fre_accept_continue"
+ android:textAllCaps="true"
+ android:textColor="@color/light_active_color"
+ android:textSize="@dimen/fre_button_text_size" />
+
+</org.chromium.chrome.browser.firstrun.TosAndUmaView>

Powered by Google App Engine
This is Rietveld 408576698