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

Unified Diff: ui/android/java/res/layout/autofill_keyboard_accessory_item.xml

Issue 1260583004: Gray horizontal keyboard accessory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Newton's comments 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 side-by-side diff with in-line comments
Download patch
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..44639a0fa7330b46424a455df4bfb0e9fa792c87
--- /dev/null
+++ b/ui/android/java/res/layout/autofill_keyboard_accessory_item.xml
@@ -0,0 +1,44 @@
+<?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"
+ android:layout_height="@dimen/keyboard_accessory_height"
+ android:layout_width="wrap_content"
+ android:background="@drawable/autofill_chip_inset"
+ android:paddingEnd="@dimen/keyboard_accessory_padding"
+ android:paddingStart="@dimen/keyboard_accessory_padding">
+
+ <TextView
+ android:id="@+id/autofill_keyboard_accessory_item_label"
+ android:layout_height="match_parent"
+ android:layout_width="wrap_content"
+ 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: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_sublabel"
+ android:layout_height="match_parent"
+ android:layout_width="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdgeLength="@dimen/keyboard_accessory_fading_edge_length"
+ android:gravity="center_vertical"
+ 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>
« no previous file with comments | « ui/android/java/res/drawable/autofill_chip_inset.xml ('k') | ui/android/java/res/layout/autofill_suggestion_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698