|
@@ -150,6 +150,7 @@ public class BaiDuFaceView {
|
|
|
TextView loadingLocally_ThrLabel;
|
|
|
ImageView loadingLocally_ThrValue;
|
|
|
RelativeLayout outcomeActivity_Outcome;
|
|
|
+ RelativeLayout outcomeActivity_FloatingButton;
|
|
|
//大图结果页
|
|
|
RelativeLayout outcomeActivity_OutcomeMAXPicture;
|
|
|
ImageView outcomeActivity_OutcomeImageMAXPicture;
|
|
@@ -404,6 +405,9 @@ public class BaiDuFaceView {
|
|
|
loadingLocally_ThrLabel = view.findViewById(R.id.LoadingLocally_ThrLabel);
|
|
|
loadingLocally_ThrValue = view.findViewById(R.id.LoadingLocally_ThrValue);
|
|
|
outcomeActivity_Outcome = view.findViewById(R.id.OutcomeActivity_Outcome);
|
|
|
+ if (ConfigManager.isFloatingPages()) {
|
|
|
+ outcomeActivity_FloatingButton = view.findViewById(R.id.outcomeActivity_FloatingButton);
|
|
|
+ }
|
|
|
//大图成功结果页
|
|
|
outcomeActivity_OutcomeImageMAXPicture = view.findViewById(R.id.OutcomeActivity_OutcomeImageMAXPicture);
|
|
|
outcomeActivity_OutcomeTextViewMAXPicture = view.findViewById(R.id.OutcomeActivity_OutcomeTextViewMAXPicture);
|
|
@@ -2305,6 +2309,11 @@ public class BaiDuFaceView {
|
|
|
outcomeActivity_PAGE_TYPE_CLOSING_PENDING_MULTIPLE.setVisibility(View.GONE);
|
|
|
loadingLocally_TopLinearLayout.setVisibility(View.VISIBLE);
|
|
|
loadingLocally_TopLinearLayoutImageRelativeLayout.setVisibility(View.VISIBLE);
|
|
|
+ if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersenalInfoList() == null ){
|
|
|
+ outcomeActivity_FloatingButton.setVisibility(View.GONE);
|
|
|
+ }else {
|
|
|
+ outcomeActivity_FloatingButton.setVisibility(View.VISIBLE);
|
|
|
+ }
|
|
|
}
|
|
|
outcomeActivity_PAGE_TYPE_CLOSING_PENDING_MULTIPLE.setVisibility(View.GONE);
|
|
|
String name = federatedPlatformsResponseBean.getData().getName();
|
|
@@ -2367,16 +2376,21 @@ public class BaiDuFaceView {
|
|
|
if (ConfigManager.isFloatingPages()) {
|
|
|
// outcomeActivity_LocalError_idNumberLinear2.setVisibility(View.GONE);
|
|
|
RequestOptions options = new RequestOptions().bitmapTransform(new RoundedCorners(10));
|
|
|
- if (!StringIsNull.IsStringNull(ScenePhoto)) {
|
|
|
- ImageLoaderUtils.loadImage(ScenePhoto,outcomeActivity_OutcomeImage,options);
|
|
|
- } else if (!StringIsNull.IsStringNull(IDPhoto)) {
|
|
|
- ImageLoaderUtils.loadImage(IDPhoto,outcomeActivity_OutcomeImage,options);
|
|
|
- }else if (bitmap != null) {
|
|
|
- Drawable drawable=new BitmapDrawable(outcomeActivity_OutcomeImage.getResources(),bitmap);
|
|
|
- options.placeholder(drawable).diskCacheStrategy(DiskCacheStrategy.NONE).skipMemoryCache(true);
|
|
|
- ImageLoaderUtils.loadImage(bitmap,outcomeActivity_OutcomeImage,options);
|
|
|
- } else {
|
|
|
- ImageLoaderUtils.loadImage(R.mipmap.outcomeactivity_outcomeimagemax_picture,outcomeActivity_OutcomeImage);
|
|
|
+ if (ConfigManager.isSuccessShowPersenalInfoPhoto){
|
|
|
+ outcomeActivity_OutcomeImage.setVisibility(View.VISIBLE);
|
|
|
+ if (!StringIsNull.IsStringNull(ScenePhoto)) {
|
|
|
+ ImageLoaderUtils.loadImage(ScenePhoto,outcomeActivity_OutcomeImage,options);
|
|
|
+ } else if (!StringIsNull.IsStringNull(IDPhoto)) {
|
|
|
+ ImageLoaderUtils.loadImage(IDPhoto,outcomeActivity_OutcomeImage,options);
|
|
|
+ }else if (bitmap != null) {
|
|
|
+ Drawable drawable=new BitmapDrawable(outcomeActivity_OutcomeImage.getResources(),bitmap);
|
|
|
+ options.placeholder(drawable).diskCacheStrategy(DiskCacheStrategy.NONE).skipMemoryCache(true);
|
|
|
+ ImageLoaderUtils.loadImage(bitmap,outcomeActivity_OutcomeImage,options);
|
|
|
+ } else {
|
|
|
+ ImageLoaderUtils.loadImage(R.mipmap.outcomeactivity_outcomeimagemax_picture,outcomeActivity_OutcomeImage);
|
|
|
+ }
|
|
|
+ }else {
|
|
|
+ outcomeActivity_OutcomeImage.setVisibility(View.GONE);
|
|
|
}
|
|
|
if (!StringIsNull.IsStringNull(federatedPlatformsResponseBean.getData().getALineThrValue())) {
|
|
|
ImageLoaderUtils.loadImage(federatedPlatformsResponseBean.getData().getALineThrValue(),loadingLocally_ThrValue,options);
|
|
@@ -2384,19 +2398,19 @@ public class BaiDuFaceView {
|
|
|
ImageLoaderUtils.loadImage(R.mipmap.blue_background_gradient,loadingLocally_TopLinearLayoutImage);
|
|
|
ImageLoaderUtils.loadImage(R.mipmap.mainactivity_aicon,loadingLocally_Image);
|
|
|
loadingLocally_TopLinearLayoutImageRelativeLayout.setVisibility(View.VISIBLE);
|
|
|
- if (!StringIsNull.IsStringNull(name)) {
|
|
|
+ if (!StringIsNull.IsStringNull(name) && ConfigManager.isSuccessShowPersenalInfoName) {
|
|
|
outcomeActivity_OutcomeName.setVisibility(View.VISIBLE);
|
|
|
outcomeActivity_OutcomeName.setText(name);
|
|
|
} else {
|
|
|
outcomeActivity_OutcomeName.setVisibility(View.GONE);
|
|
|
}
|
|
|
- if (!StringIsNull.IsStringNull(idCard)) {
|
|
|
+ if (!StringIsNull.IsStringNull(idCard) && ConfigManager.isSuccessShowPersenalInfoIDCard) {
|
|
|
outcomeActivity_OutcomeSecond.setVisibility(View.VISIBLE);
|
|
|
outcomeActivity_OutcomeSecond.setText(idCard);
|
|
|
} else {
|
|
|
outcomeActivity_OutcomeSecond.setVisibility(View.GONE);
|
|
|
}
|
|
|
- if (!StringIsNull.IsStringNull(phone)) {
|
|
|
+ if (!StringIsNull.IsStringNull(phone) && ConfigManager.isSuccessShowPersenalInfoPhone) {
|
|
|
OutcomeActivity_Phone.setVisibility(View.VISIBLE);
|
|
|
OutcomeActivity_Phone.setText(phone);
|
|
|
} else {
|