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

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

Issue 2382913004: Move autofill from ui/ to components/ (Closed)
Patch Set: move dimens cleanly Created 4 years, 2 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 <!-- Copyright 2015 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_height="@dimen/keyboard_accessory_height"
8 android:layout_width="wrap_content"
9 android:background="@drawable/autofill_chip_inset"
10 android:paddingEnd="@dimen/keyboard_accessory_padding"
11 android:paddingStart="@dimen/keyboard_accessory_padding">
12
13 <TextView
14 android:id="@+id/autofill_keyboard_accessory_item_label"
15 android:layout_height="match_parent"
16 android:layout_width="wrap_content"
17 android:drawablePadding="@dimen/keyboard_accessory_half_padding"
18 android:ellipsize="end"
19 android:fontFamily="sans-serif-medium"
20 android:gravity="center_vertical"
21 android:minWidth="@dimen/keyboard_accessory_chip_height"
22 android:paddingEnd="@dimen/keyboard_accessory_half_padding"
23 android:paddingStart="@dimen/keyboard_accessory_half_padding"
24 android:singleLine="true"
25 android:textColor="#333"
26 android:textSize="@dimen/keyboard_accessory_text_size" />
27
28 <TextView
29 android:id="@+id/autofill_keyboard_accessory_item_sublabel"
30 android:layout_height="match_parent"
31 android:layout_width="wrap_content"
32 android:ellipsize="end"
33 android:gravity="center_vertical"
34 android:paddingEnd="@dimen/keyboard_accessory_half_padding"
35 android:singleLine="true"
36 android:textColor="#646464"
37 android:textSize="@dimen/keyboard_accessory_text_size"
38 android:visibility="gone" />
39
40 </LinearLayout>
OLDNEW
« no previous file with comments | « ui/android/java/res/layout/autofill_keyboard_accessory_icon.xml ('k') | ui/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698