How to put TODO comments in xml?
You can use XML comments <!--
... -->
with TODO
tags, e.g.
<!-- TODO remember the milk -->
Note that XML comments need to be at the tag level, that is
<!-- TODO ... --><SomeElement .../>
and not inside the tag like
<SomeElement <!-- TODO this won't work --> />
XML TODO comments are now visible afterwards Android Studio 3
in TODO list. To use them you can use it like below:
<!-- TODO Pending task --><android.support.v7.widget.CardView
Make sure to use it above Element/View in XML and not in-between.