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

Side by Side Diff: ui/android/java/res/layout/autofill_keyboard_accessory_item.xml

Issue 1281323003: Remove items on long press in keyboard accessory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First patch Created 5 years, 4 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
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_height="@dimen/keyboard_accessory_height" 7 android:layout_height="@dimen/keyboard_accessory_height"
8 android:layout_width="wrap_content" 8 android:layout_width="wrap_content"
9 android:background="@drawable/autofill_chip_inset" 9 android:background="@drawable/autofill_chip_inset"
10 android:longClickable="true"
newt (away) 2015/08/10 20:39:36 This isn't needed. setOnLongClickListener() automa
please use gerrit instead 2015/08/11 20:42:19 Done.
10 android:paddingEnd="@dimen/keyboard_accessory_padding" 11 android:paddingEnd="@dimen/keyboard_accessory_padding"
11 android:paddingStart="@dimen/keyboard_accessory_padding"> 12 android:paddingStart="@dimen/keyboard_accessory_padding">
12 13
13 <TextView 14 <TextView
14 android:id="@+id/autofill_keyboard_accessory_item_label" 15 android:id="@+id/autofill_keyboard_accessory_item_label"
15 android:layout_height="match_parent" 16 android:layout_height="match_parent"
16 android:layout_width="wrap_content" 17 android:layout_width="wrap_content"
17 android:drawablePadding="@dimen/keyboard_accessory_half_padding" 18 android:drawablePadding="@dimen/keyboard_accessory_half_padding"
18 android:ellipsize="none" 19 android:ellipsize="none"
19 android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length" 20 android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length"
(...skipping 15 matching lines...) Expand all
35 android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length" 36 android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length"
36 android:gravity="center_vertical" 37 android:gravity="center_vertical"
37 android:paddingEnd="@dimen/keyboard_accessory_half_padding" 38 android:paddingEnd="@dimen/keyboard_accessory_half_padding"
38 android:requiresFadingEdge="horizontal" 39 android:requiresFadingEdge="horizontal"
39 android:singleLine="true" 40 android:singleLine="true"
40 android:textColor="#646464" 41 android:textColor="#646464"
41 android:textSize="@dimen/keyboard_accessory_text_size" 42 android:textSize="@dimen/keyboard_accessory_text_size"
42 android:visibility="gone" /> 43 android:visibility="gone" />
43 44
44 </LinearLayout> 45 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698