| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 android:paddingEnd="2dp" | 70 android:paddingEnd="2dp" |
| 71 android:paddingTop="3dp" | 71 android:paddingTop="3dp" |
| 72 android:paddingBottom="3dp" > | 72 android:paddingBottom="3dp" > |
| 73 <EditText | 73 <EditText |
| 74 android:id="@+id/search_box_text" | 74 android:id="@+id/search_box_text" |
| 75 android:layout_width="0dp" | 75 android:layout_width="0dp" |
| 76 android:layout_height="match_parent" | 76 android:layout_height="match_parent" |
| 77 android:layout_marginStart="12dp" | 77 android:layout_marginStart="12dp" |
| 78 android:layout_weight="1" | 78 android:layout_weight="1" |
| 79 android:background="@null" | 79 android:background="@null" |
| 80 android:drawableStart="@drawable/googleg" |
| 81 android:drawablePadding="8dp" |
| 80 android:ellipsize="end" | 82 android:ellipsize="end" |
| 81 android:focusableInTouchMode="false" | 83 android:focusableInTouchMode="false" |
| 82 android:gravity="center_vertical" | 84 android:gravity="center_vertical" |
| 83 android:inputType="text" | 85 android:inputType="text" |
| 84 android:singleLine="true" | 86 android:singleLine="true" |
| 85 android:textSize="@dimen/location_bar_url_text_size" | 87 android:textSize="@dimen/location_bar_url_text_size" |
| 86 android:textColorHint="@color/ntp_search_box_hint" /> | 88 android:textColorHint="@color/ntp_search_box_hint" /> |
| 87 <org.chromium.chrome.browser.widget.TintedImageView | 89 <org.chromium.chrome.browser.widget.TintedImageView |
| 88 android:id="@+id/voice_search_button" | 90 android:id="@+id/voice_search_button" |
| 89 android:layout_width="wrap_content" | 91 android:layout_width="wrap_content" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 android:visibility="invisible" /> | 134 android:visibility="invisible" /> |
| 133 | 135 |
| 134 <!-- Spacer for when there is no search provider logo. --> | 136 <!-- Spacer for when there is no search provider logo. --> |
| 135 <View | 137 <View |
| 136 android:id="@+id/no_search_logo_spacer" | 138 android:id="@+id/no_search_logo_spacer" |
| 137 android:layout_width="match_parent" | 139 android:layout_width="match_parent" |
| 138 android:layout_height="0dp" | 140 android:layout_height="0dp" |
| 139 android:layout_weight="1" | 141 android:layout_weight="1" |
| 140 android:visibility="gone" /> | 142 android:visibility="gone" /> |
| 141 </org.chromium.chrome.browser.ntp.NewTabPageLayout> | 143 </org.chromium.chrome.browser.ntp.NewTabPageLayout> |
| OLD | NEW |