摘要:
public int getId(String str){ Class cls = R.drawable.class; int value = 0; try { value = cls.getDeclaredField(str).getInt(null); } catch (IllegalArgumentException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (NoSuchFi... 阅读全文
posted @ 2013-06-27 11:47
linsen@java
阅读(280)
评论(0)
推荐(0)

浙公网安备 33010602011771号