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

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

Issue 978653002: Upstream FirstRunActivity and friends. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_page.xml
diff --git a/chrome/android/java/res/layout/fre_page.xml b/chrome/android/java/res/layout/fre_page.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6d9077a00000c7c124b23c2cbadd9f7793aee5bc
--- /dev/null
+++ b/chrome/android/java/res/layout/fre_page.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 The Chromium Authors. All rights reserved.
newt (away) 2015/03/04 03:47:07 2015
aurimas (slooooooooow) 2015/03/10 22:16:51 Done
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ScrollView
+ android:id="@+id/scroll_view"
+ 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:orientation="vertical"
+ android:gravity="center_horizontal" >
+
+ <FrameLayout
+ android:id="@+id/image_view_wrapper"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:layout_weight="1" >
+
+ <ImageView
+ android:id="@+id/image_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@null"
+ android:src="@null" />
+ </FrameLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="@dimen/fre_margin" >
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="12dp"
+ android:gravity="center"
+ android:text="@null"
+ android:textColor="@color/fre_title_color"
+ android:textSize="@dimen/fre_title_text_size" />
+
+ <org.chromium.ui.widget.TextViewWithClickableSpans
+ android:id="@+id/text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="@null"
+ android:lineSpacingMultiplier="1.4"
+ android:textColor="@color/fre_light_text_color"
+ android:textSize="@dimen/fre_normal_text_size" />
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+ <View
+ style="@style/ButtonBarTopDivider"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="56dp" />
+
+ <LinearLayout
+ android:id="@+id/button_bar"
+ android:layout_width="match_parent"
+ android:layout_height="56dp"
+ android:layout_gravity="bottom"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/negative_button"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="?attr/listChoiceBackgroundIndicator"
+ android:gravity="start|center_vertical"
+ android:textDirection="locale"
+ android:padding="16dp"
+ android:text="@string/fre_settings"
+ android:textAllCaps="true"
+ android:textColor="@color/light_normal_color"
+ android:textSize="@dimen/fre_button_text_size" />
+
+ <Button
+ android:id="@+id/positive_button"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="?attr/listChoiceBackgroundIndicator"
+ android:gravity="end|center_vertical"
+ android:textDirection="locale"
+ android:padding="16dp"
+ android:text="@string/fre_next"
+ android:textAllCaps="true"
+ android:textColor="@color/light_active_color"
+ android:textSize="@dimen/fre_button_text_size" />
+ </LinearLayout>
+
+</FrameLayout>

Powered by Google App Engine
This is Rietveld 408576698