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

Side by Side Diff: content/public/android/java/res/layout/text_edit_suggestion_container.xml

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Reduce code duplication in TextSuggestionController 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <!-- Based on Android's text_edit_suggestion_container_material.xml -->
7 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:tools="http://schemas.android.com/tools"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content">
11 <!-- On pre-Lollipop (this file), we draw a drop shadow using
12 @drawable/dropdown_popup_background.
13 On Lollipop and later, we instead use @drawable/floating_popup_backgrou nd_light (which does
14 not draw a drop shadow) and produce the effect using elevation. -->
15 <LinearLayout
16 style="@style/TextSuggestionWindowContainer"
17 android:id="@+id/suggestionWindowContainer"
18 android:background="@drawable/dropdown_popup_background"
19 tools:ignore="UselessParent">
Theresa 2017/07/18 15:37:51 Same comment here.
20 <ListView
21 android:id="@+id/suggestionContainer"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content" />
24 </LinearLayout>
25 </RelativeLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698