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 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> | |
OLD | NEW |