Related questions
Question 361 - H14-231_V1.0 discussion
If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?
A.
Add tag elements such as styleable and item to values/attrs.xml
B.
In the constructor with the AttrSet parameter of the custom component, use attrSet.getAttr('XxX').get().getStringValue() to get the property
C.
Add xmlns:app='http://schemas.huawei.com/apk/ res/ohos' to the layout.xml of the component definition
D.
In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100) to get the property
Your answer:
0 comments
Sorted by
Leave a comment first