Commit b4dc037f by Kang Donghun

#68351 【android api35 Check】ベースが「図面」の作業の報告フォームを開き、テキストの入力を行うとベース画像が下にずれていく

parent 6e68cae2
......@@ -278,7 +278,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
// 作業指示、作業報告
private OperationTaskLayout operationTaskLayout;
private LinearLayout mScaleZoomLayout;
private boolean isOpenedOperationTask = false;
public boolean isOpenedOperationTask = false;
private TaskHotspotJSON mTaskHotspotJSON;
// 移動・タップモードの切り替えボタン
protected ImageButton btnMoveOrClickToggleIcon;
......
......@@ -299,6 +299,12 @@ public class PageView extends ImageView {
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
// 作業入力画面表示時には画面サイズ変更を無視する
if (((ContentViewActivity) getContext()).isOpenedOperationTask) {
Logger.v(TAG, "[onSizeChanged] status isOpenedOperationTask");
return;
}
Logger.v(TAG, "[onSizeChanged]:width=%s height=%s oldw=%s, oldh=%s, pageNumber=%s", w, h, oldw, oldh, mPageNumber);
if ((float)w / h > 0.9 && (float)w / h < 1.1) { // 不正な値の場合無視
return;
......
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