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

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

Issue 2809923003: [Home] Add a Chrome Home specific incognito NTP (Closed)
Patch Set: Rebase Created 3 years, 8 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/incognito_bottom_sheet_content.xml
diff --git a/chrome/android/java/res/layout/incognito_bottom_sheet_content.xml b/chrome/android/java/res/layout/incognito_bottom_sheet_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8d4cef6cfe4ea8c7ceb1310bb4433e243847f5af
--- /dev/null
+++ b/chrome/android/java/res/layout/incognito_bottom_sheet_content.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 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"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/incognito_primary_color" >
+
+ <ScrollView
+ android:id="@+id/scroll_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:orientation="vertical"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/new_tab_incognito_header"
+ android:textColor="@color/locationbar_light_hint_text"
+ android:textSize="24sp" />
+
+ <TextView
+ android:id="@+id/new_tab_incognito_message"
+ style="@style/IncognitoNewTabMessage"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="10dp"
+ android:text="@string/new_tab_incognito_message"
+ android:textColor="@color/locationbar_light_hint_text" />
+
+ <TextView
+ android:id="@+id/learn_more"
+ style="@style/IncognitoNewTabLearnMoreLink"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/learn_more"
+ android:textColor="@color/google_blue_300" />
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <org.chromium.chrome.browser.widget.FadingShadowView
+ android:id="@+id/shadow"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/action_bar_shadow_height"
+ android:visibility="gone" />
+
+</FrameLayout>
+

Powered by Google App Engine
This is Rietveld 408576698