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

Unified Diff: content/public/android/java/res/layout/text_edit_suggestion_item.xml

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Respond to latest comments Created 3 years, 5 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: content/public/android/java/res/layout/text_edit_suggestion_item.xml
diff --git a/content/public/android/java/res/layout/text_edit_suggestion_item.xml b/content/public/android/java/res/layout/text_edit_suggestion_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b8084a18fb1de13312560d1667aee1d6dada1fd0
--- /dev/null
+++ b/content/public/android/java/res/layout/text_edit_suggestion_item.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 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. -->
+
+<!-- Based on Android's text_edit_suggestion_item.xml -->
Theresa 2017/07/20 00:50:33 nit: is this comment still valid?
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:textSize="14sp"
+ android:fontFamily="sans-serif"
+ android:textColor="?android:attr/textColorPrimary"
+ android:drawablePadding="8dp"
+ android:gravity="start|center_vertical"
+ android:layout_gravity="start|center_vertical"
+ android:layout_height="@dimen/text_edit_suggestion_item_layout_height"
+ android:layout_width="match_parent"
+ android:paddingBottom="8dp"
+ android:paddingEnd="16dp"
+ android:paddingStart="16dp"
+ android:paddingTop="8dp"
+ android:singleLine="true" />

Powered by Google App Engine
This is Rietveld 408576698