给Fragment设置style

来源:互联网 发布:英语转换器 中文软件 编辑:程序博客网 时间:2024/05/10 09:22
<span style="font-family: Arial, Helvetica, sans-serif;">// 设置fragment的style</span>
final Context contextThemeWrapper = new ContextThemeWrapper(getActivity(), R.style.StyledIndicators);LayoutInflater localInflater = inflater.cloneInContext(contextThemeWrapper);rootView = localInflater.inflate(R.layout.sp_fragment_status, null);

0 0
原创粉丝点击