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="30dp" | 35 android:layout_marginBottom="27dp" |
36 android:src="@drawable/google_logo" /> | 36 android:src="@drawable/google_logo" /> |
37 | 37 |
38 <!-- Search box --> | 38 <!-- Search box --> |
39 <LinearLayout | 39 <LinearLayout |
40 android:id="@+id/search_box" | 40 android:id="@+id/search_box" |
41 android:layout_width="match_parent" | 41 android:layout_width="match_parent" |
42 android:layout_height="48dp" | 42 android:layout_height="48dp" |
43 android:layout_marginStart="12dp" | 43 android:layout_marginStart="12dp" |
44 android:layout_marginEnd="12dp" | 44 android:layout_marginEnd="12dp" |
| 45 android:layout_marginTop="3dp" |
45 android:layout_marginBottom="8dp" | 46 android:layout_marginBottom="8dp" |
46 android:gravity="center_vertical" | 47 android:gravity="center_vertical" |
47 android:background="@drawable/bg_ntp_search_box" | 48 android:background="@drawable/bg_ntp_search_box" |
48 android:orientation="horizontal" > | 49 android:orientation="horizontal" > |
49 <EditText | 50 <EditText |
50 android:id="@+id/search_box_text" | 51 android:id="@+id/search_box_text" |
51 android:layout_width="0dp" | 52 android:layout_width="0dp" |
52 android:layout_height="match_parent" | 53 android:layout_height="match_parent" |
53 android:layout_marginStart="12dp" | 54 android:layout_marginStart="12dp" |
54 android:layout_weight="1" | 55 android:layout_weight="1" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 android:layout_height="0dp" | 114 android:layout_height="0dp" |
114 android:layout_weight="1" | 115 android:layout_weight="1" |
115 android:visibility="gone" /> | 116 android:visibility="gone" /> |
116 | 117 |
117 <View | 118 <View |
118 android:id="@+id/ntp_scroll_spacer" | 119 android:id="@+id/ntp_scroll_spacer" |
119 android:layout_width="match_parent" | 120 android:layout_width="match_parent" |
120 android:layout_height="0dp" | 121 android:layout_height="0dp" |
121 android:visibility="gone" /> | 122 android:visibility="gone" /> |
122 </org.chromium.chrome.browser.ntp.NewTabPageLayout> | 123 </org.chromium.chrome.browser.ntp.NewTabPageLayout> |
OLD | NEW |