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

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

Issue 2963523002: Additional improvements of the new Incognito NTP (Closed)
Patch Set: Addressed comments. Created 3 years, 5 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/src/org/chromium/chrome/browser/ntp/IncognitoNewTabPageViewMD.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD 6 <org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD
7 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:id="@+id/ntp_content" 9 android:id="@+id/ntp_content"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
(...skipping 24 matching lines...) Expand all
35 android:id="@+id/new_tab_incognito_icon" 35 android:id="@+id/new_tab_incognito_icon"
36 android:layout_width="wrap_content" 36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" 37 android:layout_height="wrap_content"
38 android:contentDescription="@null" 38 android:contentDescription="@null"
39 android:src="@drawable/incognito_splash" /> 39 android:src="@drawable/incognito_splash" />
40 40
41 <TextView 41 <TextView
42 android:id="@+id/new_tab_incognito_title" 42 android:id="@+id/new_tab_incognito_title"
43 android:layout_width="wrap_content" 43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
45 android:fontFamily="sans-serif-light"
46 android:text="@string/new_tab_otr_title" 45 android:text="@string/new_tab_otr_title"
47 android:textColor="@color/incognito_header" /> 46 android:textColor="@color/incognito_header" />
48 47
49 <TextView 48 <TextView
50 android:id="@+id/new_tab_incognito_subtitle" 49 android:id="@+id/new_tab_incognito_subtitle"
51 android:layout_width="match_parent" 50 android:layout_width="wrap_content"
52 android:layout_height="wrap_content" 51 android:layout_height="wrap_content"
53 android:fontFamily="sans-serif-light"
54 android:text="@string/new_tab_otr_subtitle" 52 android:text="@string/new_tab_otr_subtitle"
55 android:textColor="@color/incognito_header" 53 android:textColor="@color/incognito_header"
56 android:lineSpacingExtra="6sp" /> 54 android:lineSpacingExtra="6sp" />
57 55
58 <TextView 56 <LinearLayout
59 android:id="@+id/new_tab_incognito_features" 57 android:id="@+id/new_tab_incognito_bulletpoints_container"
60 android:layout_width="match_parent" 58 android:layout_width="wrap_content"
61 android:layout_height="wrap_content" 59 android:layout_height="wrap_content"
62 android:singleLine="false" 60 android:orientation="horizontal"
63 android:textColor="@color/incognito_text" 61 android:gravity="start">
64 android:lineSpacingExtra="6sp" />
65 62
66 <TextView 63 <TextView
67 android:id="@+id/new_tab_incognito_warning" 64 android:id="@+id/new_tab_incognito_features"
68 android:layout_width="match_parent" 65 android:layout_width="wrap_content"
69 android:layout_height="wrap_content" 66 android:layout_height="wrap_content"
70 android:singleLine="false" 67 android:textColor="@color/incognito_text"
71 android:textColor="@color/incognito_text" 68 android:lineSpacingExtra="6sp" />
72 android:lineSpacingExtra="6sp" /> 69
70 <TextView
71 android:id="@+id/new_tab_incognito_warning"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:textColor="@color/incognito_text"
75 android:lineSpacingExtra="6sp" />
76
77 </LinearLayout>
73 78
74 <TextView 79 <TextView
75 android:id="@+id/learn_more" 80 android:id="@+id/learn_more"
76 android:layout_width="wrap_content" 81 android:layout_width="wrap_content"
77 android:layout_height="wrap_content" 82 android:layout_height="wrap_content"
78 android:background="?attr/listChoiceBackgroundIndicator" 83 android:background="?attr/listChoiceBackgroundIndicator"
79 android:clickable="true" 84 android:clickable="true"
80 android:focusable="true" 85 android:focusable="true"
81 android:text="@string/learn_more" 86 android:text="@string/learn_more"
82 android:textColor="@color/google_blue_300" 87 android:textColor="@color/google_blue_300"
83 android:lineSpacingExtra="6sp" 88 android:lineSpacingExtra="6sp"
84 style="@style/RobotoMediumStyle" /> 89 style="@style/RobotoMediumStyle" />
85 90
86 </LinearLayout> 91 </LinearLayout>
87 92
88 </org.chromium.chrome.browser.ntp.NewTabPageScrollView> 93 </org.chromium.chrome.browser.ntp.NewTabPageScrollView>
89 94
90 </org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD> 95 </org.chromium.chrome.browser.ntp.IncognitoNewTabPageViewMD>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoNewTabPageViewMD.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698