Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 | 5 |
| 6 <org.chromium.chrome.browser.ntp.NewTabPageView | 6 <org.chromium.chrome.browser.ntp.NewTabPageView |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 182 <TextView | 182 <TextView |
| 183 android:layout_width="wrap_content" | 183 android:layout_width="wrap_content" |
| 184 android:layout_height="match_parent" | 184 android:layout_height="match_parent" |
| 185 android:layout_gravity="center_horizontal" | 185 android:layout_gravity="center_horizontal" |
| 186 android:drawablePadding="8dp" | 186 android:drawablePadding="8dp" |
| 187 android:gravity="center_vertical" | 187 android:gravity="center_vertical" |
| 188 android:text="@string/ntp_bookmarks" | 188 android:text="@string/ntp_bookmarks" |
| 189 android:textSize="12sp" | 189 android:textSize="12sp" |
| 190 android:textColor="#5a5a5a" /> | 190 android:textColor="#5a5a5a" /> |
| 191 </FrameLayout> | 191 </FrameLayout> |
| 192 <FrameLayout | 192 <FrameLayout |
|
Bernhard Bauer
2015/11/19 17:15:15
We probably need to move this behind a command lin
PEConn
2015/11/20 11:23:40
Done.
| |
| 193 android:id="@+id/interests_button" | |
| 194 android:layout_width="0dp" | |
| 195 android:layout_height="match_parent" | |
| 196 android:layout_weight="1" | |
| 197 android:background="?attr/listChoiceBackgroundIndicator" | |
| 198 android:contentDescription="@string/accessibility_ntp_toolbar_btn_in terests" | |
| 199 android:paddingTop="12dp" | |
| 200 android:paddingBottom="12dp" > | |
| 201 <TextView | |
| 202 android:layout_width="wrap_content" | |
| 203 android:layout_height="match_parent" | |
| 204 android:layout_gravity="center_horizontal" | |
| 205 android:drawablePadding="8dp" | |
| 206 android:gravity="center_vertical" | |
| 207 android:text="@string/ntp_interests" | |
| 208 android:textSize="12sp" | |
| 209 android:textColor="#5a5a5a" /> | |
| 210 </FrameLayout> | |
| 211 <FrameLayout | |
| 193 android:id="@+id/recent_tabs_button" | 212 android:id="@+id/recent_tabs_button" |
| 194 android:layout_width="0dp" | 213 android:layout_width="0dp" |
| 195 android:layout_height="match_parent" | 214 android:layout_height="match_parent" |
| 196 android:layout_weight="1" | 215 android:layout_weight="1" |
| 197 android:background="?attr/listChoiceBackgroundIndicator" | 216 android:background="?attr/listChoiceBackgroundIndicator" |
| 198 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re cent_tabs" | 217 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re cent_tabs" |
| 199 android:paddingTop="12dp" | 218 android:paddingTop="12dp" |
| 200 android:paddingBottom="12dp" > | 219 android:paddingBottom="12dp" > |
| 201 <TextView | 220 <TextView |
| 202 android:layout_width="wrap_content" | 221 android:layout_width="wrap_content" |
| 203 android:layout_height="match_parent" | 222 android:layout_height="match_parent" |
| 204 android:layout_gravity="center_horizontal" | 223 android:layout_gravity="center_horizontal" |
| 205 android:drawablePadding="8dp" | 224 android:drawablePadding="8dp" |
| 206 android:gravity="center_vertical" | 225 android:gravity="center_vertical" |
| 207 android:text="@string/recent_tabs" | 226 android:text="@string/recent_tabs" |
| 208 android:textSize="12sp" | 227 android:textSize="12sp" |
| 209 android:textColor="#5a5a5a" /> | 228 android:textColor="#5a5a5a" /> |
| 210 </FrameLayout> | 229 </FrameLayout> |
| 211 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> | 230 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> |
| 212 </org.chromium.chrome.browser.ntp.NewTabPageView> | 231 </org.chromium.chrome.browser.ntp.NewTabPageView> |
| OLD | NEW |