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

Side by Side Diff: chrome/android/java/res/values/attrs.xml

Issue 872023002: Use floating labels for preference forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually commit AddressField.java Created 5 years, 10 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
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <resources> 6 <resources>
7 <declare-styleable name="TintedImage"> 7 <declare-styleable name="TintedImage">
8 <attr name="tint" format="reference|color" /> 8 <attr name="tint" format="reference|color" />
9 </declare-styleable> 9 </declare-styleable>
10 10
11 <declare-styleable name="HyperlinkPreference"> 11 <declare-styleable name="HyperlinkPreference">
12 <!-- The URL to load when the preference is clicked --> 12 <!-- The URL to load when the preference is clicked -->
13 <attr name="url" format="string" /> 13 <attr name="url" format="string" />
14 <!-- True if the hyperlink should look like an <a> element. Default is f alse. --> 14 <!-- True if the hyperlink should look like an <a> element. Default is f alse. -->
15 <attr name="imitateWebLink" format="boolean" /> 15 <attr name="imitateWebLink" format="boolean" />
16 </declare-styleable> 16 </declare-styleable>
17 17
18 <declare-styleable name="ChromeSwitchPreference"> 18 <declare-styleable name="ChromeSwitchPreference">
19 <!-- Prevents the summary text from being styled like title text in the 19 <!-- Prevents the summary text from being styled like title text in the
20 case that the title is empty. --> 20 case that the title is empty. -->
21 <attr name="dontUseSummaryAsTitle" format="boolean" /> 21 <attr name="dontUseSummaryAsTitle" format="boolean" />
22 </declare-styleable> 22 </declare-styleable>
23
24 <declare-styleable name="FloatLabelLayout">
25 <attr name="floatLabelTextAppearance" format="reference" />
26 <attr name="floatLabelPaddingLeft" format="reference|dimension" />
27 <attr name="floatLabelPaddingRight" format="reference|dimension" />
28 <attr name="floatLabelPaddingTop" format="reference|dimension" />
29 <attr name="floatLabelPaddingBottom" format="reference|dimension" />
30 <!-- The hint to display in the floating label -->
31 <attr name="floatLabelHint" format="reference|string" />
32 </declare-styleable>
23 </resources> 33 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698