单项选择题

静态使用Fragment时,fragment设置要显示的UI视图需要在哪里设置()

A.引用xml<fragment>标签里设置layout属性
B.activity中
C.Fragment的onCreateView()回调里
D.style.xml中