summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@android.com>2012-04-18 20:42:54 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-18 20:42:54 -0700
commit0172264bda0b3b018815cb4cdf26b00ccb7d7fe5 (patch)
tree339df95d0d890cd76505ee2feda9a64a04bbe19f /core/res
parentb4781b9b489bc8b0049e1e92b7ab00e32b02b12c (diff)
parent294374bf0af4526ae38301d9200af454e4b0a773 (diff)
downloadframeworks_base-0172264bda0b3b018815cb4cdf26b00ccb7d7fe5.zip
frameworks_base-0172264bda0b3b018815cb4cdf26b00ccb7d7fe5.tar.gz
frameworks_base-0172264bda0b3b018815cb4cdf26b00ccb7d7fe5.tar.bz2
am 294374bf: am 5e542108: Merge "Remove deprecation on android:enabled attribute."
* commit '294374bf0af4526ae38301d9200af454e4b0a773': Remove deprecation on android:enabled attribute.
Diffstat (limited to 'core/res')
-rwxr-xr-xcore/res/res/values/attrs.xml8
1 files changed, 6 insertions, 2 deletions
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.) } -->
<attr name="singleLine" format="boolean" />
- <!-- Specifies whether the TextView is enabled or not. {@deprecated Use state_enabled instead}. -->
+ <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
+ For example, a non-enabled EditText prevents the user from editing the contained text, and
+ a non-enabled Button prevents the user from tapping the button.
+ The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
+ from evaluating state_enabled differ. -->
<attr name="enabled" format="boolean" />
<!-- If the text is selectable, select it all when the view takes
focus instead of moving the cursor to the start or end. -->
@@ -3052,7 +3056,7 @@
<!-- Input is numeric. -->
<flag name="integer" value="0x01" />
<!-- Input is numeric, with sign allowed. -->
- <flag name="signed" value="0x003" />
+ <flag name="signed" value="0x03" />
<!-- Input is numeric, with decimals allowed. -->
<flag name="decimal" value="0x05" />
</attr>