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

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: Re-fix findbugs 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..1d15b88c05027a425cbb69ca95bb753b80eb8c79
--- /dev/null
+++ b/chrome/android/java/res/layout/preference_address_float_label_layout.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 The Chromium Authors. All rights reserved.
newt (away) 2015/01/29 20:00:37 2015
Theresa 2015/01/29 22:31:11 Done.
+ 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"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
newt (away) 2015/01/29 20:00:37 remove app namespace
Theresa 2015/01/29 22:31:11 Done.
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/float_label_layout" >
newt (away) 2015/01/29 20:00:37 put id about layout_* attributes
Theresa 2015/01/29 22:31:11 Done.
+ <EditText
+ android:id="@+id/address_edit_text"
+ android:singleLine="true"
newt (away) 2015/01/29 20:00:37 put singleLine after layout_* attributes.
Theresa 2015/01/29 22:31:11 Done.
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType = "textPostalAddress|textCapWords" />
newt (away) 2015/01/29 20:00:37 remove spaces around "="
Theresa 2015/01/29 22:31:11 Done.
+</org.chromium.chrome.browser.widget.FloatLabelLayout>

Powered by Google App Engine
This is Rietveld 408576698