当前位置:首页 > 开发 > 移动开发 > 正文

修改包名后,R文件修改问题

发表于: 2012-07-20   作者:矮蛋蛋   来源:转载   浏览:
res
摘要: public class Res { //    public static final R.anim anim = new R.anim();     public static final R.array array = new R.array();     public static final
public class Res {
//    public static final R.anim anim = new R.anim();
    public static final R.array array = new R.array();
    public static final R.attr attr = new R.attr();
//    public static final R.bool bool = new R.bool();
//    public static final R.color color = new R.color();
//    public static final R.dimen dimen = new R.dimen();
    public static final R.drawable drawable = new R.drawable();
    public static final R.id id = new R.id();
//    public static final R.integer integer = new R.integer();
    public static final R.layout layout = new R.layout();
//    public static final R.plurals plurals = new R.plurals();
//    public static final R.raw raw = new R.raw();
    public static final R.string string = new R.string();
//    public static final R.style style = new R.style();
//    public static final R.styleable = new R.styleable();
    public static final R.xml xml = new R.xml();
}

省去挨个类修改R

修改包名后,R文件修改问题

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号