Chromium Code Reviews| Index: ui/android/java/res/layout/autofill_keyboard_accessory_item.xml |
| diff --git a/ui/android/java/res/layout/autofill_keyboard_accessory_item.xml b/ui/android/java/res/layout/autofill_keyboard_accessory_item.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c426792ac45ff0a640a731d3f9a0ca701faf0389 |
| --- /dev/null |
| +++ b/ui/android/java/res/layout/autofill_keyboard_accessory_item.xml |
| @@ -0,0 +1,42 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| + Use of this source code is governed by a BSD-style license that can be |
| + found in the LICENSE file. --> |
| + |
| +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
newt (away)
2015/08/03 21:31:24
formatting nit: indent wrapped lines by 4 spaces.
please use gerrit instead
2015/08/05 00:28:07
Done.
|
| + android:background="@drawable/autofill_chip_inset" |
| + android:layout_height="@dimen/keyboard_accessory_height" |
| + android:layout_width="wrap_content" |
| + android:paddingEnd="@dimen/keyboard_accessory_padding" |
| + android:paddingStart="@dimen/keyboard_accessory_padding"> |
| + |
| + <TextView android:id="@+id/autofill_keyboard_accessory_item_name" |
| + android:drawablePadding="@dimen/keyboard_accessory_half_padding" |
| + android:ellipsize="none" |
| + android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length" |
| + android:fontFamily="sans-serif-medium" |
| + android:gravity="center_vertical" |
| + android:layout_height="match_parent" |
|
newt (away)
2015/08/03 21:31:24
put layout_* attributes at the top, after android:
please use gerrit instead
2015/08/05 00:28:07
Done.
|
| + android:layout_width="wrap_content" |
| + android:minWidth="@dimen/keyboard_accessory_chip_height" |
| + android:paddingEnd="@dimen/keyboard_accessory_half_padding" |
| + android:paddingStart="@dimen/keyboard_accessory_half_padding" |
| + android:requiresFadingEdge="horizontal" |
| + android:singleLine="true" |
| + android:textColor="#333" |
| + android:textSize="@dimen/keyboard_accessory_text_size" /> |
| + |
| + <TextView android:id="@+id/autofill_keyboard_accessory_item_label" |
| + android:ellipsize="none" |
| + android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length" |
| + android:gravity="center_vertical" |
| + android:layout_height="match_parent" |
| + android:layout_width="wrap_content" |
| + android:paddingEnd="@dimen/keyboard_accessory_half_padding" |
| + android:requiresFadingEdge="horizontal" |
| + android:singleLine="true" |
| + android:textColor="#646464" |
| + android:textSize="@dimen/keyboard_accessory_text_size" |
| + android:visibility="gone" /> |
| + |
| +</LinearLayout> |