【发布时间】:2017-10-07 20:36:43
【问题描述】:
我已经在我的活动调用 Performance_Medicine 的 tablayout 中实现了滑动
public class Performance_Medicine extends Fragment{
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
//Returning the layout file after inflating
//Change R.layout.tab1 in you classes
return inflater.inflate(R.layout.performance_medicine, container, false);
}
}
现在,我正在尝试在同一活动中实现 cardview。但是出现错误 like below image
【问题讨论】:
标签: android android-fragments android-cardview