Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: chrome/android/java/res/layout/chrome_home_new_tab_page.xml

Issue 2715433008: 🏡 Add a ChromeHomeNewTabPage (Closed)
Patch Set: Changes from mdjones@ review Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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"
dgn 2017/02/28 14:09:56 why make it focusable? is that related to accessib
Theresa 2017/02/28 17:02:23 If it's not focusable then the toolbar/omnibox get
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698