Commit 0c051855 by Kim Jinsung

Bug #53770【Android12検証 Check】図面のみ設問を全て設定し送信すると、画面が真っ暗になる

parent 2505445a
...@@ -313,6 +313,16 @@ public class PageView extends ImageView { ...@@ -313,6 +313,16 @@ public class PageView extends ImageView {
} }
float marginX = (width - getCurrentPageWidth()) / 2; float marginX = (width - getCurrentPageWidth()) / 2;
float marginY = (height - getCurrentPageHeight()) / 2; float marginY = (height - getCurrentPageHeight()) / 2;
//#53770 図面作業で、報告中にキーオード表示・非表示時に呼ばれ、画面崩れ問題対応
if(isOperationPdf) {
float mtransX = getMatrixValue(imgMatrix)[Matrix.MTRANS_X];
float mtransY = getMatrixValue(imgMatrix)[Matrix.MTRANS_Y];
if ((mtransX !=0 && marginX == mtransX) || (mtransY != 0 && marginY == mtransY)) {
Logger.e(TAG, "marginX=%s, marginY=%s, mtransX=%s, mtransY=%s", marginX, marginY, mtransX, mtransY);
return;
}
}
Logger.v(TAG, "marginX=%s marginY=%s", marginX, marginY); Logger.v(TAG, "marginX=%s marginY=%s", marginX, marginY);
if (imgMatrix == null) { if (imgMatrix == null) {
imgMatrix = new Matrix(); imgMatrix = new Matrix();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment