public class testView extends View { private
Drawable newDrawable = getResources().getDrawable(mImageIds[newState])