Index: content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml |
diff --git a/content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml b/content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9be231ce6657a91e872c22bdc2678f4283bc40cd |
--- /dev/null |
+++ b/content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml |
@@ -0,0 +1,20 @@ |
+<?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 --> |
+<!-- On Lollipop and later (this file), we draw a drop shadow by programmatically setting elevation |
+ on the PopupWindow. |
+ On pre-Lollipop, we instead draw the drop shadow using |
+ @drawable/dropdown_popup_background. --> |
+ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ style="@style/TextSuggestionWindowContainer" |
+ android:id="@+id/suggestionWindowContainer" |
+ android:background="@drawable/floating_popup_background_light"> |
Theresa
2017/07/19 15:10:50
Since the only difference in the two files is now
rlanday
2017/07/19 22:03:43
Done
|
+ <ListView |
+ android:id="@+id/suggestionContainer" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" /> |
+</LinearLayout> |