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

Side by Side Diff: content/public/android/java/res/layout-v21/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 Lollipop and later (this file), we draw a drop shadow using elevatio n.
12 On pre-Lollipop, we instead draw the drop shadow using
13 @drawable/dropdown_popup_background. -->
14 <LinearLayout
15 style="@style/TextSuggestionWindowContainer"
16 android:id="@+id/suggestionWindowContainer"
17 android:background="@drawable/floating_popup_background_light"
18 android:elevation="2dp"
19 tools:ignore="UselessParent">
Theresa 2017/07/18 15:37:51 Can you please try removing ReleativeLayout instea
rlanday 2017/07/19 00:23:55 Ok, I experimented a bit and found a way to do thi
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