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

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

Issue 1436743002: Integrate new Reader Mode panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scene-layer-changes
Patch Set: findbugs and low-end devices Created 5 years, 1 month 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/reader_mode_control.xml
diff --git a/chrome/android/java/res/layout/reader_mode_control.xml b/chrome/android/java/res/layout/reader_mode_control.xml
deleted file mode 100644
index 64a440883b601790fa65e9333ed74d11005ee183..0000000000000000000000000000000000000000
--- a/chrome/android/java/res/layout/reader_mode_control.xml
+++ /dev/null
@@ -1,61 +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. -->
-
-<!-- Reader Mode view. -->
-<org.chromium.chrome.browser.widget.ReaderModeControl
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/reader_mode_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:background="#FFF"
- android:gravity="center_vertical|start"
- android:orientation="vertical"
- >
-
- <!-- Lint flags this as a false positive overlap. -->
- <!--suppress RelativeOverlap -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="56dp">
- <ImageView
- android:id="@+id/main_icon"
- android:src="@drawable/infobar_mobile_friendly"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_alignParentStart="true"
- android:layout_centerVertical="true"
- android:contentDescription="@null"
- />
- <TextView
- android:id="@+id/main_text"
- android:text="@string/reader_view_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- android:layout_toEndOf="@id/main_icon"
- android:layout_toStartOf="@+id/main_close"
- android:layout_centerVertical="true"
- android:ellipsize="end"
- android:singleLine="true"
- android:fontFamily="sans-serif"
- android:textColor="#333333"
- android:textSize="@dimen/reader_mode_text_size"
- />
- <ImageView
- android:id="@+id/main_close"
- android:src="@drawable/btn_close"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:scaleType="centerInside"
- android:layout_marginEnd="16dp"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:contentDescription="@string/close"
- />
- </RelativeLayout>
-</org.chromium.chrome.browser.widget.ReaderModeControl>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698