|
|
@@ -1,11 +1,13 @@
|
|
|
package com.xzjmyk.pm.activity.ui.erp.activity.oa;
|
|
|
|
|
|
+import android.annotation.TargetApi;
|
|
|
import android.app.Activity;
|
|
|
import android.app.AlertDialog;
|
|
|
import android.content.Context;
|
|
|
import android.content.DialogInterface;
|
|
|
import android.content.Intent;
|
|
|
import android.net.Uri;
|
|
|
+import android.os.Build;
|
|
|
import android.os.Bundle;
|
|
|
import android.util.Log;
|
|
|
import android.view.Gravity;
|
|
|
@@ -40,7 +42,7 @@ import com.xzjmyk.pm.activity.view.SquareCenterImageView;
|
|
|
import java.io.File;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
-
|
|
|
+@TargetApi(Build.VERSION_CODES.CUPCAKE)
|
|
|
/**
|
|
|
* Created by FANGlh on 2017/6/9.
|
|
|
* function:
|
|
|
@@ -133,7 +135,10 @@ public class ExpenseReimbursementActivity extends BaseActivity implements View.O
|
|
|
private void closePopupWindow() {
|
|
|
if (setWindow != null)
|
|
|
setWindow.dismiss();
|
|
|
- DisplayUtil.backgroundAlpha(this, 1f);
|
|
|
+ int VERSION_CODES = android.os.Build.VERSION.SDK_INT;
|
|
|
+// if (VERSION_CODES < 24){
|
|
|
+ DisplayUtil.backgroundAlpha(this, 1f);
|
|
|
+// }
|
|
|
}
|
|
|
private void initPopupWindow() {
|
|
|
View viewContext = LayoutInflater.from(ct).inflate(R.layout.expense_details_menu, null);
|