If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?
Add tag elements such as styleable and item to values/attrs.xml
In the constructor with the AttrSet parameter of the custom component, useattrSet.getAttr("XxX").get().getStringValue() to get the property
Add xmlns:app="http://schemas.huawei.com/apk/ res/ohos"to the layout.xml of the component definition
In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100)to get the property
Submit