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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user