| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 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 <org.chromium.chrome.browser.ntp.NewTabPageLayout | 5 <org.chromium.chrome.browser.ntp.NewTabPageLayout |
| 6 xmlns:android="http://schemas.android.com/apk/res/android" | 6 xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 7 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 8 android:id="@+id/ntp_content" | 8 android:id="@+id/ntp_content" |
| 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 14 matching lines...) Expand all Loading... |
| 25 android:visibility="invisible" /> | 25 android:visibility="invisible" /> |
| 26 | 26 |
| 27 <!-- Search provider logo --> | 27 <!-- Search provider logo --> |
| 28 <org.chromium.chrome.browser.ntp.LogoView | 28 <org.chromium.chrome.browser.ntp.LogoView |
| 29 android:id="@+id/search_provider_logo" | 29 android:id="@+id/search_provider_logo" |
| 30 android:layout_width="wrap_content" | 30 android:layout_width="wrap_content" |
| 31 android:layout_height="@dimen/ntp_logo_height" | 31 android:layout_height="@dimen/ntp_logo_height" |
| 32 android:layout_marginStart="16dp" | 32 android:layout_marginStart="16dp" |
| 33 android:layout_marginEnd="16dp" | 33 android:layout_marginEnd="16dp" |
| 34 android:layout_marginTop="26dp" | 34 android:layout_marginTop="26dp" |
| 35 android:layout_marginBottom="23dp" /> | 35 android:layout_marginBottom="27dp" /> |
| 36 | 36 |
| 37 <!-- Search box --> | 37 <!-- Search box --> |
| 38 <LinearLayout | 38 <LinearLayout |
| 39 android:id="@+id/search_box" | 39 android:id="@+id/search_box" |
| 40 android:layout_width="match_parent" | 40 android:layout_width="match_parent" |
| 41 android:layout_height="48dp" | 41 android:layout_height="48dp" |
| 42 android:layout_marginStart="12dp" | 42 android:layout_marginStart="12dp" |
| 43 android:layout_marginEnd="12dp" | 43 android:layout_marginEnd="12dp" |
| 44 android:layout_marginTop="7dp" | 44 android:layout_marginTop="3dp" |
| 45 android:layout_marginBottom="8dp" | 45 android:layout_marginBottom="8dp" |
| 46 android:gravity="center_vertical" | 46 android:gravity="center_vertical" |
| 47 android:background="@drawable/bg_ntp_search_box" | 47 android:background="@drawable/bg_ntp_search_box" |
| 48 android:orientation="horizontal" > | 48 android:orientation="horizontal" > |
| 49 <EditText | 49 <EditText |
| 50 android:id="@+id/search_box_text" | 50 android:id="@+id/search_box_text" |
| 51 android:layout_width="0dp" | 51 android:layout_width="0dp" |
| 52 android:layout_height="match_parent" | 52 android:layout_height="match_parent" |
| 53 android:layout_marginStart="12dp" | 53 android:layout_marginStart="12dp" |
| 54 android:layout_weight="1" | 54 android:layout_weight="1" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 android:layout_weight="1" | 115 android:layout_weight="1" |
| 116 android:visibility="gone" /> | 116 android:visibility="gone" /> |
| 117 | 117 |
| 118 <!-- Scroll spacer --> | 118 <!-- Scroll spacer --> |
| 119 <View | 119 <View |
| 120 android:id="@+id/ntp_scroll_spacer" | 120 android:id="@+id/ntp_scroll_spacer" |
| 121 android:layout_width="match_parent" | 121 android:layout_width="match_parent" |
| 122 android:layout_height="0dp" | 122 android:layout_height="0dp" |
| 123 android:visibility="gone" /> | 123 android:visibility="gone" /> |
| 124 </org.chromium.chrome.browser.ntp.NewTabPageLayout> | 124 </org.chromium.chrome.browser.ntp.NewTabPageLayout> |
| OLD | NEW |