android - 使用FadingActionBarHelper,为啥设置了actionbar 的背景会没用??
阿神
阿神 2017-04-17 17:40:53
0
0
359
 @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    //View view=inflater.inflate(R.layout.jobwanted_jobsearch,null);
    View view=helper.createView(inflater);
    init(view);
    jobInfos.clear();
    return view;
}

@Override
public void onAttach(Activity activity) {
    super.onAttach(activity);
    helper=new FadingActionBarHelper()
            .actionBarBackground(R.mipmap.background)
            .headerLayout(R.layout.jobhomepagefragment_ad)
            .contentLayout(R.layout.jobwanted_jobsearch);
    helper.initActionBar(activity);
}
设置了ActionBar的背景,但是就是不显示,这该咋怎啊???
阿神
阿神

闭关修行中......

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template