Android defstyle parameter

后端 未结 3 1998
别那么骄傲
别那么骄傲 2021-02-18 19:50

All the classes in Android that can be built using XML have constructors of the form:

Context context, AttributeSet attrs, int defStyle

What is

3条回答
  •  情书的邮戳
    2021-02-18 20:26

    Quote from alanv, project member, "The documentation is incorrect. The third constructor must be an attribute, e.g. R.attr.*"

提交回复
热议问题