Set Background as null

后端 未结 5 1740
时光取名叫无心
时光取名叫无心 2021-02-13 03:36

If I use the following line in the xml layout:

android:background=\"@null\"
  1. Is it safe?
  2. Is effective from a performance point o
5条回答
  •  囚心锁ツ
    2021-02-13 04:14

    If background is not needed then there is no need to mention it in xml. At least it will be one less parsing of XML element.

提交回复
热议问题