1

Is it possible to deprecate a custom attribute?

Example:

<?xml version="1.0" encoding="utf-8"?>
<resources>
   <declare-styleable name="MyCustomView">
       <!-- {@deprecated Use foobar instead.} -->
      <attr name="my_title" format="string"/>
      <attr name="title_text_size" format="dimension"/>
   </declare-styleable>
</resources>

This doesn't seem to work.

Regards, Scott.

scottazord
  • 178
  • 2
  • 16

0 Answers0