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

Side by Side Diff: chrome/android/java/res/layout/new_tab_page_incognito_md.xml

Issue 2902013002: Implement a sketch of the new MD Incognito NTP on Android (Closed)
Patch Set: Addressed first coments. Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD
7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:id="@+id/ntp_content"
10 android:layout_width="match_parent"
11 android:layout_height="match_parent"
12 android:paddingTop="@dimen/tab_strip_height" >
13
14 <org.chromium.chrome.browser.ntp.NewTabPageScrollView
15 android:id="@+id/ntp_scrollview"
16 android:background="@color/ntp_bg_incognito"
17 android:layout_width="match_parent"
18 android:layout_height="match_parent"
19 android:paddingTop="@dimen/toolbar_height_no_shadow"
20 android:fadingEdgeLength="9dp"
21 android:fillViewport="false"
22 android:focusable="true"
23 android:focusableInTouchMode="true"
24 android:requiresFadingEdge="vertical"
25 android:contentDescription="@string/accessibility_new_incognito_tab_page " >
26
27 <LinearLayout
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:gravity="center_horizontal"
31 android:orientation="vertical"
32 android:paddingStart="32dp"
33 android:paddingEnd="32dp"
34 android:paddingTop="24dp"
35 android:paddingBottom="16dp" >
36
37 <ImageView
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_marginBottom="19dp"
41 android:contentDescription="@null"
42 android:src="@drawable/incognito_splash"/>
43
44 <TextView
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:fontFamily="sans-serif-light"
48 android:text="@string/new_tab_incognito_header"
49 android:textColor="@color/incognito_header"
50 android:textSize="24sp" />
51
52 <TextView
53 android:id="@+id/new_tab_incognito_features"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_marginTop="32dp"
57 android:layout_marginBottom="10dp"
58 android:maxWidth="660dp"
59 android:singleLine="false"
60 android:textColor="@color/incognito_text"
61 android:textSize="14sp"
62 android:lineSpacingMultiplier="1.2" />
63
64 <TextView
65 android:id="@+id/new_tab_incognito_warning"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_marginTop="32dp"
69 android:layout_marginBottom="10dp"
70 android:maxWidth="660dp"
71 android:singleLine="false"
72 android:textColor="@color/incognito_text"
73 android:textSize="14sp"
74 android:lineSpacingMultiplier="1.2" />
75
76 <TextView
77 android:id="@+id/learn_more"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:background="?attr/listChoiceBackgroundIndicator"
81 android:clickable="true"
82 android:focusable="true"
83 android:fontFamily="sans-serif-medium"
84 android:padding="16dp"
85 android:text="@string/learn_more"
86 android:textAllCaps="true"
87 android:textColor="#03a9f4"
88 android:textSize="14sp" />
89
90 </LinearLayout>
91
92 </org.chromium.chrome.browser.ntp.NewTabPageScrollView>
93
94 </org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698