Commit fb8a4454 by 宁斌

1、單點登錄提示處理

2、套餐細項顯示問題調整
3、虛擬鍵盤顯示適配
4、結賬未送單直接 結賬邏輯調整
parent c8cc006c
...@@ -323,7 +323,9 @@ public class MealStandPresenter extends BaseOrderPresenter<MealStandContract.Mod ...@@ -323,7 +323,9 @@ public class MealStandPresenter extends BaseOrderPresenter<MealStandContract.Mod
updateModifierData(modifierList); updateModifierData(modifierList);
if (comboItemList.size() > 0) { if (comboItemList.size() > 0) {
IActivity.setModifierTop(); IActivity.setModifierTop(10);
}else {
IActivity.setModifierTop(0);
} }
// if (food.getAutoMod() == 1) { // if (food.getAutoMod() == 1) {
......
...@@ -1057,9 +1057,9 @@ public class MealStandActivity extends BaseActivity<MealStandPresenter> implemen ...@@ -1057,9 +1057,9 @@ public class MealStandActivity extends BaseActivity<MealStandPresenter> implemen
} }
} }
public void setModifierTop() { public void setModifierTop(int Margins) {
RelativeLayout.LayoutParams layoutParam = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); RelativeLayout.LayoutParams layoutParam = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
layoutParam.setMargins(0, 10, 0, 0); layoutParam.setMargins(0, Margins, 0, 0);
layoutParam.addRule(RelativeLayout.ABOVE, R.id.ll_stand_oper); layoutParam.addRule(RelativeLayout.ABOVE, R.id.ll_stand_oper);
layoutParam.addRule(RelativeLayout.BELOW, R.id.rv_combo); layoutParam.addRule(RelativeLayout.BELOW, R.id.rv_combo);
rv_modifier.setLayoutParams(layoutParam); rv_modifier.setLayoutParams(layoutParam);
......
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