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..82a340f0e96eb138bc1b8c19e2cf752f788ba09e |
--- /dev/null |
+++ b/chrome/android/java/res/layout/fre_page.xml |
@@ -0,0 +1,112 @@ |
+<?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. |
+--> |
+<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" > |
+ |
+ <!--suppress ButtonStyle --> |
+ <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" /> |
+ |
+ <!--suppress ButtonStyle --> |
+ <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> |