Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Side by Side Diff: content/public/android/java/res/layout-v21/text_edit_suggestion_container.xml

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7
8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:tools="http://schemas.android.com/tools"
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content">
12 <LinearLayout
13 android:id="@+id/suggestionWindowContainer"
14 android:layout_width="match_parent"
15 android:layout_height="wrap_content"
16 android:background="@drawable/floating_popup_background_light"
17 android:elevation="2dp"
18 android:layout_margin="20dp"
19 android:orientation="vertical"
20 android:divider="?android:attr/listDivider"
21 android:showDividers="middle"
22 tools:ignore="UselessParent">
23 <ListView
24 android:id="@+id/suggestionContainer"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:paddingTop="4dp"
28 android:paddingBottom="0dp"
29 android:divider="@null" />
30 <LinearLayout
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:orientation="vertical">
34 <TextView
35 android:id="@+id/deleteButton"
36 android:text="@string/delete_text"
37 android:textAppearance="@android:style/TextAppearance.Material.But ton"
38 android:textColor="?@android:attr/colorAccent"
39 android:drawablePadding="8dip"
40 android:gravity="start|center_vertical"
41 android:layout_gravity="start|center_vertical"
42 android:layout_height="48dip"
43 android:layout_width="match_parent"
44 android:paddingBottom="8dip"
45 android:paddingEnd="16dip"
46 android:paddingStart="16dip"
47 android:paddingTop="8dip"
48 android:singleLine="true"
49 android:textAllCaps="true"
50 android:textSize="14sp" />
51 </LinearLayout>
52 </LinearLayout>
53 </RelativeLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698