Commit 8f5db143 by Lee Jaebin

#34190 作業種別毎に作業を絞り込み機能追加

parent ff852384
...@@ -2071,6 +2071,10 @@ public class OperationListActivity extends ABVUIActivity { ...@@ -2071,6 +2071,10 @@ public class OperationListActivity extends ABVUIActivity {
if (helper.getStackSize() > 1) { if (helper.getStackSize() > 1) {
dialog.setListViewAdapter(adapter); dialog.setListViewAdapter(adapter);
String backToName = helper.getPrePeekName(); String backToName = helper.getPrePeekName();
// スマートフォン端末で20文字を超えた場合、20文字まで切り落として後ろに...をつけて表示
if (isNormalSize() && backToName.length() > 20) {
backToName = backToName.substring(0, 20) + "...";
}
dialog.setHeaderItemOnClickListener(backToName, new View.OnClickListener() { dialog.setHeaderItemOnClickListener(backToName, new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
......
...@@ -95,7 +95,7 @@ public class OperationGroupMasterListHelper extends HierarchyOperationListHelper ...@@ -95,7 +95,7 @@ public class OperationGroupMasterListHelper extends HierarchyOperationListHelper
removeBreadCrumbs(breadCrumbList.get(breadCrumbList.size() - 1)); removeBreadCrumbs(breadCrumbList.get(breadCrumbList.size() - 1));
} }
// 移動した作業種別のIDセット // 移動した作業種別のIDセット
mAppActivity.setOperationGroupMasterId(stack.get(getStackSize() - 1).parentOperationGroupMasterId); mAppActivity.setOperationGroupMasterId(stack.get(getStackSize() - 1).operationGroupMasterId);
breadCrumbList.get(breadCrumbList.size() - 1); breadCrumbList.get(breadCrumbList.size() - 1);
if (isReload) { if (isReload) {
......
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