OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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.NewTabPageView | 6 <org.chromium.chrome.browser.ntp.NewTabPageView |
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:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="match_parent" | 10 android:layout_height="match_parent" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 </LinearLayout> | 88 </LinearLayout> |
89 | 89 |
90 <!-- Spacer --> | 90 <!-- Spacer --> |
91 <View | 91 <View |
92 android:id="@+id/ntp_middle_spacer" | 92 android:id="@+id/ntp_middle_spacer" |
93 android:layout_width="0dp" | 93 android:layout_width="0dp" |
94 android:layout_height="0dp" | 94 android:layout_height="0dp" |
95 android:layout_weight="0" | 95 android:layout_weight="0" |
96 android:visibility="invisible" /> | 96 android:visibility="invisible" /> |
97 | 97 |
98 <!-- Document mode opt out promo --> | |
99 <ViewStub | |
100 android:id="@+id/opt_out_promo_stub" | |
101 android:layout_width="match_parent" | |
102 android:layout_height="wrap_content" | |
103 android:inflatedId="@+id/opt_out_promo" | |
104 android:layout="@layout/opt_out_promo" /> | |
105 | |
106 <!-- Most visited items --> | 98 <!-- Most visited items --> |
107 <org.chromium.chrome.browser.ntp.MostVisitedLayout | 99 <org.chromium.chrome.browser.ntp.MostVisitedLayout |
108 android:id="@+id/most_visited_layout" | 100 android:id="@+id/most_visited_layout" |
109 android:layout_width="wrap_content" | 101 android:layout_width="wrap_content" |
110 android:layout_height="wrap_content" | 102 android:layout_height="wrap_content" |
111 android:layout_marginBottom="16dp" | 103 android:layout_marginBottom="16dp" |
112 android:layout_marginStart="12dp" | 104 android:layout_marginStart="12dp" |
113 android:layout_marginEnd="12dp" | 105 android:layout_marginEnd="12dp" |
114 android:layout_gravity="center_horizontal" | 106 android:layout_gravity="center_horizontal" |
115 android:paddingTop="@dimen/most_visited_layout_padding_top" | 107 android:paddingTop="@dimen/most_visited_layout_padding_top" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 android:layout_height="match_parent" | 213 android:layout_height="match_parent" |
222 android:layout_gravity="center_horizontal" | 214 android:layout_gravity="center_horizontal" |
223 android:drawablePadding="8dp" | 215 android:drawablePadding="8dp" |
224 android:gravity="center_vertical" | 216 android:gravity="center_vertical" |
225 android:text="@string/recent_tabs" | 217 android:text="@string/recent_tabs" |
226 android:textSize="12sp" | 218 android:textSize="12sp" |
227 android:textColor="#5a5a5a" /> | 219 android:textColor="#5a5a5a" /> |
228 </FrameLayout> | 220 </FrameLayout> |
229 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> | 221 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> |
230 </org.chromium.chrome.browser.ntp.NewTabPageView> | 222 </org.chromium.chrome.browser.ntp.NewTabPageView> |
OLD | NEW |