| OLD | NEW |
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <RelativeLayout |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:layout_width="match_parent" |
| 10 android:layout_height="match_parent" |
| 11 android:focusable="true" |
| 12 android:focusableInTouchMode="true" |
| 13 android:background="@color/ntp_bg" > |
| 14 |
| 15 <org.chromium.chrome.browser.widget.TintedImageButton |
| 16 android:id="@+id/close_button" |
| 17 android:layout_width="40dp" |
| 18 android:layout_height="40dp" |
| 19 android:layout_alignParentTop="true" |
| 20 android:layout_alignParentStart="true" |
| 21 android:src="@drawable/btn_close" |
| 22 android:scaleType="center" |
| 23 android:background="@android:color/transparent" |
| 24 chrome:tint="@color/dark_mode_tint" /> |
| 25 |
| 26 <View |
| 27 android:id="@+id/centered_view" |
| 28 android:layout_width="match_parent" |
| 29 android:layout_height="30dp" |
| 30 android:layout_centerInParent="true" /> |
| 31 |
| 32 <org.chromium.chrome.browser.ntp.LogoView |
| 33 android:id="@+id/search_provider_logo" |
| 34 android:layout_width="match_parent" |
| 35 android:layout_height="@dimen/ntp_logo_height" |
| 36 android:padding="16dp" |
| 37 android:layout_marginEnd="16dp" |
| 38 android:layout_marginBottom="16dp" |
| 39 android:layout_marginTop="16dp" |
| 40 android:layout_above="@id/centered_view" /> |
| 41 |
| 42 </RelativeLayout> |
| OLD | NEW |