| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 android:layout_width="wrap_content" | 183 android:layout_width="wrap_content" |
| 184 android:layout_height="match_parent" | 184 android:layout_height="match_parent" |
| 185 android:layout_gravity="center_horizontal" | 185 android:layout_gravity="center_horizontal" |
| 186 android:drawablePadding="8dp" | 186 android:drawablePadding="8dp" |
| 187 android:gravity="center_vertical" | 187 android:gravity="center_vertical" |
| 188 android:text="@string/ntp_bookmarks" | 188 android:text="@string/ntp_bookmarks" |
| 189 android:textSize="12sp" | 189 android:textSize="12sp" |
| 190 android:textColor="#5a5a5a" /> | 190 android:textColor="#5a5a5a" /> |
| 191 </FrameLayout> | 191 </FrameLayout> |
| 192 <FrameLayout | 192 <FrameLayout |
| 193 android:background="?attr/listChoiceBackgroundIndicator" |
| 194 android:contentDescription="@string/accessibility_ntp_toolbar_btn_in
terests" |
| 195 android:id="@+id/interests_button" |
| 196 android:layout_height="match_parent" |
| 197 android:layout_weight="1" |
| 198 android:layout_width="0dp" |
| 199 android:paddingBottom="12dp" |
| 200 android:paddingTop="12dp" |
| 201 android:visibility="gone" > |
| 202 <TextView |
| 203 android:drawablePadding="8dp" |
| 204 android:gravity="center_vertical" |
| 205 android:layout_gravity="center_horizontal" |
| 206 android:layout_height="match_parent" |
| 207 android:layout_width="wrap_content" |
| 208 android:text="@string/ntp_interests" |
| 209 android:textColor="#5a5a5a" |
| 210 android:textSize="12sp" /> |
| 211 </FrameLayout> |
| 212 <FrameLayout |
| 193 android:id="@+id/recent_tabs_button" | 213 android:id="@+id/recent_tabs_button" |
| 194 android:layout_width="0dp" | 214 android:layout_width="0dp" |
| 195 android:layout_height="match_parent" | 215 android:layout_height="match_parent" |
| 196 android:layout_weight="1" | 216 android:layout_weight="1" |
| 197 android:background="?attr/listChoiceBackgroundIndicator" | 217 android:background="?attr/listChoiceBackgroundIndicator" |
| 198 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re
cent_tabs" | 218 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re
cent_tabs" |
| 199 android:paddingTop="12dp" | 219 android:paddingTop="12dp" |
| 200 android:paddingBottom="12dp" > | 220 android:paddingBottom="12dp" > |
| 201 <TextView | 221 <TextView |
| 202 android:layout_width="wrap_content" | 222 android:layout_width="wrap_content" |
| 203 android:layout_height="match_parent" | 223 android:layout_height="match_parent" |
| 204 android:layout_gravity="center_horizontal" | 224 android:layout_gravity="center_horizontal" |
| 205 android:drawablePadding="8dp" | 225 android:drawablePadding="8dp" |
| 206 android:gravity="center_vertical" | 226 android:gravity="center_vertical" |
| 207 android:text="@string/recent_tabs" | 227 android:text="@string/recent_tabs" |
| 208 android:textSize="12sp" | 228 android:textSize="12sp" |
| 209 android:textColor="#5a5a5a" /> | 229 android:textColor="#5a5a5a" /> |
| 210 </FrameLayout> | 230 </FrameLayout> |
| 211 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> | 231 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> |
| 212 </org.chromium.chrome.browser.ntp.NewTabPageView> | 232 </org.chromium.chrome.browser.ntp.NewTabPageView> |
| OLD | NEW |