Fragment的使用

来源:互联网 发布:徐州淘宝产业链 编辑:程序博客网 时间:2024/06/05 11:33


3.public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {4.//得到页视图5.        View view = inflater.inflate(R.layout.fragment_4, null, false);return view;
       //bitmap转化        final Bitmap news1bm= ((BitmapDrawable)( getResources().getDrawable(R.drawable.ic_launcher))).getBitmap();


0 0
原创粉丝点击