在以下XML中,對元素屬性發表評論的替代方法是什麼?XML內部元素
<!-- I can comment here -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView_ben"
<!-- Cannot place a comment here -->
android:layout_centerHorizontal="true"/>
請參閱http://stackoverflow.com/questions/26461869/how-to-comment-attributes-inside-xml-tag – DAB