am 0df6a277: Merge "Grey out settings icon when it is in disabled state"

* commit '0df6a2771d92e355e122195d3dceaf9a2b264ee5':
  Grey out settings icon when it is in disabled state
This commit is contained in:
Amith Yamasani
2012-12-12 09:55:56 -08:00
committed by Android Git Automerger
6 changed files with 23 additions and 9 deletions

View File

@@ -79,6 +79,11 @@ public class Utils {
*/
public static final int UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY = 1;
/**
* The opacity level of a disabled icon.
*/
public static final float DISABLED_ALPHA = 0.4f;
/**
* Name of the meta-data item that should be set in the AndroidManifest.xml
* to specify the icon that should be displayed for the preference.