From 26842d764910bd6c214afac58c1332909b022c6e Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期四, 16 四月 2020 14:12:45 +0800 Subject: [PATCH] 二维码生成加入安运logo --- app/src/main/java/safeluck/drive/evaluation/fragment/TrainFragment.java | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/safeluck/drive/evaluation/fragment/TrainFragment.java b/app/src/main/java/safeluck/drive/evaluation/fragment/TrainFragment.java index a5cef99..da8ebf4 100644 --- a/app/src/main/java/safeluck/drive/evaluation/fragment/TrainFragment.java +++ b/app/src/main/java/safeluck/drive/evaluation/fragment/TrainFragment.java @@ -6,6 +6,7 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; +import androidx.fragment.app.DialogFragment; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProviders; import androidx.work.OneTimeWorkRequest; @@ -59,6 +60,7 @@ import safeluck.drive.evaluation.cEventCenter.ICEventListener; import safeluck.drive.evaluation.customview.ArrowView; import safeluck.drive.evaluation.customview.HouseView; +import safeluck.drive.evaluation.customview.LoadProgressDialog; import safeluck.drive.evaluation.customview.MyDialogFragment; import safeluck.drive.evaluation.im.MessageProcessor; import safeluck.drive.evaluation.platformMessage.JKMessage0201; @@ -106,8 +108,9 @@ private static final int SPEED_DATA = 2; private FailedProjViewModel failedProjViewModel; String icson;//杩斿洖鐨刬c鍗′俊鎭� json - private List<SimulateNightBean.QuestionBean> tempQs= new ArrayList<>(); - private TableRow tableRow1,tableRow2,tableRow3; + private String content;//鐢ㄤ互鐢熸垚浜岀淮鐮佺殑鍐呭 + + private LoadProgressDialog loadProgressDialog; private List<Integer> btn_ids = new ArrayList<Integer>(); @@ -544,10 +547,6 @@ tv_total_score = view.findViewById(R.id.tv_total_score); tv_network_time = view.findViewById(R.id.network_time); - tableRow1 = view.findViewById(R.id.first); - tableRow2 = view.findViewById(R.id.second); - tableRow3 = view.findViewById(R.id.third); - tv_network_time.setText(Utils.getHHmm()); @@ -653,9 +652,9 @@ break; case R.id.iv_head: MyLog.i(TAG,"绛惧埌锛岃幏鍙栬韩浠借瘉鐗╃悊鍗″彿"); - AYSdk.getInstance().sendCmd(Constant.READ_PHYSICAL_ID,""); - //TODO 鑾峰緱鐗╃悊鍗″彿 鍙戦�丣KMessage0201缁欏钩鍙帮紝鑾峰彇濮撳悕銆佽韩浠借瘉銆乭ead_url - + loadProgressDialog = LoadProgressDialog.newInstance("璇风◢鍚�..."); + loadProgressDialog.setStyle(DialogFragment.STYLE_NORMAL,R.style.Dialog_FullScreen); + loadProgressDialog.showNow(getFragmentManager(),"loadingdiaolog"); break; } } -- Gitblit v1.8.0