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

Unified Diff: chrome/android/java/res/layout/most_visited_item.xml

Issue 2673003003: Rename MostVisited ui bits to Tile(Grid). (Closed)
Patch Set: Rebase. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/most_visited_item.xml
diff --git a/chrome/android/java/res/layout/most_visited_item.xml b/chrome/android/java/res/layout/most_visited_item.xml
deleted file mode 100644
index 886326745d7212f2950fb2dad333d9cee71a52bf..0000000000000000000000000000000000000000
--- a/chrome/android/java/res/layout/most_visited_item.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright 2015 The Chromium Authors. All rights reserved.
- Use of this source code is governed by a BSD-style license that can be
- found in the LICENSE file. -->
-
-<!-- A most visited item, for display on the new tab page. -->
-<org.chromium.chrome.browser.ntp.MostVisitedItemView
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:chrome="http://schemas.android.com/apk/res-auto"
- android:layout_width="@dimen/most_visited_tile_width"
- android:layout_height="wrap_content"
- android:paddingStart="4dp"
- android:paddingEnd="4dp" >
-
- <ImageView
- android:id="@+id/most_visited_icon"
- android:layout_width="@dimen/most_visited_icon_size"
- android:layout_height="@dimen/most_visited_icon_size"
- android:layout_marginStart="12dp"
- android:layout_marginEnd="12dp"
- android:layout_marginTop="12dp"
- android:contentDescription="@null" />
-
- <org.chromium.chrome.browser.widget.TintedImageView
- android:id="@+id/offline_badge"
- android:layout_width="@dimen/most_visited_offline_badge_size"
- android:layout_height="@dimen/most_visited_offline_badge_size"
- android:layout_marginStart="48dp"
- android:visibility="gone"
- android:background="@drawable/offline_badge_background"
- android:contentDescription="@string/accessibility_ntp_offline_badge"
- chrome:tint="@color/most_visited_offline_badge_tint"
- android:src="@drawable/offline_pin_round" />
-
- <View
- android:layout_width="@dimen/most_visited_icon_size"
- android:layout_height="@dimen/most_visited_icon_size"
- android:layout_marginStart="12dp"
- android:layout_marginEnd="12dp"
- android:layout_marginTop="12dp"
- android:background="@drawable/most_visited_item_highlight" />
-
- <TextView
- android:id="@+id/most_visited_title"
- android:layout_width="72dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="66dp"
- android:ellipsize="end"
- android:gravity="center_horizontal"
- android:lines="2"
- android:lineSpacingMultiplier="1.17"
- android:textColor="@color/most_visited_text"
- android:textSize="12sp" />
-
-</org.chromium.chrome.browser.ntp.MostVisitedItemView>

Powered by Google App Engine
This is Rietveld 408576698