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 android:divider="@null" /> |
| 28 <LinearLayout |
| 29 android:layout_width="wrap_content" |
| 30 android:layout_height="wrap_content" |
| 31 android:orientation="vertical"> |
| 32 <TextView |
| 33 android:id="@+id/deleteButton" |
| 34 android:text="@string/delete_text" |
| 35 android:textAppearance="@android:style/TextAppearance.Material.But
ton" |
| 36 android:textColor="?@android:attr/colorAccent" |
| 37 android:drawablePadding="8dip" |
| 38 android:gravity="start|center_vertical" |
| 39 android:layout_gravity="start|center_vertical" |
| 40 android:layout_height="48dip" |
| 41 android:layout_width="match_parent" |
| 42 android:paddingBottom="8dip" |
| 43 android:paddingEnd="16dip" |
| 44 android:paddingStart="16dip" |
| 45 android:paddingTop="8dip" |
| 46 android:singleLine="true" |
| 47 android:textAllCaps="true" |
| 48 android:textSize="14sp" /> |
| 49 </LinearLayout> |
| 50 </LinearLayout> |
| 51 </RelativeLayout> |
OLD | NEW |