|
|
@@ -327,6 +327,7 @@ public class BusinessDetailInfoActivity extends BaseActivity implements View.OnC
|
|
|
position = position + 1;
|
|
|
switch (position) {
|
|
|
case 1:
|
|
|
+ popupWindow.dismiss();
|
|
|
final String nichehouse = StringUtil.getTextRexHttp(bc_nichehouse);
|
|
|
if (/*存在商机库已选择*/!StringUtil.isEmpty(nichehouse)) {
|
|
|
PopupWindowHelper.showAlart(BusinessDetailInfoActivity.this,
|
|
|
@@ -341,7 +342,6 @@ public class BusinessDetailInfoActivity extends BaseActivity implements View.OnC
|
|
|
});
|
|
|
} else
|
|
|
loadNichehouse();
|
|
|
- popupWindow.dismiss();
|
|
|
break;
|
|
|
case 2:
|
|
|
startActivityForResult(new Intent(BusinessDetailInfoActivity.this, BusinessLessActivity.class)
|
|
|
@@ -390,10 +390,6 @@ public class BusinessDetailInfoActivity extends BaseActivity implements View.OnC
|
|
|
popupWindow.setWidth(width + DisplayUtil.dip2px(ct, 10));
|
|
|
int[] location = new int[2];
|
|
|
parent.getLocationOnScreen(location);
|
|
|
- Log.i("Arison", "parent hight:" + location[1]);
|
|
|
- Log.i("Arison", "popupWindow hight:" + popupWindow.getHeight());
|
|
|
- Log.i("Arison", "parent width:" + parent.getWidth());
|
|
|
- Log.i("Arison", "parent width:" + parent.getHeight());
|
|
|
popupWindow.showAtLocation(parent.findViewById(R.id.bt_manage_go), Gravity.NO_GRAVITY, location[0],
|
|
|
location[1] - popupWindow.getHeight() - 5);
|
|
|
|