ITeye博客

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

矮蛋蛋 · 2012-07-20 09:26 · Android基础 · 移动开发 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。