From e0119c9617ba0f16de8e6619e5a08afde20f5ac1 Mon Sep 17 00:00:00 2001 From: Yuku on yuku4 Date: Mon, 16 Apr 2012 16:15:06 +0800 Subject: Remove deprecation on android:enabled attribute. The android:enabled was never deprecated and replaced by android:state_enabled as it was mentioned in the documentation. The attribute android:enabled when applied to a TextView (or its descendants) still works until now. In fact that's the way to disable widgets from layout XMLs. The deprecation made ADT and lint suggest users not to use this attribute. Change-Id: I5e7d7060d9e79a04342ebc723d7937b9bc12a018 Signed-off-by: Yuku on yuku4 --- core/res/res/values/attrs.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/res') diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index af59198..c46283f 100755 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -3021,7 +3021,11 @@ inputType attributes are found, the inputType flags will override the value of singleLine.) } --> - + @@ -3052,7 +3056,7 @@ - + -- cgit v1.1