public void RdialogSmg() { if (dialog != null) { mControl.removeViewInLayout(dialog); dialog = null; MG.setFocusable(true); MG.requestFocus(); } }
public void RbalancerSmg() { if (balancer != null) { mControl.removeViewInLayout(balancer); balancer = null; MG.setFocusable(true); MG.requestFocus(); } }
public void RpbvhideSmg() { if (pBV != null) { mControl.removeViewInLayout(pBV); pBV = null; MG.setFocusable(true); MG.requestFocus(); } }
public void RpbvSmg() { if (pBV != null) { mControl.removeViewInLayout(pBV); pBV = null; mControl.addView(MG); MG.setFocusable(true); MG.requestFocus(); MG.myinvalidate(); } }
public void showProgressBar(String MenuItemName, String initnum) { if (pBV == null) { int offset = 0; if (MGroupBGKind == MenuGroup.noplayer) { offset = 152; } else { offset = 238; } MG.setFocusable(false); mControl.removeViewInLayout(MG); AbsoluteLayout.LayoutParams paramp = new AbsoluteLayout.LayoutParams(1920, offset, 0, 1080 - offset); pBV = new ProgressBarView(mControl.getContext(), null, MenuItemName, MGroupBGKind); pBV.setProgressBarListener(mControl); if (initnum != null && !initnum.equals("")) { pBV.setProgress(Integer.parseInt(initnum)); } mControl.addView(pBV, paramp); pBV.requestFocus(); } }