Chromium Code Reviews| Index: content/public/android/java/res/layout/text_edit_suggestion_container.xml |
| diff --git a/content/public/android/java/res/layout/text_edit_suggestion_container.xml b/content/public/android/java/res/layout/text_edit_suggestion_container.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..61c688caff1909c29ab2ea6df5910b2aeb70e5f2 |
| --- /dev/null |
| +++ b/content/public/android/java/res/layout/text_edit_suggestion_container.xml |
| @@ -0,0 +1,25 @@ |
| +<?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_container_material.xml --> |
| +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| + xmlns:tools="http://schemas.android.com/tools" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content"> |
| + <!-- On pre-Lollipop (this file), we draw a drop shadow using |
| + @drawable/dropdown_popup_background. |
| + On Lollipop and later, we instead use @drawable/floating_popup_background_light (which does |
| + not draw a drop shadow) and produce the effect using elevation. --> |
| + <LinearLayout |
| + style="@style/TextSuggestionWindowContainer" |
| + android:id="@+id/suggestionWindowContainer" |
| + android:background="@drawable/dropdown_popup_background" |
| + tools:ignore="UselessParent"> |
|
Theresa
2017/07/18 15:37:51
Same comment here.
|
| + <ListView |
| + android:id="@+id/suggestionContainer" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" /> |
| + </LinearLayout> |
| +</RelativeLayout> |