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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 8 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-v21/text_edit_suggestion_item.xml
diff --git a/content/public/android/java/res/layout-v21/text_edit_suggestion_item.xml b/content/public/android/java/res/layout-v21/text_edit_suggestion_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5a01b59ff96d7827334892459f1e8aee23d7c1d6
--- /dev/null
+++ b/content/public/android/java/res/layout-v21/text_edit_suggestion_item.xml
@@ -0,0 +1,19 @@
+<?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. -->
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:textAppearance="@android:style/TextAppearance.Material.Body1"
+ android:textColor="?android:attr/textColorSecondary"
+ android:drawablePadding="8dip"
+ android:gravity="start|center_vertical"
+ android:layout_gravity="start|center_vertical"
+ android:layout_height="48dip"
+ android:layout_width="match_parent"
+ android:paddingBottom="8dip"
+ android:paddingEnd="16dip"
+ android:paddingStart="16dip"
+ android:paddingTop="8dip"
+ android:singleLine="true"
+ android:textSize="14sp" />

Powered by Google App Engine
This is Rietveld 408576698