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

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: Consolidate mContentView and mContainerView 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 <!-- On pre-Lollipop (this file), we draw a drop shadow using
8 @drawable/dropdown_popup_background.
9 On Lollipop and later, we instead use @drawable/floating_popup_background_l ight (which does
10 not draw a drop shadow) and produce the effect by programmatically setting elevation on the
11 PopupWindow. -->
12 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
13 style="@style/TextSuggestionWindowContainer"
14 android:background="@drawable/dropdown_popup_background">
15 <ListView
16 android:id="@+id/suggestionContainer"
17 android:layout_width="match_parent"
18 android:layout_height="wrap_content" />
19 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698