最新回答 / 顆Xin呮伱
翻转屏幕时候报错这个Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is ...
2016-06-20
最赞回答 / ABC小书童
是不是在@Overrideprotected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); mPanelWidth = w; mLineHeight = mPanelWidth * 1.0f / MAX_LINE; int pieceWidth = (int) (mLineHeight * ratioPieceOfLineHeight); ...
2016-06-05
最新回答 / ibushi
for (int i = 0, n = mWhiteArray.size(); i < n; i++) { Point whitePoint = mWhiteArray.get(i); int X = (int) ((whitePoint.x + (1-ratioPieceOfLineHeight)/2)*mLineHeight); int Y = (int) ((whitePoint.y + (1-ratioPiec...
2016-06-02