Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2015 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 <org.chromium.chrome.browser.ntp.InterestsPageView | |
|
newt (away)
2015/09/29 17:33:21
InterestsPageView should be a FrameLayout (which i
PEConn
2015/11/18 15:26:56
Done.
| |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:id="@+id/interests_content" | |
|
newt (away)
2015/09/29 17:33:21
nit: don't add an ID unless you're going to use it
PEConn
2015/11/18 15:26:56
Done.
| |
| 9 android:layout_width="match_parent" | |
| 10 android:layout_height="match_parent" | |
| 11 android:paddingTop="@dimen/tab_strip_height" | |
| 12 android:orientation="vertical" | |
| 13 android:focusable="true" | |
| 14 android:focusableInTouchMode="true" > | |
| 15 | |
| 16 <GridView xmlns:android="http://schemas.android.com/apk/res/android" | |
|
newt (away)
2015/09/29 17:33:21
remove redundant xmlns attribute (it's only needed
PEConn
2015/11/18 15:26:56
Done.
| |
| 17 android:id="@+id/interests_list_view" | |
|
newt (away)
2015/09/29 17:33:21
indentation should look like this:
<org.chromium.
PEConn
2015/11/18 15:26:56
Done.
| |
| 18 android:layout_width="match_parent" | |
| 19 android:layout_height="match_parent" | |
| 20 android:paddingTop="@dimen/toolbar_height_no_shadow" | |
| 21 android:numColumns="2" | |
| 22 android:verticalSpacing="10dp" | |
| 23 android:horizontalSpacing="10dp" | |
| 24 android:stretchMode="columnWidth" | |
| 25 android:gravity="center" /> | |
| 26 | |
| 27 </org.chromium.chrome.browser.ntp.InterestsPageView> | |
| OLD | NEW |