fragment添加style

来源:互联网 发布:公司网络维护 编辑:程序博客网 时间:2024/05/20 21:57

final Context contextThemeWrapper = new ContextThemeWrapper(getActivity(), R.style.Styled);LayoutInflater localInflater = inflater.cloneInContext(contextThemeWrapper);View rootView = localInflater.inflate(R.layout.main, null);
0 0
原创粉丝点击