How do you get “android:” tag values in a Custom View

前端 未结 2 2062
太阳男子
太阳男子 2020-12-24 10:48

There seems to be a lot of \"similar\" questions and answers to this scattered around which all refer to how to get a custom attribute from an AttributeSet. Wha

2条回答
  •  时光说笑
    2020-12-24 11:48

    The namespace should be "http://schemas.android.com/apk/res/android" android is an alias declared in your xml file

提交回复
热议问题