Commit 5f03a193 by Lee Jaebin

全画面から右・左よりの1/3画面表示に変更

parent 3a2702bb
...@@ -365,11 +365,9 @@ public class OperationTaskLayout extends RelativeLayout { ...@@ -365,11 +365,9 @@ public class OperationTaskLayout extends RelativeLayout {
} else { } else {
DisplayMetrics displayMetrics = getResources().getDisplayMetrics(); DisplayMetrics displayMetrics = getResources().getDisplayMetrics();
// #32926 作業報告画面改善 start
// 作業報告画面を全画面に表示する int halfWidth = (int) (displayMetrics.density * OperationTaskLayout.HALF_WIDTH);
int screenWidth = displayMetrics.widthPixels; params = createParam(halfWidth, ViewGroup.LayoutParams.WRAP_CONTENT);
params = createParam(screenWidth, ViewGroup.LayoutParams.WRAP_CONTENT);
// #32926 作業報告画面改善 end
if (!StringUtil.isNullOrEmpty(taskKey)) { if (!StringUtil.isNullOrEmpty(taskKey)) {
TaskDto taskDto = mTaskDao.getTaskByTaskKey(taskKey); TaskDto taskDto = mTaskDao.getTaskByTaskKey(taskKey);
......
...@@ -184,6 +184,7 @@ public class ZoomRelativeLayout extends RelativeLayout { ...@@ -184,6 +184,7 @@ public class ZoomRelativeLayout extends RelativeLayout {
canvas.concat(imgMatrix); canvas.concat(imgMatrix);
} }
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
invalidate();
canvas.restore(); canvas.restore();
} }
......
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