Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |