| | |
| | | package com.hdl.photovoltaic.base; |
| | | |
| | | import android.app.Activity; |
| | | import android.content.Context; |
| | | import android.content.DialogInterface; |
| | | import android.content.Intent; |
| | | import android.graphics.drawable.ColorDrawable; |
| | | import android.os.Bundle; |
| | | import android.util.Log; |
| | | import android.view.KeyEvent; |
| | | import android.view.View; |
| | | import android.view.WindowManager; |
| | | import android.widget.TextView; |
| | | |
| | | import androidx.annotation.Nullable; |
| | | import androidx.appcompat.app.AlertDialog; |
| | | import androidx.appcompat.app.AppCompatActivity; |
| | | |
| | | import com.hdl.photovoltaic.R; |
| | |
| | | */ |
| | | protected LoadingDialog getLoadingDialog() { |
| | | if (loadingDialog == null && _mActivity != null) { |
| | | loadingDialog = new LoadingDialog(_mActivity, R.style.Custom_AlertDialog); |
| | | loadingDialog = new LoadingDialog(_mActivity, R.style.Custom_Dialog); |
| | | } |
| | | return loadingDialog; |
| | | } |