我想制作一个具有自己的xml属性的自定义View。我想指定一个标题布局,它将在我的自定义xmlView中膨胀,如下所示:这可能吗?如何从TypedArray获取布局资源?所以最后我想做这样的事情:classMyCustomWidgetextendsFrameLayout{publicProfileTabLayout(Contextcontext,AttributeSetattrs,intdefStyle){super(context,attrs,defStyle);TypedArraya=getContext().obtainStyledAttributes(attrs,R.style