OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 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.IncognitoNewTabPageView |
| 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.NewTabScrollView |
| 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="#d2d2d2" |
| 50 android:textSize="24sp" /> |
| 51 |
| 52 <TextView |
| 53 android:layout_width="wrap_content" |
| 54 android:layout_height="wrap_content" |
| 55 android:layout_marginTop="32dp" |
| 56 android:layout_marginBottom="10dp" |
| 57 android:maxWidth="660dp" |
| 58 android:singleLine="false" |
| 59 android:text="@string/new_tab_incognito_message" |
| 60 android:textColor="#bdbdbd" |
| 61 android:textSize="14sp" |
| 62 android:lineSpacingMultiplier="1.2" /> |
| 63 |
| 64 <TextView |
| 65 android:id="@+id/learn_more" |
| 66 android:layout_width="wrap_content" |
| 67 android:layout_height="wrap_content" |
| 68 android:background="?attr/listChoiceBackgroundIndicator" |
| 69 android:clickable="true" |
| 70 android:focusable="true" |
| 71 android:fontFamily="sans-serif-medium" |
| 72 android:padding="16dp" |
| 73 android:text="@string/learn_more" |
| 74 android:textAllCaps="true" |
| 75 android:textColor="#03a9f4" |
| 76 android:textSize="14sp" /> |
| 77 |
| 78 </LinearLayout> |
| 79 |
| 80 </org.chromium.chrome.browser.ntp.NewTabScrollView> |
| 81 |
| 82 </org.chromium.chrome.browser.ntp.IncognitoNewTabPageView> |
OLD | NEW |