13e13ddd4e3d1e7c10b55b6e3fe47d6bfd317ed3 |
|
22-Oct-2014 |
Alan Viverette <alanv@google.com> |
Format ListPreference summary with empty string if entry is null Adding serif-monospace and sans-serif-monospace font families bumped out the previous monospace, which left the summary as %s. Returning an unformatted summary is never correct, and we should simply return a summary populated with an empty string. BUG: 17666124 Change-Id: Ic22dc5dc87d9ba3ad6f6b92ee059f5c98cbf103a
/frameworks/base/core/java/android/preference/ListPreference.java
|
599d2a49e84bf0a4ee752e263a2c29d2ae942c3e |
|
16-Sep-2013 |
Alan Viverette <alanv@google.com> |
Fix default style attr in DialogPreference subclass constructors BUG: 10751709 Change-Id: Ia7fa91e52881b46d39711d2adc43330014234a55
/frameworks/base/core/java/android/preference/ListPreference.java
|
617feb99a06e7ffb3894e86a286bf30e085f321a |
|
10-Sep-2013 |
Alan Viverette <alanv@google.com> |
Add View constructor that supplies a default style resource Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/preference/ListPreference.java
|
94c02a1a1a6d7e6900e5a459e9cc699b9510e5a2 |
|
23-Jul-2013 |
Alan Viverette <alanv@google.com> |
Fix handling of ListPreference.setValue() Previously, setValue() was not calling notifyChanged(). This prevented the summary from updating correctly. Now it calls notifyChanged() the first time it's called and when the value actually changes. BUG: 9987962 Change-Id: I02dd4be6bde2969f39d30921a62a7ba908128e0e
/frameworks/base/core/java/android/preference/ListPreference.java
|
ba636df784398e4cd56f2982de63973ef6cd44fb |
|
13-Jul-2010 |
Kenny Root <kroot@google.com> |
Allow ListPreference summary to use entry Currently when ListPreferences are used in a PreferenceActivity, the summary values are set to the same as the current index in mEntryValue. This patch adds the ability for a string substitution to be used in the summary which points to the corresponding entry in mEntries to aid in localization. For example a preference may be named "color" with the following attributes in the locale "de" (German): mEntryValues = { "red", "green", "blue" } mEntries = { "rot", "grün", "blau" } mSummary = "Die Farbe ist %1$s." getSummary() returns "Die Farbe ist grün." Change-Id: Iea169ac3d1c9d6290d853fc7c67a7c4c8a11bb90
/frameworks/base/core/java/android/preference/ListPreference.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/ListPreference.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/ListPreference.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/preference/ListPreference.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/preference/ListPreference.java
|