@@ -492,10 +492,6 @@ | |||
android:name=".project.ui.activity.after.ReplaceEtcStep4Activity" | |||
android:launchMode="singleTop" | |||
android:screenOrientation="portrait" /> | |||
<activity | |||
android:name=".project.ui.activity.after.ReplaceEtcStep5Activity" | |||
android:launchMode="singleTop" | |||
android:screenOrientation="portrait" /> | |||
<!-- 设备注销 --> | |||
<activity |
@@ -12,7 +12,7 @@ import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
public class LogoutEtcSuccessActivity extends AppActivity { | |||
private ActivityLogoutEtcSuccessBinding binding; | |||
private String from;//0-注销成功 1-欠费补缴 2-余额补领 | |||
private String from; //0-注销成功 1-欠费补缴 2-余额补领 4-更换ETC设备成功 | |||
@Override | |||
protected View getLayoutView() { | |||
@@ -32,6 +32,8 @@ public class LogoutEtcSuccessActivity extends AppActivity { | |||
binding.tvHint.setText("补领完成"); | |||
binding.tvMsg.setVisibility(View.VISIBLE); | |||
binding.tvMsg.setText("您的旧卡余额已成功转移至新卡中"); | |||
}else if (from.equals("4")){ | |||
binding.tvHint.setText("办理成功"); | |||
} | |||
binding.btnHome.setOnClickListener(new View.OnClickListener() { | |||
@Override |
@@ -3,6 +3,7 @@ package com.huntersun.vkyes.etcopencard.project.ui.activity.after; | |||
import android.os.Bundle; | |||
import android.view.View; | |||
import com.alibaba.fastjson.JSON; | |||
import com.google.gson.Gson; | |||
import com.huntersun.vkyes.etcopencard.databinding.ActivityReplaceEtcStep1Binding; | |||
import com.huntersun.vkyes.etcopencard.project.api.Api; | |||
@@ -14,20 +15,15 @@ import com.huntersun.vkyes.etcopencard.project.api.bean.IFCode; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.SendTheVerificationCodeBean; | |||
import com.huntersun.vkyes.etcopencard.project.dialog.ConfirmDialog; | |||
import com.huntersun.vkyes.etcopencard.project.dialog.PersonalCompanyDialog; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.FillOutMessage; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.MainActivity; | |||
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper; | |||
import com.huntersun.vkyes.etcopencard.src.action.StatusAction; | |||
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick; | |||
import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
import com.huntersun.vkyes.etcopencard.src.widget.StatusLayout; | |||
import retrofit2.Response; | |||
/** | |||
* Date :2023-03-15 | |||
* Description:更换ETC设备第一步 | |||
* Description:更换ETC设备第一步 搜索需要办理的设备 | |||
*/ | |||
public class ReplaceEtcStep1Activity extends AppActivity { | |||
private ActivityReplaceEtcStep1Binding binding; | |||
@@ -52,9 +48,7 @@ public class ReplaceEtcStep1Activity extends AppActivity { | |||
@Override | |||
public void confirm() { | |||
Bundle bundle = new Bundle(); | |||
bundle.putString("customerTel",curBizContent.getCustomerTel()); | |||
bundle.putString("cardId",curBizContent.getCardId()); | |||
bundle.putString("obuId",curBizContent.getObuId()); | |||
bundle.putString("dataJson", JSON.toJSONString(curBizContent)); | |||
jumpToPage(ReplaceEtcStep2Activity.class,bundle); | |||
} | |||
}).show(); |
@@ -1,37 +1,24 @@ | |||
package com.huntersun.vkyes.etcopencard.project.ui.activity.after; | |||
import android.os.Bundle; | |||
import android.view.View; | |||
import com.alibaba.fastjson.JSON; | |||
import com.huntersun.vkyes.etcopencard.databinding.ActivityReplaceEtcStep2Binding; | |||
import com.huntersun.vkyes.etcopencard.project.api.MyRetrofit; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.IFCode; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.user.ForgetPwdStep2Activity; | |||
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper; | |||
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick; | |||
import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
import com.huntersun.vkyes.etcopencard.src.other.CodeCountDown; | |||
import java.util.HashMap; | |||
import java.util.Map; | |||
/** | |||
* Date :2023-03-15 | |||
* Description:更换ETC设备第2步 | |||
* Date :2023-03-16 | |||
* Description:更换ETC设备 第2步 用户信息确认 | |||
*/ | |||
public class ReplaceEtcStep2Activity extends AppActivity { | |||
private ActivityReplaceEtcStep2Binding binding; | |||
//倒计时 | |||
private CodeCountDown mCountDownTimerUtils; | |||
private int cardStatus = 2; //卡是否正常 2-不正常 | |||
private int moneyStatus = 2; //钱是否正常 2-不正常 | |||
//手机号 | |||
private String phone; | |||
private String cardId; | |||
private String oubId; | |||
private String json; | |||
private ResultBean.BizContent data; | |||
@Override | |||
protected View getLayoutView() { | |||
@@ -41,120 +28,20 @@ public class ReplaceEtcStep2Activity extends AppActivity { | |||
@Override | |||
protected void initView() { | |||
cardId = getIntent().getStringExtra("cardId"); | |||
oubId = getIntent().getStringExtra("obuId"); | |||
phone = getIntent().getStringExtra("customerTel"); | |||
binding.choiceCard1.setOnClickListener(this::ChoiceCardType); | |||
binding.card1.setOnClickListener(this::ChoiceCardType); | |||
binding.choiceCard2.setOnClickListener(this::ChoiceCardType); | |||
binding.card2.setOnClickListener(this::ChoiceCardType); | |||
binding.choiceMoney1.setOnClickListener(this::ChoiceMoneyType); | |||
binding.money1.setOnClickListener(this::ChoiceMoneyType); | |||
binding.choiceMoney2.setOnClickListener(this::ChoiceMoneyType); | |||
binding.money2.setOnClickListener(this::ChoiceMoneyType); | |||
binding.tvMobile.setText(phone); | |||
binding.LLCard.setVisibility(View.GONE); | |||
binding.LLObu.setVisibility(View.GONE); | |||
if (!FunHelper.isEmpty(cardId)){ | |||
binding.LLCard.setVisibility(View.VISIBLE); | |||
json = getIntent().getStringExtra("dataJson"); | |||
if (!FunHelper.isEmpty(json)){ | |||
data = JSON.parseObject(json,ResultBean.BizContent.class); | |||
} | |||
if (!FunHelper.isEmpty(oubId)){ | |||
binding.LLObu.setVisibility(View.VISIBLE); | |||
} | |||
//校验 | |||
binding.btnNext.setOnClickListener(new View.OnClickListener() { | |||
@Override | |||
@SingleClick | |||
public void onClick(View view) { | |||
if (FunHelper.isEmpty(FunHelper.getText(binding.etCode))){ | |||
toast("请输入验证码"); | |||
return; | |||
} | |||
toReplace(); | |||
} | |||
}); | |||
//获取验证码 | |||
binding.mGetCodeBtn.setOnClickListener(new View.OnClickListener() { | |||
@Override | |||
@SingleClick | |||
public void onClick(View view) { | |||
sendCode(); | |||
} | |||
}); | |||
} | |||
/** | |||
* 校验 | |||
*/ | |||
private void toReplace(){ | |||
showDialog("更换请求中..."); | |||
/*Map<String, String> params = new HashMap<>(); | |||
params.put("mobile", phone); | |||
MyRetrofit.newInstance(IFCode.IFCODE2, params, new MyRetrofit.ReturnResult() { | |||
@Override | |||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||
hideDialog(); | |||
toast("验证码发送成功!"); | |||
mCountDownTimerUtils = new CodeCountDown(ReplaceEtcStep2Activity.this, binding.mGetCodeBtn, 60000, 1000); | |||
mCountDownTimerUtils.start(); | |||
} | |||
@Override | |||
public void onError() { | |||
MyRetrofit.ReturnResult.super.onError(); | |||
hideDialog(); | |||
} | |||
});*/ | |||
} | |||
/** | |||
* 发送验证码 | |||
*/ | |||
private void sendCode(){ | |||
showDialog("发送中..."); | |||
Map<String, String> params = new HashMap<>(); | |||
params.put("mobile", phone); | |||
MyRetrofit.newInstance(IFCode.IFCODE2, params, new MyRetrofit.ReturnResult() { | |||
@Override | |||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||
hideDialog(); | |||
toast("验证码发送成功!"); | |||
mCountDownTimerUtils = new CodeCountDown(ReplaceEtcStep2Activity.this, binding.mGetCodeBtn, 60000, 1000); | |||
mCountDownTimerUtils.start(); | |||
} | |||
@Override | |||
public void onError() { | |||
MyRetrofit.ReturnResult.super.onError(); | |||
hideDialog(); | |||
} | |||
}); | |||
} | |||
public void ChoiceCardType(View view) { | |||
binding.card1.setChecked(false); | |||
binding.card2.setChecked(false); | |||
if (view == binding.choiceCard1 || view == binding.card1) { | |||
binding.card1.setChecked(true); | |||
cardStatus = 1; | |||
} else if (view == binding.choiceCard2 || view == binding.card2) { | |||
binding.card2.setChecked(true); | |||
cardStatus = 2; | |||
} | |||
binding.btnNext.setOnClickListener(this::initClick); | |||
} | |||
public void ChoiceMoneyType(View view) { | |||
binding.money1.setChecked(false); | |||
binding.money2.setChecked(false); | |||
if (view == binding.choiceMoney1 || view == binding.money1) { | |||
binding.money1.setChecked(true); | |||
moneyStatus = 1; | |||
} else if (view == binding.choiceMoney2 || view == binding.money2) { | |||
binding.money2.setChecked(true); | |||
moneyStatus = 2; | |||
@SingleClick | |||
private void initClick(View view){ | |||
if (view == binding.btnNext){ | |||
Bundle bundle = new Bundle(); | |||
bundle.putString("json",json); | |||
jumpToPage(ReplaceEtcStep3Activity.class,bundle); | |||
} | |||
} | |||
@@ -1,17 +1,25 @@ | |||
package com.huntersun.vkyes.etcopencard.project.ui.activity.after; | |||
import android.os.Bundle; | |||
import android.view.View; | |||
import com.alibaba.fastjson.JSON; | |||
import com.huntersun.vkyes.etcopencard.databinding.ActivityReplaceEtcStep3Binding; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean; | |||
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper; | |||
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick; | |||
import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
/** | |||
* Date :2023-03-16 | |||
* Description:更换ETC设备 第3步 | |||
* Description:更换ETC设备第3步 车辆信息确认 | |||
*/ | |||
public class ReplaceEtcStep3Activity extends AppActivity { | |||
private ActivityReplaceEtcStep3Binding binding; | |||
private String json; | |||
private ResultBean.BizContent data; | |||
@Override | |||
protected View getLayoutView() { | |||
binding = ActivityReplaceEtcStep3Binding.inflate(getLayoutInflater()); | |||
@@ -20,7 +28,21 @@ public class ReplaceEtcStep3Activity extends AppActivity { | |||
@Override | |||
protected void initView() { | |||
json = getIntent().getStringExtra("json"); | |||
if (!FunHelper.isEmpty(json)){ | |||
data = JSON.parseObject(json,ResultBean.BizContent.class); | |||
} | |||
binding.btnNext.setOnClickListener(this::initClick); | |||
} | |||
@SingleClick | |||
private void initClick(View view){ | |||
if (view == binding.btnNext){ | |||
Bundle bundle = new Bundle(); | |||
bundle.putString("json",json); | |||
jumpToPage(ReplaceEtcStep4Activity.class,bundle); | |||
} | |||
} | |||
@Override |
@@ -1,17 +1,38 @@ | |||
package com.huntersun.vkyes.etcopencard.project.ui.activity.after; | |||
import android.os.Bundle; | |||
import android.view.View; | |||
import com.alibaba.fastjson.JSON; | |||
import com.huntersun.vkyes.etcopencard.databinding.ActivityReplaceEtcStep4Binding; | |||
import com.huntersun.vkyes.etcopencard.project.api.MyRetrofit; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.IFCode; | |||
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean; | |||
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper; | |||
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick; | |||
import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
import com.huntersun.vkyes.etcopencard.src.other.CodeCountDown; | |||
import java.util.HashMap; | |||
import java.util.Map; | |||
/** | |||
* Date :2023-03-16 | |||
* Description:更换ETC设备第4步 | |||
* Date :2023-03-15 | |||
* Description:更换ETC设备 最后一步 申请 | |||
*/ | |||
public class ReplaceEtcStep4Activity extends AppActivity { | |||
private ActivityReplaceEtcStep4Binding binding; | |||
//倒计时 | |||
private CodeCountDown mCountDownTimerUtils; | |||
private int cardStatus = 2; //卡是否正常 2-不正常 | |||
private int moneyStatus = 2; //钱是否正常 2-不正常 | |||
private int opeartion = 1; //1-更换卡 2-更换签 3-更换卡签 | |||
private String json; | |||
private ResultBean.BizContent data; | |||
@Override | |||
protected View getLayoutView() { | |||
binding = ActivityReplaceEtcStep4Binding.inflate(getLayoutInflater()); | |||
@@ -20,7 +41,143 @@ public class ReplaceEtcStep4Activity extends AppActivity { | |||
@Override | |||
protected void initView() { | |||
json = getIntent().getStringExtra("json"); | |||
if (!FunHelper.isEmpty(json)){ | |||
data = JSON.parseObject(json,ResultBean.BizContent.class); | |||
} | |||
binding.choiceCard1.setOnClickListener(this::ChoiceCardType); | |||
binding.card1.setOnClickListener(this::ChoiceCardType); | |||
binding.choiceCard2.setOnClickListener(this::ChoiceCardType); | |||
binding.card2.setOnClickListener(this::ChoiceCardType); | |||
binding.choiceMoney1.setOnClickListener(this::ChoiceMoneyType); | |||
binding.money1.setOnClickListener(this::ChoiceMoneyType); | |||
binding.choiceMoney2.setOnClickListener(this::ChoiceMoneyType); | |||
binding.money2.setOnClickListener(this::ChoiceMoneyType); | |||
binding.choiceCard.setOnClickListener(this::Choice); | |||
binding.card.setOnClickListener(this::Choice); | |||
binding.choiceOBU.setOnClickListener(this::Choice); | |||
binding.obu.setOnClickListener(this::Choice); | |||
binding.choiceCardObu.setOnClickListener(this::Choice); | |||
binding.cardobu.setOnClickListener(this::Choice); | |||
binding.tvMobile.setText(data.getCustomerTel()); | |||
binding.LLCard.setVisibility(View.GONE); | |||
binding.LLObu.setVisibility(View.GONE); | |||
if (!FunHelper.isEmpty(data.getCardId())){ | |||
binding.LLCard.setVisibility(View.VISIBLE); | |||
} | |||
if (!FunHelper.isEmpty(data.getObuId())){ | |||
binding.LLObu.setVisibility(View.VISIBLE); | |||
} | |||
binding.btnNext.setOnClickListener(this::initClick); | |||
binding.mGetCodeBtn.setOnClickListener(this::initClick); | |||
} | |||
@SingleClick | |||
private void initClick(View view){ | |||
if (view == binding.btnNext){ | |||
if (FunHelper.isEmpty(FunHelper.getText(binding.etCode))){ | |||
toast("请输入验证码"); | |||
return; | |||
} | |||
//toReplace(); | |||
Bundle bundle = new Bundle(); | |||
bundle.putString("from","4"); | |||
jumpToPage(LogoutEtcSuccessActivity.class,bundle); | |||
}else if (view == binding.mGetCodeBtn){ | |||
sendCode(); | |||
} | |||
} | |||
/** | |||
* 校验 | |||
*/ | |||
private void toReplace(){ | |||
showDialog("更换请求中..."); | |||
/*Map<String, String> params = new HashMap<>(); | |||
params.put("mobile", phone); | |||
MyRetrofit.newInstance(IFCode.IFCODE2, params, new MyRetrofit.ReturnResult() { | |||
@Override | |||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||
hideDialog(); | |||
toast("验证码发送成功!"); | |||
mCountDownTimerUtils = new CodeCountDown(ReplaceEtcStep2Activity.this, binding.mGetCodeBtn, 60000, 1000); | |||
mCountDownTimerUtils.start(); | |||
} | |||
@Override | |||
public void onError() { | |||
MyRetrofit.ReturnResult.super.onError(); | |||
hideDialog(); | |||
} | |||
});*/ | |||
} | |||
/** | |||
* 发送验证码 | |||
*/ | |||
private void sendCode(){ | |||
showDialog("发送中..."); | |||
Map<String, String> params = new HashMap<>(); | |||
params.put("mobile", data.getCustomerTel()); | |||
MyRetrofit.newInstance(IFCode.IFCODE2, params, new MyRetrofit.ReturnResult() { | |||
@Override | |||
public void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) { | |||
hideDialog(); | |||
toast("验证码发送成功!"); | |||
mCountDownTimerUtils = new CodeCountDown(ReplaceEtcStep4Activity.this, binding.mGetCodeBtn, 60000, 1000); | |||
mCountDownTimerUtils.start(); | |||
} | |||
@Override | |||
public void onError() { | |||
MyRetrofit.ReturnResult.super.onError(); | |||
hideDialog(); | |||
} | |||
}); | |||
} | |||
public void ChoiceCardType(View view) { | |||
binding.card1.setChecked(false); | |||
binding.card2.setChecked(false); | |||
if (view == binding.choiceCard1 || view == binding.card1) { | |||
binding.card1.setChecked(true); | |||
cardStatus = 1; | |||
} else if (view == binding.choiceCard2 || view == binding.card2) { | |||
binding.card2.setChecked(true); | |||
cardStatus = 2; | |||
} | |||
} | |||
public void ChoiceMoneyType(View view) { | |||
binding.money1.setChecked(false); | |||
binding.money2.setChecked(false); | |||
if (view == binding.choiceMoney1 || view == binding.money1) { | |||
binding.money1.setChecked(true); | |||
moneyStatus = 1; | |||
} else if (view == binding.choiceMoney2 || view == binding.money2) { | |||
binding.money2.setChecked(true); | |||
moneyStatus = 2; | |||
} | |||
} | |||
public void Choice(View view) { | |||
binding.card.setChecked(false); | |||
binding.obu.setChecked(false); | |||
binding.cardobu.setChecked(false); | |||
if (view == binding.choiceCard || view == binding.card) { | |||
binding.card.setChecked(true); | |||
opeartion = 1; | |||
} else if (view == binding.choiceOBU || view == binding.obu) { | |||
binding.obu.setChecked(true); | |||
opeartion = 2; | |||
} else if (view == binding.choiceCardObu || view == binding.cardobu) { | |||
binding.cardobu.setChecked(true); | |||
opeartion = 3; | |||
} | |||
} | |||
@Override |
@@ -1,31 +0,0 @@ | |||
package com.huntersun.vkyes.etcopencard.project.ui.activity.after; | |||
import android.view.View; | |||
import com.huntersun.vkyes.etcopencard.databinding.ActivityReplaceEtcStep5Binding; | |||
import com.huntersun.vkyes.etcopencard.src.app.AppActivity; | |||
/** | |||
* Date :2023-03-16 | |||
* Description:更换ETC设备 第5步 | |||
*/ | |||
public class ReplaceEtcStep5Activity extends AppActivity { | |||
private ActivityReplaceEtcStep5Binding binding; | |||
@Override | |||
protected View getLayoutView() { | |||
binding = ActivityReplaceEtcStep5Binding.inflate(getLayoutInflater()); | |||
return binding.getRoot(); | |||
} | |||
@Override | |||
protected void initView() { | |||
} | |||
@Override | |||
protected void initData() { | |||
} | |||
} |
@@ -21,13 +21,10 @@ import com.huntersun.vkyes.etcopencard.project.copapply.OBURequest; | |||
import com.huntersun.vkyes.etcopencard.project.copapply.ObuActivateRequester; | |||
import com.huntersun.vkyes.etcopencard.project.copapply.ObuActivation; | |||
import com.huntersun.vkyes.etcopencard.project.dialog.ConfirmDialog; | |||
import com.huntersun.vkyes.etcopencard.project.tool.Utils; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.ETCHandleActivity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.IdentityInformationUploadActivity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.InformationConfirmedActivity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.VehicleInformationActivity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.ReplaceEtcStep1Activity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.ReplaceEtcStep2Activity; | |||
import com.huntersun.vkyes.etcopencard.project.ui.activity.mail.FormDeliveryActivity; | |||
import com.huntersun.vkyes.etcopencard.project.utils.Constants; | |||
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper; |
@@ -0,0 +1,744 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
xmlns:app="http://schemas.android.com/apk/res-auto" | |||
xmlns:tools="http://schemas.android.com/tools" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/background_color" | |||
android:orientation="vertical"> | |||
<com.hjq.bar.TitleBar | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@color/white" | |||
app:leftIcon="@mipmap/back_black" | |||
app:lineVisible="false" | |||
app:title="更换卡签" /> | |||
<androidx.core.widget.NestedScrollView | |||
android:layout_width="match_parent" | |||
android:paddingTop="@dimen/dp_15" | |||
android:layout_height="wrap_content"> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:animateLayoutChanges="true" | |||
android:animationCache="true" | |||
android:orientation="vertical" | |||
android:paddingHorizontal="@dimen/dp_15"> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_14" | |||
android:layout_marginBottom="@dimen/dp_12" | |||
android:text="选择类型" | |||
android:visibility="gone" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_16" /> | |||
<LinearLayout | |||
android:id="@+id/layout9" | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@drawable/home_search_bar_gray_bg2" | |||
android:orientation="vertical" | |||
android:paddingHorizontal="@dimen/dp_15" | |||
android:paddingBottom="@dimen/dp_15"> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_140" | |||
android:gravity="center"> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image1" | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:src="@mipmap/identity_card1" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="行驶证主页" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
<View | |||
android:layout_width="@dimen/dp_20" | |||
android:layout_height="0dp" /> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image2" | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:src="@mipmap/identity_card2" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="行驶证副业" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:gravity="center" | |||
android:visibility="gone"> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image3" | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:paddingHorizontal="@dimen/dp_5" | |||
android:src="@mipmap/identity_card3" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="上传车头照" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
<View | |||
android:layout_width="@dimen/dp_20" | |||
android:layout_height="0dp" /> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:orientation="vertical"> | |||
<ImageView | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_weight="1" | |||
android:src="@mipmap/perch" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:gravity="center" | |||
android:text="车头照示例" | |||
android:textColor="#666666" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:text="车辆信息如下:" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_16" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:orientation="vertical"> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:gravity="center_vertical"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="车牌号" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text1" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入车牌号" | |||
android:enabled="false" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="车辆类型" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text2" | |||
style="@style/EditTextStyle" | |||
android:enabled="false" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择车辆类型" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="所有人" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text3" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入所有人" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="核定载人数" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text4" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入核定载人数" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="人" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout1" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="总质量" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text5" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入总质量" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" | |||
app:regexType="number" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="kg" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout2" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="整备质量" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text6" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入整备质量" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" | |||
app:regexType="number" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="kg" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="外廓尺寸" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text7" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入外廓尺寸" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="mm" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="品牌型号" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text8" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入行驶证品牌型号" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="车辆识别代号" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text9" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入车辆识别代号" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="发动机号码" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text10" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入发动机号码" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout3" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="核定载质量" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text11" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1.5" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入核定载质量" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" | |||
app:regexType="number" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="kg" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout5" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="准牵引总质量" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text12" | |||
android:enabled="false" | |||
style="@style/EditTextStyle" | |||
android:layout_width="0dp" | |||
android:layout_height="match_parent" | |||
android:layout_weight="1.8" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入准牵引总质量" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginRight="@dimen/dp_20" | |||
android:text="kg" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout4" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="车轴数" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<androidx.appcompat.widget.AppCompatTextView | |||
android:id="@+id/text13" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择车轴数" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:background="#FFFFFF"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="发证日期" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<androidx.appcompat.widget.AppCompatTextView | |||
android:id="@+id/text14" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择发证日期" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout90" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:paddingHorizontal="@dimen/dp_12" | |||
android:visibility="visible"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:gravity="center_vertical" | |||
android:text="车辆用户类型" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<androidx.appcompat.widget.AppCompatTextView | |||
android:id="@+id/text15" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择车辆用户类型" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:background="#FFFFFF" | |||
android:visibility="gone"> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_20" | |||
android:text="服务场景" | |||
android:textColor="#333333" | |||
android:textSize="15sp" /> | |||
<androidx.appcompat.widget.AppCompatTextView | |||
android:id="@+id/text16" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择服务场景" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
android:singleLine="true" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<View | |||
android:layout_width="wrap_content" | |||
android:layout_height="0dp" | |||
android:layout_weight="1" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:orientation="horizontal" | |||
android:paddingHorizontal="@dimen/dp_5" | |||
android:visibility="visible" | |||
tools:ignore="UseCompoundDrawables"> | |||
<ImageView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:src="@mipmap/tips" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_10" | |||
android:text="请仔细核对用户车辆信息,确认无误后,点击下一步" | |||
android:textColor="#FA8C16" | |||
android:textSize="@dimen/sp_10" /> | |||
</LinearLayout> | |||
<Button | |||
android:id="@+id/btnNext" | |||
style="@style/BtnShortStyle" | |||
android:layout_width="@dimen/dp_150" | |||
android:layout_height="@dimen/dp_40" | |||
android:layout_alignParentBottom="true" | |||
android:layout_centerHorizontal="true" | |||
android:layout_gravity="center" | |||
android:layout_marginTop="@dimen/dp_40" | |||
android:layout_marginBottom="@dimen/dp_30" | |||
android:text="下一步" | |||
android:textSize="@dimen/sp_14" /> | |||
</LinearLayout> | |||
</androidx.core.widget.NestedScrollView> | |||
</LinearLayout> |
@@ -1,6 +0,0 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent"> | |||
</LinearLayout> |
@@ -1,6 +0,0 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent"> | |||
</LinearLayout> |
@@ -134,6 +134,97 @@ | |||
android:text="否" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<TextView | |||
style="@style/MatchOne.HorLine"/> | |||
<LinearLayout | |||
android:id="@+id/LLType" | |||
style="@style/MatchWrap.Vertical" | |||
android:gravity="center_vertical" | |||
android:layout_marginTop="@dimen/dp_15" | |||
android:layout_height="@dimen/dp_55"> | |||
<TextView | |||
style="@style/MatchWrap" | |||
android:text="请选择需要更换的设备" | |||
android:textColor="@color/color_333333" | |||
android:textSize="@dimen/sp_14" /> | |||
<LinearLayout | |||
style="@style/MatchWrap.Horizontal" | |||
android:gravity="center_vertical" | |||
android:layout_height="match_parent"> | |||
<LinearLayout | |||
android:id="@+id/choiceCard" | |||
android:layout_width="0dp" | |||
android:layout_height="wrap_content" | |||
android:layout_weight="1" | |||
android:clickable="true" | |||
android:orientation="horizontal"> | |||
<androidx.appcompat.widget.AppCompatCheckBox | |||
android:id="@+id/card" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:background="@null" | |||
android:checked="true" | |||
app:buttonCompat="@drawable/checkbox_selector" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_12" | |||
android:text="卡" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/choiceOBU" | |||
android:layout_width="0dp" | |||
android:layout_height="wrap_content" | |||
android:layout_weight="1" | |||
android:clickable="true" | |||
android:orientation="horizontal"> | |||
<androidx.appcompat.widget.AppCompatCheckBox | |||
android:id="@+id/obu" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:background="@null" | |||
app:buttonCompat="@drawable/checkbox_selector" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_12" | |||
android:text="OBU" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/choiceCardObu" | |||
android:layout_width="0dp" | |||
android:layout_height="wrap_content" | |||
android:layout_weight="1" | |||
android:clickable="true" | |||
android:orientation="horizontal"> | |||
<androidx.appcompat.widget.AppCompatCheckBox | |||
android:id="@+id/cardobu" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:background="@null" | |||
app:buttonCompat="@drawable/checkbox_selector" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_12" | |||
android:text="卡和OBU" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<TextView |
@@ -66,8 +66,7 @@ | |||
android:id="@+id/hl_status_hint" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:layout_below="@+id/LLSearch" | |||
android:layout_marginBottom="@dimen/dp_45"> | |||
android:layout_below="@+id/LLSearch"> | |||
<com.scwang.smart.refresh.layout.SmartRefreshLayout | |||
android:id="@+id/rl_status_refresh" |
@@ -4,19 +4,20 @@ | |||
xmlns:tools="http://schemas.android.com/tools" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="@color/background_color" | |||
android:orientation="vertical"> | |||
<com.hjq.bar.TitleBar | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@drawable/video_ball_bg12" | |||
app:leftIcon="@mipmap/back_three" | |||
android:background="@color/white" | |||
app:leftIcon="@mipmap/back_black" | |||
app:lineVisible="false" | |||
app:title="更换卡签" | |||
app:titleColor="#FFFFFF" /> | |||
app:title="更换卡签" /> | |||
<androidx.core.widget.NestedScrollView | |||
android:layout_width="match_parent" | |||
android:paddingTop="@dimen/dp_15" | |||
android:layout_height="wrap_content"> | |||
<LinearLayout | |||
@@ -40,7 +41,8 @@ | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_15" | |||
android:text="上传身份证照片" | |||
android:text="证件照:" | |||
android:visibility="gone" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_12" /> | |||
@@ -59,7 +61,7 @@ | |||
<ImageView | |||
android:id="@+id/image1" | |||
android:layout_width="87.5dp" | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
@@ -72,7 +74,7 @@ | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="拍摄人像面" | |||
android:text="人像面" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
@@ -92,7 +94,7 @@ | |||
<ImageView | |||
android:id="@+id/image2" | |||
android:layout_width="87.5dp" | |||
android:layout_width="match_parent" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
@@ -105,7 +107,7 @@ | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="拍摄国徽面" | |||
android:text="国徽面" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
@@ -117,10 +119,12 @@ | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:text="拍摄规范如下:" | |||
android:visibility="gone" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_12" /> | |||
<TextView | |||
android:visibility="gone" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
@@ -129,6 +133,7 @@ | |||
android:textSize="@dimen/sp_10" /> | |||
<LinearLayout | |||
android:visibility="gone" | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_9" | |||
@@ -232,7 +237,7 @@ | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_14" | |||
android:layout_marginBottom="@dimen/dp_12" | |||
android:text="识别内容如下:" | |||
android:text="用户信息如下:" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_16" /> | |||
@@ -252,7 +257,6 @@ | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="姓名" | |||
android:textSize="@dimen/sp_14" | |||
@@ -266,6 +270,7 @@ | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入姓名" | |||
android:enabled="false" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
</LinearLayout> | |||
@@ -286,7 +291,6 @@ | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="联系方式" | |||
android:textSize="@dimen/sp_14" | |||
@@ -300,6 +304,7 @@ | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入手机号" | |||
android:enabled="false" | |||
android:paddingHorizontal="@dimen/dp_20" | |||
app:regexType="mobile" /> | |||
@@ -320,7 +325,6 @@ | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="身份证号" | |||
android:textSize="@dimen/sp_14" | |||
@@ -334,6 +338,7 @@ | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入身份证号" | |||
android:enabled="false" | |||
android:minHeight="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
@@ -355,7 +360,6 @@ | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="地址" | |||
android:textSize="@dimen/sp_14" | |||
@@ -369,6 +373,7 @@ | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入地址" | |||
android:enabled="false" | |||
android:minHeight="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
@@ -390,7 +395,6 @@ | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="证件有效期" | |||
android:textSize="@dimen/sp_14" | |||
@@ -404,10 +408,11 @@ | |||
android:layout_weight="1" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请选择过期时间" | |||
android:hint="证件有效期" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
<ImageView | |||
android:visibility="gone" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:src="@drawable/arrows_right_ic" /> | |||
@@ -422,6 +427,7 @@ | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:orientation="horizontal" | |||
android:paddingHorizontal="@dimen/dp_5" | |||
android:visibility="visible" | |||
tools:ignore="UseCompoundDrawables"> | |||
<ImageView | |||
@@ -433,328 +439,24 @@ | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_10" | |||
android:text="如识别信息不准确,可自行修改,确认无误后,点击下一步" | |||
android:text="请仔细核对用户信息,确认无误后,点击下一步" | |||
android:textColor="#FA8C16" | |||
android:textSize="@dimen/sp_10" /> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:id="@+id/layout2" | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:orientation="vertical" | |||
android:visibility="gone" | |||
tools:visibility="visible"> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_14" | |||
android:layout_marginBottom="@dimen/dp_12" | |||
android:text="经办人信息" | |||
android:textColor="#333333" | |||
android:textSize="@dimen/sp_16" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:padding="@dimen/dp_15"> | |||
<View style="@style/HorizontalLineStyle" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_155" | |||
android:gravity="center"> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image3" | |||
android:layout_width="87.5dp" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:src="@mipmap/identity_card1" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="拍摄人像面" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
<View | |||
android:layout_width="@dimen/dp_20" | |||
android:layout_height="0dp" /> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image4" | |||
android:layout_width="87.5dp" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:src="@mipmap/identity_card2" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="拍摄国徽面" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_155" | |||
android:gravity="center"> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="visible"> | |||
<ImageView | |||
android:id="@+id/image5" | |||
android:layout_width="87.5dp" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:paddingHorizontal="@dimen/dp_5" | |||
android:src="@mipmap/identity_card3" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="委托书" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
<View | |||
android:layout_width="@dimen/dp_20" | |||
android:layout_height="0dp" /> | |||
<LinearLayout | |||
android:layout_width="0dp" | |||
android:layout_height="@dimen/dp_120" | |||
android:layout_weight="1" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:visibility="invisible"> | |||
<ImageView | |||
android:layout_width="87.5dp" | |||
android:layout_height="0dp" | |||
android:layout_gravity="center" | |||
android:layout_weight="1" | |||
android:src="@mipmap/identity_card2" | |||
tools:ignore="NestedWeights" /> | |||
<TextView | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_30" | |||
android:background="@drawable/home_unm_bg3" | |||
android:gravity="center" | |||
android:text="拍摄国徽面" | |||
android:textColor="#FFFFFF" | |||
android:textSize="@dimen/sp_12" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:background="@drawable/home_unm_bg2" | |||
android:orientation="vertical" | |||
android:paddingHorizontal="@dimen/dp_15"> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="#FFFFFF" | |||
android:gravity="center_vertical" | |||
android:minHeight="@dimen/dp_45"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="经办人姓名" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text6" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入经办人姓名" | |||
android:minHeight="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
</LinearLayout> | |||
<View | |||
style="@style/VerticalLineStyle" | |||
android:layout_width="wrap_content" | |||
android:layout_height="1dp" | |||
android:layout_marginHorizontal="@dimen/dp_10" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="#FFFFFF" | |||
android:gravity="center_vertical" | |||
android:minHeight="@dimen/dp_45"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="经办人证件号" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<com.hjq.widget.view.ClearEditText | |||
android:id="@+id/text7" | |||
style="@style/EditTextStyle" | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:hint="请输入经办人证件号" | |||
android:minHeight="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
</LinearLayout> | |||
<View | |||
style="@style/VerticalLineStyle" | |||
android:layout_width="wrap_content" | |||
android:layout_height="1dp" | |||
android:layout_marginHorizontal="@dimen/dp_10" /> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:background="#FFFFFF" | |||
android:gravity="center_vertical" | |||
android:minHeight="@dimen/dp_45"> | |||
<TextView | |||
android:layout_width="@dimen/dp_110" | |||
android:layout_height="match_parent" | |||
android:drawableLeft="@mipmap/must" | |||
android:gravity="center_vertical" | |||
android:text="证件有效日期" | |||
android:textSize="@dimen/sp_14" | |||
tools:ignore="UseCompatTextViewDrawableXml" /> | |||
<TextView | |||
android:id="@+id/text8" | |||
style="@style/EditTextStyle" | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:background="@color/white" | |||
android:drawablePadding="@dimen/dp_15" | |||
android:gravity="center_vertical" | |||
android:hint="请选择证件有效日期" | |||
android:minHeight="@dimen/dp_45" | |||
android:paddingHorizontal="@dimen/dp_20" /> | |||
<ImageView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:src="@drawable/arrows_right_ic" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<LinearLayout | |||
android:layout_width="match_parent" | |||
android:layout_height="wrap_content" | |||
android:layout_marginTop="@dimen/dp_12" | |||
android:gravity="center_vertical" | |||
android:orientation="horizontal" | |||
android:paddingHorizontal="@dimen/dp_5" | |||
tools:ignore="UseCompoundDrawables"> | |||
<ImageView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:src="@mipmap/tips" /> | |||
<TextView | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
android:layout_marginLeft="@dimen/dp_10" | |||
android:text="如识别信息不准确,可自行修改,确认无误后,点击下一步" | |||
android:textColor="#FA8C16" | |||
android:textSize="@dimen/sp_10" /> | |||
</LinearLayout> | |||
</LinearLayout> | |||
<Button | |||
android:id="@+id/nextStep" | |||
android:layout_width="match_parent" | |||
android:layout_height="@dimen/dp_45" | |||
android:layout_marginHorizontal="@dimen/dp_112" | |||
android:layout_marginTop="@dimen/dp_30" | |||
android:layout_marginBottom="@dimen/dp_20" | |||
android:background="@drawable/button_circle_selector3" | |||
android:id="@+id/btnNext" | |||
style="@style/BtnShortStyle" | |||
android:layout_width="@dimen/dp_150" | |||
android:layout_height="@dimen/dp_40" | |||
android:layout_alignParentBottom="true" | |||
android:layout_centerHorizontal="true" | |||
android:layout_gravity="center" | |||
android:layout_marginTop="@dimen/dp_40" | |||
android:layout_marginBottom="@dimen/dp_30" | |||
android:text="下一步" | |||
android:textColor="#FFFFFF" /> | |||
android:textSize="@dimen/sp_14" /> | |||
</LinearLayout> | |||
</androidx.core.widget.NestedScrollView> | |||
</LinearLayout> |