Android checkbox state_enabled

前端 未结 1 1059
眼角桃花
眼角桃花 2021-02-19 05:09

the xml element \"enabled\" for a checkbox is deprecated. Eclipse tells me to use state_enabled instead. I tried to add

android:state_enabled=\"false\"


        
相关标签:
1条回答
  • 2021-02-19 06:05

    This thread discusses this. Romain Guy says it is not deprecated but perhaps some bug/issue in Eclipse or the ADT editor causes it to show up in the deprecated section.

    0 讨论(0)
提交回复
热议问题