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

Unified Diff: chrome/android/java/res/layout/preference_address_float_label_layout.xml

Issue 872023002: Use floating labels for preference forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor changes Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/preference_address_float_label_layout.xml
diff --git a/chrome/android/java/res/layout/preference_address_float_label_layout.xml b/chrome/android/java/res/layout/preference_address_float_label_layout.xml
new file mode 100644
index 0000000000000000000000000000000000000000..42f04223e764e1b4a6cd058cd6b69e1c0d955f3c
--- /dev/null
+++ b/chrome/android/java/res/layout/preference_address_float_label_layout.xml
@@ -0,0 +1,17 @@
+<?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. -->
+
+<org.chromium.chrome.browser.widget.FloatLabelLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/float_label_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+ <EditText
+ android:id="@+id/address_edit_text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:inputType="textPostalAddress|textCapWords" />
+</org.chromium.chrome.browser.widget.FloatLabelLayout>
« no previous file with comments | « chrome/android/java/res/layout/homepage_preferences.xml ('k') | chrome/android/java/res/values-v17/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698