Commit fa6482c7 by Lee Jaebin

#32565 PDF作業登録改善

parent 15f6b3ab
......@@ -66,7 +66,7 @@ public class TaskReportDao extends AbstractDao {
+ "attached_file_send_flg, "
+ "data_send_flg) "
+ "values "
+ "(?,?,?,?,?,?,?)",
+ "(?,?,?,?,?,?)",
dto.getInsertValues());
}
......
......@@ -10,21 +10,24 @@
android:id="@+id/btn_pin_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2px"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginBottom="20px"
android:layout_marginEnd="2px"
android:layout_marginLeft="2px"
android:layout_marginRight="2px"
android:background="@drawable/ic_hidden_show_directions_button"
android:visibility="visible"/>
android:visibility="visible" />
<ImageButton
android:id="@+id/btn_hide_task_direct"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2px"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_margin="2px"
android:background="@drawable/ic_hidden_show_directions_button"
android:visibility="visible"/>
android:visibility="visible" />
<ImageButton
android:id="@+id/btn_scale_zoom_plus"
......
......@@ -5122,7 +5122,8 @@ public class ContentViewActivity extends ABVContentViewActivity {
public void showOperationTaskLayout(ZoomRelativeLayout layout, OperationTaskDto operationTaskDto, float clickX) {
//setCurrentOperationTask(layout, currentTaskDto);
operationTaskLayout.showTaskForm(layout, mXWalkOpenType, operationTaskDto, isNormalSize(), clickX);
// 拡大・縮小・切替ボタンの非表示
mScaleZoomLayout.setVisibility(View.INVISIBLE);
isOpenedOperationTask = true;
}
......@@ -5130,8 +5131,11 @@ public class ContentViewActivity extends ABVContentViewActivity {
String taskKey = checkParam.get(ABookKeys.TASK_KEY);
String taskCode = "";
// フォームが閉いているフラグをfalseに設定
// フォームが閉じられたと見做すので、以下の処理を行う
isOpenedOperationTask = false;
// 拡大・縮小・切替ボタンの表示
mScaleZoomLayout.setVisibility(View.VISIBLE);
if (operationTaskLayout.currentLayout != null && !StringUtil.isNullOrEmpty(taskKey)) {
switch(cmd){
case ABookKeys.CMD_INSERT_TASK_DIRECTIONS:
......@@ -5163,7 +5167,13 @@ public class ContentViewActivity extends ABVContentViewActivity {
}
}
/**
* 作業一覧レイアウトを非表示処理
*/
public void hideOperationTaskLayout() {
// 拡大・縮小・切替ボタンの表示
mScaleZoomLayout.setVisibility(View.VISIBLE);
operationTaskLayout.setVisibility(View.INVISIBLE);
operationTaskLayout.currentTaskDto = null;
setOperationTaskViewStatus(false);
......@@ -5228,6 +5238,9 @@ public class ContentViewActivity extends ABVContentViewActivity {
@Override
public void showTaskList() {
// 拡大・縮小・切替ボタンの非表示
mScaleZoomLayout.setVisibility(View.INVISIBLE);
operationTaskLayout.showTaskList(mCurrentPageNumber, isNormalSize());
}
......
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