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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:tools="http://schemas.android.com/tools" |
| 8 android:layout_width="wrap_content" |
| 9 android:layout_height="wrap_content"> |
| 10 <LinearLayout |
| 11 android:id="@+id/suggestionWindowContainer" |
| 12 android:layout_width="match_parent" |
| 13 android:layout_height="wrap_content" |
| 14 android:background="@drawable/floating_popup_background_light" |
| 15 android:elevation="2dp" |
| 16 android:layout_margin="20dp" |
| 17 android:orientation="vertical" |
| 18 android:divider="?android:attr/listDivider" |
| 19 android:showDividers="middle" |
| 20 tools:ignore="UselessParent"> |
| 21 <ListView |
| 22 android:id="@+id/suggestionContainer" |
| 23 android:layout_width="match_parent" |
| 24 android:layout_height="wrap_content" |
| 25 android:paddingTop="4dp" |
| 26 android:paddingBottom="0dp" /> |
| 27 <LinearLayout |
| 28 android:layout_width="wrap_content" |
| 29 android:layout_height="wrap_content" |
| 30 android:orientation="vertical"> |
| 31 <TextView |
| 32 style="@style/TextSuggestionButton" |
| 33 android:id="@+id/addToDictionaryButton" |
| 34 android:text="@string/add_to_dictionary" /> |
| 35 <TextView |
| 36 style="@style/TextSuggestionButton" |
| 37 android:id="@+id/deleteButton" |
| 38 android:text="@string/delete_suggestion_text" /> |
| 39 </LinearLayout> |
| 40 </LinearLayout> |
| 41 </RelativeLayout> |
OLD | NEW |