Commit cb66547b931efcbe910f8aa5b06ece5c4dd1d3d8
Merge branch 'master' of http://bj.gitlab.cnlive.com/cnlive-team/newModuleStrike
Conflicts: core/dentity_verfication/src/main/AndroidManifest.xml core/dentity_verfication/src/main/res/values/strings.xml
Showing
47 changed files
with
837 additions
and
92 deletions
app/strike/src/main/java/com/cnlive/strike/demo/activity/DemoMvpActivity.java
| ... | ... | @@ -64,10 +64,6 @@ public class DemoMvpActivity extends BaseActivity<DemoActivityView, DemoActivity |
| 64 | 64 | return R.layout.activity_demo_mvp_main; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - @Override | |
| 68 | - protected int getViewLayoutId() { | |
| 69 | - return super.getViewLayoutId(); | |
| 70 | - } | |
| 71 | 67 | |
| 72 | 68 | |
| 73 | 69 | @Override | ... | ... |
app/strike/src/main/java/com/cnlive/strike/imgutil/UgcActivity.java
| ... | ... | @@ -5,6 +5,7 @@ import android.os.Bundle; |
| 5 | 5 | |
| 6 | 6 | import com.cnlive.cloud.R; |
| 7 | 7 | import com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity; |
| 8 | +import com.cnlive.core.company_verfication.ui.activity.SelectCompanyDataActivity; | |
| 8 | 9 | import com.cnlive.core.people_verfication.activity.TakeIdentityPictureActivity; |
| 9 | 10 | |
| 10 | 11 | import androidx.appcompat.app.AppCompatActivity; | ... | ... |
core/base/src/main/java/com/cnlive/core/libs/base/frame/activity/BaseActivity.java
| ... | ... | @@ -10,6 +10,7 @@ import android.content.pm.PackageManager; |
| 10 | 10 | import android.content.res.Configuration; |
| 11 | 11 | import android.content.res.Resources; |
| 12 | 12 | import android.graphics.Bitmap; |
| 13 | +import android.graphics.Color; | |
| 13 | 14 | import android.net.Uri; |
| 14 | 15 | import android.os.Build; |
| 15 | 16 | import android.os.Bundle; |
| ... | ... | @@ -52,6 +53,7 @@ import com.cnlive.core.libs.base.util.StatusBarUtil; |
| 52 | 53 | import com.cnlive.cloud.base.R; |
| 53 | 54 | import com.hannesdorfmann.mosby3.mvp.MvpActivity; |
| 54 | 55 | import com.hannesdorfmann.mosby3.mvp.MvpBasePresenter; |
| 56 | +import com.hannesdorfmann.mosby3.mvp.delegate.ActivityMvpDelegate; | |
| 55 | 57 | import com.me.yokeyword.fragmentation.ExtraTransaction; |
| 56 | 58 | import com.me.yokeyword.fragmentation.Fragmentation; |
| 57 | 59 | import com.me.yokeyword.fragmentation.ISupportActivity; |
| ... | ... | @@ -146,14 +148,6 @@ public abstract class BaseActivity<V extends BaseView, P extends BasePresenter<V |
| 146 | 148 | observableList = new ArrayList<>(); |
| 147 | 149 | } |
| 148 | 150 | |
| 149 | - if (!isShowTitle) { | |
| 150 | - requestWindowFeature(Window.FEATURE_NO_TITLE); | |
| 151 | - } | |
| 152 | - | |
| 153 | - if (!isShowStatusBar) { | |
| 154 | - getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | |
| 155 | - , WindowManager.LayoutParams.FLAG_FULLSCREEN); | |
| 156 | - } | |
| 157 | 151 | //设置binding数据 |
| 158 | 152 | if (null != baseBinding) { |
| 159 | 153 | initBindingLayoutData(baseBinding); |
| ... | ... | @@ -163,6 +157,14 @@ public abstract class BaseActivity<V extends BaseView, P extends BasePresenter<V |
| 163 | 157 | } |
| 164 | 158 | //初始化控件 |
| 165 | 159 | initView(); |
| 160 | + if (!isShowTitle) { | |
| 161 | + requestWindowFeature(Window.FEATURE_NO_TITLE); | |
| 162 | + } | |
| 163 | + | |
| 164 | + if (!isShowStatusBar) { | |
| 165 | + getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | |
| 166 | + , WindowManager.LayoutParams.FLAG_FULLSCREEN); | |
| 167 | + } | |
| 166 | 168 | //设置数据 |
| 167 | 169 | initData(); |
| 168 | 170 | //是否开启滑动返回 |
| ... | ... | @@ -187,6 +189,69 @@ public abstract class BaseActivity<V extends BaseView, P extends BasePresenter<V |
| 187 | 189 | } |
| 188 | 190 | |
| 189 | 191 | /** |
| 192 | + * 设置状态栏颜色 | |
| 193 | + * | |
| 194 | + * @param color | |
| 195 | + * @param statusBarAlpha | |
| 196 | + */ | |
| 197 | + public void setStatusBarColor(@ColorRes int color, | |
| 198 | + @IntRange(from = 0, to = 255) int statusBarAlpha) { | |
| 199 | + StatusBarUtil.setColor(this, ContextCompat.getColor(this, color), statusBarAlpha); | |
| 200 | + } | |
| 201 | + | |
| 202 | + /** | |
| 203 | + * 设置状态栏颜色,同时设置字体颜色 | |
| 204 | + * | |
| 205 | + * @param color | |
| 206 | + * @param statusBarAlpha | |
| 207 | + */ | |
| 208 | + public void setStatusBarColor(@ColorRes int color, | |
| 209 | + @IntRange(from = 0, to = 255) int statusBarAlpha, @StatusBarConfig.Unit final int textColor) { | |
| 210 | + StatusBarUtil.setColor(this, ContextCompat.getColor(this, color), statusBarAlpha); | |
| 211 | + if (textColor == StatusBarConfig.BLACK) { | |
| 212 | + StatusBarUtil.setStatusBarWrite(this); | |
| 213 | + } else if (textColor == StatusBarConfig.WHITE) { | |
| 214 | + StatusBarUtil.setStatusBarDarkMode(this); | |
| 215 | + } | |
| 216 | + } | |
| 217 | + | |
| 218 | + /** | |
| 219 | + * 设置透明 | |
| 220 | + */ | |
| 221 | + public void setTransparentForWindow() { | |
| 222 | + StatusBarUtil.setTransparentForWindow(this); | |
| 223 | + } | |
| 224 | + | |
| 225 | + /** | |
| 226 | + * 添加半透明矩形条 | |
| 227 | + * | |
| 228 | + * @param statusBarAlpha | |
| 229 | + */ | |
| 230 | + public void addTranslucentView(@IntRange(from = 0, to = 255) int statusBarAlpha) { | |
| 231 | + StatusBarUtil.addTranslucentView(this, statusBarAlpha); | |
| 232 | + } | |
| 233 | + | |
| 234 | + /** | |
| 235 | + * 沉浸式状态栏 | |
| 236 | + */ | |
| 237 | + public void showImmersiveStatusBar() { | |
| 238 | + StatusBarUtil.setTransparentForWindow(this); | |
| 239 | + StatusBarUtil.addTranslucentView(this, 0); | |
| 240 | + } | |
| 241 | + | |
| 242 | + /** | |
| 243 | + * 设置状态栏字体颜色 | |
| 244 | + */ | |
| 245 | + // 定义适用于参数的注解,限定取值范围为{STATUS_OPEN, STATUS_CLOSE} | |
| 246 | + public void setStatusBarTextColor(@StatusBarConfig.Unit final int type) { | |
| 247 | + if (type == StatusBarConfig.BLACK) { | |
| 248 | + StatusBarUtil.setStatusBarWrite(this); | |
| 249 | + } else if (type == StatusBarConfig.WHITE) { | |
| 250 | + StatusBarUtil.setStatusBarDarkMode(this); | |
| 251 | + } | |
| 252 | + } | |
| 253 | + | |
| 254 | + /** | |
| 190 | 255 | * 是否显示默认空视图 |
| 191 | 256 | * |
| 192 | 257 | * @param enable |
| ... | ... | @@ -523,56 +588,6 @@ public abstract class BaseActivity<V extends BaseView, P extends BasePresenter<V |
| 523 | 588 | } |
| 524 | 589 | } |
| 525 | 590 | |
| 526 | - /** | |
| 527 | - * 设置状态栏颜色 | |
| 528 | - * | |
| 529 | - * @param color | |
| 530 | - * @param statusBarAlpha | |
| 531 | - */ | |
| 532 | - public void setStatusBarColor(@ColorRes int color, | |
| 533 | - @IntRange(from = 0, to = 255) int statusBarAlpha) { | |
| 534 | - StatusBarUtil.setColor(this, ContextCompat.getColor(this, color), statusBarAlpha); | |
| 535 | - } | |
| 536 | - | |
| 537 | - /** | |
| 538 | - * 设置状态栏颜色,同时设置字体颜色 | |
| 539 | - * | |
| 540 | - * @param color | |
| 541 | - * @param statusBarAlpha | |
| 542 | - */ | |
| 543 | - public void setStatusBarColor(@ColorRes int color, | |
| 544 | - @IntRange(from = 0, to = 255) int statusBarAlpha, @StatusBarConfig.Unit final int textColor) { | |
| 545 | - StatusBarUtil.setColor(this, ContextCompat.getColor(this, color), statusBarAlpha); | |
| 546 | - if (textColor == StatusBarConfig.BLACK) { | |
| 547 | - StatusBarUtil.setStatusBarWrite(this); | |
| 548 | - } else if (textColor == StatusBarConfig.WHITE) { | |
| 549 | - StatusBarUtil.setStatusBarDarkMode(this); | |
| 550 | - } | |
| 551 | - } | |
| 552 | - | |
| 553 | - public void setTransparentForWindow() { | |
| 554 | - StatusBarUtil.setTransparentForWindow(this); | |
| 555 | - } | |
| 556 | - | |
| 557 | - public void addTranslucentView(@IntRange(from = 0, to = 255) int statusBarAlpha) { | |
| 558 | - StatusBarUtil.addTranslucentView(this, statusBarAlpha); | |
| 559 | - } | |
| 560 | - | |
| 561 | - public void setDecorViewBgColor(@ColorInt int color) { | |
| 562 | - getWindow().getDecorView().setBackgroundColor(color); | |
| 563 | - } | |
| 564 | - | |
| 565 | - /** | |
| 566 | - * 设置状态栏字体颜色 | |
| 567 | - */ | |
| 568 | - // 定义适用于参数的注解,限定取值范围为{STATUS_OPEN, STATUS_CLOSE} | |
| 569 | - public void setStatusBarTextColor(@StatusBarConfig.Unit final int type) { | |
| 570 | - if (type == StatusBarConfig.BLACK) { | |
| 571 | - StatusBarUtil.setStatusBarWrite(this); | |
| 572 | - } else if (type == StatusBarConfig.WHITE) { | |
| 573 | - StatusBarUtil.setStatusBarDarkMode(this); | |
| 574 | - } | |
| 575 | - } | |
| 576 | 591 | |
| 577 | 592 | @NonNull |
| 578 | 593 | public final V createView() { | ... | ... |
core/base/src/main/java/com/cnlive/core/libs/base/frame/fragment/BaseFragment.java
| ... | ... | @@ -235,7 +235,9 @@ public abstract class BaseFragment<V extends BaseView, P extends BasePresenter<V |
| 235 | 235 | |
| 236 | 236 | @Override |
| 237 | 237 | public void update(Observable o, Object data) { |
| 238 | - | |
| 238 | + if (null == getMvpView()) { | |
| 239 | + return; | |
| 240 | + } | |
| 239 | 241 | } |
| 240 | 242 | |
| 241 | 243 | /** |
| ... | ... | @@ -406,10 +408,12 @@ public abstract class BaseFragment<V extends BaseView, P extends BasePresenter<V |
| 406 | 408 | me.addTranslucentView(statusBarAlpha); |
| 407 | 409 | } |
| 408 | 410 | |
| 409 | - public void setDecorViewBgColor(@ColorInt int color) { | |
| 410 | - me.setDecorViewBgColor(color); | |
| 411 | + /** | |
| 412 | + * 沉浸式状态栏 | |
| 413 | + */ | |
| 414 | + public void showImmersiveStatusBar(){ | |
| 415 | + me.showImmersiveStatusBar(); | |
| 411 | 416 | } |
| 412 | - | |
| 413 | 417 | @Override |
| 414 | 418 | public void onDestroy() { |
| 415 | 419 | super.onDestroy(); | ... | ... |
core/dentity_verfication/src/main/AndroidManifest.xml
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | <application> |
| 15 | 15 | <activity android:name=".activity.PersonCheckActivity"></activity> |
| 16 | 16 | <activity android:name=".activity.CheckResultActivity" /> |
| 17 | - <activity android:name="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity" /> | |
| 17 | + <activity android:name="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity"></activity> | |
| 18 | + <activity android:name="com.cnlive.core.company_verfication.ui.activity.SelectCompanyDataActivity" /> | |
| 18 | 19 | <activity android:name=".activity.TakeIdentityPictureActivity" /> |
| 19 | 20 | <activity |
| 20 | 21 | android:name="com.cnlive.core.ocr.ui.camera.CameraActivity" | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/activity/FillInCompanyDataActivity.java
| 1 | 1 | package com.cnlive.core.company_verfication.ui.activity; |
| 2 | 2 | |
| 3 | -import androidx.annotation.Nullable; | |
| 4 | 3 | import androidx.appcompat.app.AppCompatActivity; |
| 5 | -import androidx.databinding.ViewDataBinding; | |
| 6 | -import androidx.recyclerview.widget.LinearLayoutManager; | |
| 7 | 4 | |
| 8 | 5 | import android.os.Bundle; |
| 9 | -import android.os.PersistableBundle; | |
| 10 | 6 | |
| 11 | -import com.cnlive.core.company_verfication.ui.adapter.CompanyDataAdapter; | |
| 12 | 7 | import com.cnlive.core.libs.base.frame.activity.BaseActivity; |
| 8 | +import com.cnlive.core.libs.base.util.StatusBarConfig; | |
| 13 | 9 | import com.cnlive.core.people_verfication.R; |
| 14 | -import com.cnlive.core.people_verfication.databinding.FragmentFillInCompanyDataBinding; | |
| 15 | - | |
| 16 | -import java.util.ArrayList; | |
| 17 | -import java.util.List; | |
| 18 | 10 | |
| 19 | 11 | public class FillInCompanyDataActivity extends BaseActivity { |
| 20 | - private List<String> data = new ArrayList<>(); | |
| 21 | - private FragmentFillInCompanyDataBinding binding; | |
| 22 | - private CompanyDataAdapter adapter; | |
| 23 | - @Override | |
| 24 | - protected int getBindLayoutId() { | |
| 25 | - return R.layout.fragment_fill_in_company_data; | |
| 26 | - } | |
| 12 | + | |
| 27 | 13 | |
| 28 | 14 | @Override |
| 29 | - protected void initBindingLayoutData(ViewDataBinding baseBinding) { | |
| 30 | - super.initBindingLayoutData(baseBinding); | |
| 31 | - binding= (FragmentFillInCompanyDataBinding) baseBinding; | |
| 15 | + protected int getBindLayoutId() { | |
| 16 | + return R.layout.activity_fill_in_company_data; | |
| 32 | 17 | } |
| 33 | 18 | |
| 34 | 19 | @Override |
| 35 | 20 | protected void initView() { |
| 36 | - data.add("测试"); | |
| 37 | - adapter=new CompanyDataAdapter(me,data); | |
| 38 | - binding.recyclerView.setLayoutManager(new LinearLayoutManager(me)); | |
| 39 | - binding.recyclerView.setAdapter(adapter); | |
| 21 | + showImmersiveStatusBar(); | |
| 40 | 22 | } |
| 41 | 23 | } | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/activity/SelectCompanyDataActivity.java
0 → 100644
| 1 | +package com.cnlive.core.company_verfication.ui.activity; | |
| 2 | + | |
| 3 | +import androidx.annotation.Nullable; | |
| 4 | +import androidx.appcompat.app.AppCompatActivity; | |
| 5 | +import androidx.databinding.ViewDataBinding; | |
| 6 | +import androidx.recyclerview.widget.LinearLayoutManager; | |
| 7 | + | |
| 8 | +import android.os.Bundle; | |
| 9 | +import android.os.PersistableBundle; | |
| 10 | + | |
| 11 | +import com.cnlive.core.company_verfication.ui.adapter.CompanyDataAdapter; | |
| 12 | +import com.cnlive.core.libs.base.frame.activity.BaseActivity; | |
| 13 | +import com.cnlive.core.people_verfication.R; | |
| 14 | +import com.cnlive.core.people_verfication.databinding.FragmentFillInCompanyDataBinding; | |
| 15 | + | |
| 16 | +import java.util.ArrayList; | |
| 17 | +import java.util.List; | |
| 18 | + | |
| 19 | +public class SelectCompanyDataActivity extends BaseActivity { | |
| 20 | + private List<String> data = new ArrayList<>(); | |
| 21 | + private FragmentFillInCompanyDataBinding binding; | |
| 22 | + private CompanyDataAdapter adapter; | |
| 23 | + @Override | |
| 24 | + protected int getBindLayoutId() { | |
| 25 | + return R.layout.fragment_fill_in_company_data; | |
| 26 | + } | |
| 27 | + | |
| 28 | + @Override | |
| 29 | + protected void initBindingLayoutData(ViewDataBinding baseBinding) { | |
| 30 | + super.initBindingLayoutData(baseBinding); | |
| 31 | + binding= (FragmentFillInCompanyDataBinding) baseBinding; | |
| 32 | + } | |
| 33 | + | |
| 34 | + @Override | |
| 35 | + protected void initView() { | |
| 36 | + data.add("测试"); | |
| 37 | + adapter=new CompanyDataAdapter(me,data); | |
| 38 | + binding.recyclerView.setLayoutManager(new LinearLayoutManager(me)); | |
| 39 | + binding.recyclerView.setAdapter(adapter); | |
| 40 | + } | |
| 41 | +} | ... | ... |
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_audit.png
0 → 100644
7.56 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_audit_arrow.png
0 → 100644
604 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_audit_success.png
0 → 100644
8.03 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_company_license_add.png
0 → 100644
1.89 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_company_logo_add.png
0 → 100644
1.01 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_fill_company_data_delete.png
0 → 100644
1.11 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_must.png
0 → 100644
451 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_qualification.png
0 → 100644
9.39 KB
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_select_arrow.png
0 → 100644
407 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_tip.png
0 → 100644
794 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/timgs.png
0 → 100644
48.7 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_audit.png
0 → 100644
7.11 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_audit_arrow.png
0 → 100644
729 Bytes
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_audit_success.png
0 → 100644
7.6 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_company_license_add.png
0 → 100644
2.58 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_company_logo_add.png
0 → 100644
1.32 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_fill_company_data_delete.png
0 → 100644
1.89 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_must.png
0 → 100644
574 Bytes
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_qualification.png
0 → 100644
8.44 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_select_arrow.png
0 → 100644
424 Bytes
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_tip.png
0 → 100644
918 Bytes
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_audit.png
0 → 100644
15.4 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_audit_arrow.png
0 → 100644
1.19 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_audit_success.png
0 → 100644
16.6 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_company_license_add.png
0 → 100644
4.94 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_company_logo_add.png
0 → 100644
2.49 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_fill_company_data_delete.png
0 → 100644
2.68 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_must.png
0 → 100644
958 Bytes
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_qualification.png
0 → 100644
19.4 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_select_arrow.png
0 → 100644
825 Bytes
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_tip.png
0 → 100644
1.63 KB
core/dentity_verfication/src/main/res/drawable/shape_verficat_blue_right_arrow.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 3 | + <!-- 正三角 --> | |
| 4 | + <item | |
| 5 | + android:width="9dp" | |
| 6 | + android:height="15dp"> | |
| 7 | + <shape android:shape="rectangle"> | |
| 8 | + <solid android:color="#ff6ab9fd" /> | |
| 9 | + </shape> | |
| 10 | + </item> | |
| 11 | +</layer-list> | ... | ... |
core/dentity_verfication/src/main/res/drawable/shape_verficat_et_5_round_black_bg.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 3 | + <corners android:radius="5dp" /> | |
| 4 | + <solid android:color="@color/white" /> | |
| 5 | + <stroke | |
| 6 | + android:width="0.5dp" | |
| 7 | + android:color="@color/color_C1C1C1" /> | |
| 8 | +</shape> | |
| 0 | 9 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/drawable/shape_verficat_fill_in_company_data_btn_submit.xml
0 → 100644
core/dentity_verfication/src/main/res/layout/activity_fill_in_company_data.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" | |
| 4 | + xmlns:tools="http://schemas.android.com/tools"> | |
| 5 | + | |
| 6 | + <androidx.constraintlayout.widget.ConstraintLayout | |
| 7 | + android:layout_width="match_parent" | |
| 8 | + android:layout_height="match_parent" | |
| 9 | + tools:context="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity"> | |
| 10 | + | |
| 11 | + <androidx.core.widget.NestedScrollView | |
| 12 | + android:layout_width="match_parent" | |
| 13 | + android:layout_height="match_parent" | |
| 14 | + tools:layout_editor_absoluteX="43dp" | |
| 15 | + tools:layout_editor_absoluteY="265dp"> | |
| 16 | + | |
| 17 | + <LinearLayout | |
| 18 | + android:layout_width="match_parent" | |
| 19 | + android:layout_height="match_parent" | |
| 20 | + android:orientation="vertical"> | |
| 21 | + <ImageView | |
| 22 | + android:layout_width="match_parent" | |
| 23 | + android:layout_height="200dp" | |
| 24 | + android:background="@drawable/timgs"/> | |
| 25 | + <!--标题--> | |
| 26 | + <com.qmuiteam.qmui.widget.QMUITopBar | |
| 27 | + android:id="@+id/topbar" | |
| 28 | + android:layout_width="match_parent" | |
| 29 | + android:layout_height="?attr/qmui_topbar_height" /> | |
| 30 | + <!--流程--> | |
| 31 | + <LinearLayout | |
| 32 | + android:layout_width="match_parent" | |
| 33 | + android:layout_height="wrap_content" | |
| 34 | + android:background="@color/white" | |
| 35 | + android:gravity="center" | |
| 36 | + android:paddingTop="10dp" | |
| 37 | + android:paddingBottom="10dp"> | |
| 38 | + | |
| 39 | + <LinearLayout | |
| 40 | + android:layout_width="0dp" | |
| 41 | + android:layout_height="wrap_content" | |
| 42 | + android:layout_weight="1" | |
| 43 | + android:gravity="center"> | |
| 44 | + | |
| 45 | + <ImageView | |
| 46 | + android:layout_width="72dp" | |
| 47 | + android:layout_height="77dp" | |
| 48 | + android:background="@drawable/icon_verficat_qualification" /> | |
| 49 | + </LinearLayout> | |
| 50 | + | |
| 51 | + <ImageView | |
| 52 | + android:layout_width="8.5dp" | |
| 53 | + android:layout_height="15dp" | |
| 54 | + android:background="@drawable/icon_verficat_audit_arrow" /> | |
| 55 | + | |
| 56 | + <LinearLayout | |
| 57 | + android:layout_width="0dp" | |
| 58 | + android:layout_height="wrap_content" | |
| 59 | + android:layout_weight="1" | |
| 60 | + android:gravity="center"> | |
| 61 | + | |
| 62 | + <ImageView | |
| 63 | + android:layout_width="55dp" | |
| 64 | + android:layout_height="77dp" | |
| 65 | + android:background="@drawable/icon_verficat_audit" /> | |
| 66 | + </LinearLayout> | |
| 67 | + | |
| 68 | + <ImageView | |
| 69 | + android:layout_width="8.5dp" | |
| 70 | + android:layout_height="15dp" | |
| 71 | + android:background="@drawable/icon_verficat_audit_arrow" /> | |
| 72 | + | |
| 73 | + <LinearLayout | |
| 74 | + android:layout_width="0dp" | |
| 75 | + android:layout_height="wrap_content" | |
| 76 | + android:layout_weight="1" | |
| 77 | + android:gravity="center"> | |
| 78 | + | |
| 79 | + <ImageView | |
| 80 | + android:layout_width="55dp" | |
| 81 | + android:layout_height="77dp" | |
| 82 | + android:background="@drawable/icon_verficat_audit_success" /> | |
| 83 | + </LinearLayout> | |
| 84 | + | |
| 85 | + </LinearLayout> | |
| 86 | + | |
| 87 | + <View | |
| 88 | + android:layout_width="match_parent" | |
| 89 | + android:layout_height="10dp" | |
| 90 | + android:background="@color/color_F2F2F2" /> | |
| 91 | + <!-- 相关信息--> | |
| 92 | + <LinearLayout | |
| 93 | + android:layout_width="match_parent" | |
| 94 | + android:layout_height="wrap_content" | |
| 95 | + android:background="@color/white" | |
| 96 | + android:orientation="vertical" | |
| 97 | + android:paddingLeft="10dp" | |
| 98 | + android:paddingRight="10dp" | |
| 99 | + android:paddingBottom="20dp"> | |
| 100 | + | |
| 101 | + <TextView | |
| 102 | + android:layout_width="wrap_content" | |
| 103 | + android:layout_height="wrap_content" | |
| 104 | + android:layout_marginTop="15dp" | |
| 105 | + android:text="填写公司资质信息" | |
| 106 | + android:textColor="@color/color_333333" | |
| 107 | + android:textSize="15sp" /> | |
| 108 | + <!-- 公司全称--> | |
| 109 | + <LinearLayout | |
| 110 | + android:layout_width="match_parent" | |
| 111 | + android:layout_height="wrap_content" | |
| 112 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 113 | + android:gravity="center_vertical"> | |
| 114 | + | |
| 115 | + <TextView | |
| 116 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 117 | + android:layout_height="wrap_content" | |
| 118 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 119 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 120 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 121 | + android:text="公司全称" | |
| 122 | + android:textColor="@color/color_333333" | |
| 123 | + android:textSize="12sp" /> | |
| 124 | + | |
| 125 | + <LinearLayout | |
| 126 | + android:layout_width="match_parent" | |
| 127 | + android:layout_height="wrap_content" | |
| 128 | + android:orientation="vertical"> | |
| 129 | + | |
| 130 | + <EditText | |
| 131 | + android:layout_width="match_parent" | |
| 132 | + android:layout_height="wrap_content" | |
| 133 | + android:layout_marginTop="10dp" | |
| 134 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 135 | + android:hint="请输入公司全称" | |
| 136 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 137 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 138 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 139 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 140 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 141 | + android:textColor="@color/color_333333" | |
| 142 | + android:textColorHint="@color/color_B9B9B9" | |
| 143 | + android:textSize="12sp" /> | |
| 144 | + | |
| 145 | + <TextView | |
| 146 | + android:layout_width="wrap_content" | |
| 147 | + android:layout_height="wrap_content" | |
| 148 | + android:layout_marginTop="5dp" | |
| 149 | + android:text="公司注册全称与营业执照一致" | |
| 150 | + android:textColor="@color/color_999999" | |
| 151 | + android:textSize="11sp" /> | |
| 152 | + </LinearLayout> | |
| 153 | + </LinearLayout> | |
| 154 | + <!--企业logo--> | |
| 155 | + <LinearLayout | |
| 156 | + android:layout_width="match_parent" | |
| 157 | + android:layout_height="wrap_content" | |
| 158 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_has_tip_text_margin_top" | |
| 159 | + android:gravity="center_vertical"> | |
| 160 | + | |
| 161 | + <TextView | |
| 162 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 163 | + android:layout_height="wrap_content" | |
| 164 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 165 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 166 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 167 | + android:text="企业logo" | |
| 168 | + android:textColor="@color/color_333333" | |
| 169 | + android:textSize="12sp" /> | |
| 170 | + | |
| 171 | + <LinearLayout | |
| 172 | + android:layout_width="match_parent" | |
| 173 | + android:layout_height="wrap_content" | |
| 174 | + android:orientation="vertical"> | |
| 175 | + | |
| 176 | + <FrameLayout | |
| 177 | + android:layout_width="wrap_content" | |
| 178 | + android:layout_height="wrap_content"> | |
| 179 | + | |
| 180 | + <ImageView | |
| 181 | + android:layout_width="60dp" | |
| 182 | + android:layout_height="60dp" | |
| 183 | + android:layout_marginTop="20dp" | |
| 184 | + android:layout_marginRight="20dp" | |
| 185 | + android:background="@drawable/icon_verficat_company_logo_add" /> | |
| 186 | + | |
| 187 | + <ImageView | |
| 188 | + android:layout_width="35dp" | |
| 189 | + android:layout_height="35dp" | |
| 190 | + android:layout_gravity="right|top" | |
| 191 | + android:padding="8dp" | |
| 192 | + android:src="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 193 | + </FrameLayout> | |
| 194 | + | |
| 195 | + <TextView | |
| 196 | + android:layout_width="wrap_content" | |
| 197 | + android:layout_height="wrap_content" | |
| 198 | + android:layout_marginTop="5dp" | |
| 199 | + android:text="请上传LOGO图片(尺寸100*100,图片大小5M以内)" | |
| 200 | + android:textColor="@color/color_999999" | |
| 201 | + android:textSize="11sp" /> | |
| 202 | + </LinearLayout> | |
| 203 | + | |
| 204 | + </LinearLayout> | |
| 205 | + <!-- 企业简称--> | |
| 206 | + <LinearLayout | |
| 207 | + android:layout_width="match_parent" | |
| 208 | + android:layout_height="wrap_content" | |
| 209 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 210 | + android:gravity="center_vertical"> | |
| 211 | + | |
| 212 | + <TextView | |
| 213 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 214 | + android:layout_height="wrap_content" | |
| 215 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 216 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 217 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 218 | + android:text="企业简称" | |
| 219 | + android:textColor="@color/color_333333" | |
| 220 | + android:textSize="12sp" /> | |
| 221 | + | |
| 222 | + <EditText | |
| 223 | + android:layout_width="match_parent" | |
| 224 | + android:layout_height="wrap_content" | |
| 225 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 226 | + android:hint="请输入企业简称" | |
| 227 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 228 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 229 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 230 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 231 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 232 | + android:textColor="@color/color_333333" | |
| 233 | + android:textColorHint="@color/color_B9B9B9" | |
| 234 | + android:textSize="12sp" /> | |
| 235 | + | |
| 236 | + </LinearLayout> | |
| 237 | + <!-- 企业代码--> | |
| 238 | + <LinearLayout | |
| 239 | + android:layout_width="match_parent" | |
| 240 | + android:layout_height="wrap_content" | |
| 241 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 242 | + android:gravity="center_vertical"> | |
| 243 | + | |
| 244 | + <TextView | |
| 245 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 246 | + android:layout_height="wrap_content" | |
| 247 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 248 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 249 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 250 | + android:text="企业代码" | |
| 251 | + android:textColor="@color/color_333333" | |
| 252 | + android:textSize="12sp" /> | |
| 253 | + | |
| 254 | + <EditText | |
| 255 | + android:layout_width="match_parent" | |
| 256 | + android:layout_height="wrap_content" | |
| 257 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 258 | + android:hint="请输入企业代码" | |
| 259 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 260 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 261 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 262 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 263 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 264 | + android:textColor="@color/color_333333" | |
| 265 | + android:textColorHint="@color/color_B9B9B9" | |
| 266 | + android:textSize="12sp" /> | |
| 267 | + | |
| 268 | + </LinearLayout> | |
| 269 | + <!-- 企业简介--> | |
| 270 | + <LinearLayout | |
| 271 | + android:layout_width="match_parent" | |
| 272 | + android:layout_height="wrap_content" | |
| 273 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 274 | + android:gravity="center_vertical"> | |
| 275 | + | |
| 276 | + <TextView | |
| 277 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 278 | + android:layout_height="wrap_content" | |
| 279 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 280 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 281 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 282 | + android:text="企业简介" | |
| 283 | + android:textColor="@color/color_333333" | |
| 284 | + android:textSize="12sp" /> | |
| 285 | + | |
| 286 | + <EditText | |
| 287 | + android:layout_width="match_parent" | |
| 288 | + android:layout_height="wrap_content" | |
| 289 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 290 | + android:gravity="left|top" | |
| 291 | + android:hint="请输入企业简介(400字以内)" | |
| 292 | + android:maxEms="400" | |
| 293 | + android:minHeight="78dp" | |
| 294 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 295 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 296 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 297 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 298 | + android:textColor="@color/color_333333" | |
| 299 | + android:textColorHint="@color/color_B9B9B9" | |
| 300 | + android:textSize="12sp" /> | |
| 301 | + | |
| 302 | + </LinearLayout> | |
| 303 | + <!-- 企业地址--> | |
| 304 | + <LinearLayout | |
| 305 | + android:layout_width="match_parent" | |
| 306 | + android:layout_height="wrap_content" | |
| 307 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 308 | + android:gravity="center_vertical"> | |
| 309 | + | |
| 310 | + <TextView | |
| 311 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 312 | + android:layout_height="wrap_content" | |
| 313 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 314 | + android:paddingLeft="@dimen/dimen_fill_company_data_tv_title_no_icon_padding_left" | |
| 315 | + android:text="企业地址" | |
| 316 | + android:textColor="@color/color_333333" | |
| 317 | + android:textSize="12sp" /> | |
| 318 | + | |
| 319 | + <EditText | |
| 320 | + android:layout_width="match_parent" | |
| 321 | + android:layout_height="wrap_content" | |
| 322 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 323 | + android:hint="请输入企业地址" | |
| 324 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 325 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 326 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 327 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 328 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 329 | + android:textColor="@color/color_333333" | |
| 330 | + android:textColorHint="@color/color_B9B9B9" | |
| 331 | + android:textSize="12sp" /> | |
| 332 | + | |
| 333 | + </LinearLayout> | |
| 334 | + <!-- 企业代码--> | |
| 335 | + <LinearLayout | |
| 336 | + android:layout_width="match_parent" | |
| 337 | + android:layout_height="wrap_content" | |
| 338 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 339 | + android:gravity="center_vertical"> | |
| 340 | + | |
| 341 | + <TextView | |
| 342 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 343 | + android:layout_height="wrap_content" | |
| 344 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 345 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 346 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 347 | + android:text="企业类型" | |
| 348 | + android:textColor="@color/color_333333" | |
| 349 | + android:textSize="12sp" /> | |
| 350 | + | |
| 351 | + <TextView | |
| 352 | + android:layout_width="match_parent" | |
| 353 | + android:layout_height="wrap_content" | |
| 354 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 355 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 356 | + android:gravity="center_vertical" | |
| 357 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 358 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 359 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 360 | + android:paddingRight="10dp" | |
| 361 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 362 | + android:text="请选择" | |
| 363 | + android:textColor="@color/color_333333" | |
| 364 | + android:textSize="12sp" /> | |
| 365 | + | |
| 366 | + </LinearLayout> | |
| 367 | + <!-- 网站--> | |
| 368 | + <LinearLayout | |
| 369 | + android:layout_width="match_parent" | |
| 370 | + android:layout_height="wrap_content" | |
| 371 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 372 | + android:gravity="center_vertical"> | |
| 373 | + | |
| 374 | + <TextView | |
| 375 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 376 | + android:layout_height="wrap_content" | |
| 377 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 378 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 379 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 380 | + android:text="网站" | |
| 381 | + android:textColor="@color/color_333333" | |
| 382 | + android:textSize="12sp" /> | |
| 383 | + | |
| 384 | + <EditText | |
| 385 | + android:layout_width="match_parent" | |
| 386 | + android:layout_height="wrap_content" | |
| 387 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 388 | + android:hint="请输入企业网站访问链接" | |
| 389 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 390 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 391 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 392 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 393 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 394 | + android:textColor="@color/color_333333" | |
| 395 | + android:textColorHint="@color/color_B9B9B9" | |
| 396 | + android:textSize="12sp" /> | |
| 397 | + | |
| 398 | + </LinearLayout> | |
| 399 | + <!-- 企业法人--> | |
| 400 | + <LinearLayout | |
| 401 | + android:layout_width="match_parent" | |
| 402 | + android:layout_height="wrap_content" | |
| 403 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 404 | + android:gravity="center_vertical"> | |
| 405 | + | |
| 406 | + <TextView | |
| 407 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 408 | + android:layout_height="wrap_content" | |
| 409 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 410 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 411 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 412 | + android:text="企业法人" | |
| 413 | + android:textColor="@color/color_333333" | |
| 414 | + android:textSize="12sp" /> | |
| 415 | + | |
| 416 | + <EditText | |
| 417 | + android:layout_width="match_parent" | |
| 418 | + android:layout_height="wrap_content" | |
| 419 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 420 | + android:hint="请输入企业法人姓名" | |
| 421 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 422 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 423 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 424 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 425 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 426 | + android:textColor="@color/color_333333" | |
| 427 | + android:textColorHint="@color/color_B9B9B9" | |
| 428 | + android:textSize="12sp" /> | |
| 429 | + | |
| 430 | + </LinearLayout> | |
| 431 | + <!-- 联系人--> | |
| 432 | + <LinearLayout | |
| 433 | + android:layout_width="match_parent" | |
| 434 | + android:layout_height="wrap_content" | |
| 435 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 436 | + android:gravity="center_vertical"> | |
| 437 | + | |
| 438 | + <TextView | |
| 439 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 440 | + android:layout_height="wrap_content" | |
| 441 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 442 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 443 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 444 | + android:text="联系人" | |
| 445 | + android:textColor="@color/color_333333" | |
| 446 | + android:textSize="12sp" /> | |
| 447 | + | |
| 448 | + <EditText | |
| 449 | + android:layout_width="match_parent" | |
| 450 | + android:layout_height="wrap_content" | |
| 451 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 452 | + android:hint="请输入企业联系人姓名" | |
| 453 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 454 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 455 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 456 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 457 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 458 | + android:textColor="@color/color_333333" | |
| 459 | + android:textColorHint="@color/color_B9B9B9" | |
| 460 | + android:textSize="12sp" /> | |
| 461 | + | |
| 462 | + </LinearLayout> | |
| 463 | + <!-- 合同编号--> | |
| 464 | + <LinearLayout | |
| 465 | + android:layout_width="match_parent" | |
| 466 | + android:layout_height="wrap_content" | |
| 467 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 468 | + android:gravity="center_vertical"> | |
| 469 | + | |
| 470 | + <TextView | |
| 471 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 472 | + android:layout_height="wrap_content" | |
| 473 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 474 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 475 | + android:paddingLeft="@dimen/dimen_fill_company_data_tv_title_no_icon_padding_left" | |
| 476 | + android:text="合同编号" | |
| 477 | + android:textColor="@color/color_333333" | |
| 478 | + android:textSize="12sp" /> | |
| 479 | + | |
| 480 | + <EditText | |
| 481 | + android:layout_width="match_parent" | |
| 482 | + android:layout_height="wrap_content" | |
| 483 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 484 | + android:hint="请输入合同编号" | |
| 485 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 486 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 487 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 488 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 489 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 490 | + android:textColor="@color/color_333333" | |
| 491 | + android:textColorHint="@color/color_B9B9B9" | |
| 492 | + android:textSize="12sp" /> | |
| 493 | + | |
| 494 | + </LinearLayout> | |
| 495 | + <!-- 营业执照号--> | |
| 496 | + <LinearLayout | |
| 497 | + android:layout_width="match_parent" | |
| 498 | + android:layout_height="wrap_content" | |
| 499 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 500 | + android:gravity="center_vertical"> | |
| 501 | + | |
| 502 | + <TextView | |
| 503 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 504 | + android:layout_height="wrap_content" | |
| 505 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 506 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 507 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 508 | + android:text="营业执照号" | |
| 509 | + android:textColor="@color/color_333333" | |
| 510 | + android:textSize="12sp" /> | |
| 511 | + | |
| 512 | + <EditText | |
| 513 | + android:layout_width="match_parent" | |
| 514 | + android:layout_height="wrap_content" | |
| 515 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 516 | + android:hint="请输入营业执照号" | |
| 517 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 518 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 519 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 520 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 521 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 522 | + android:textColor="@color/color_333333" | |
| 523 | + android:textColorHint="@color/color_B9B9B9" | |
| 524 | + android:textSize="12sp" /> | |
| 525 | + | |
| 526 | + </LinearLayout> | |
| 527 | + <!--企业logo--> | |
| 528 | + <LinearLayout | |
| 529 | + android:layout_width="match_parent" | |
| 530 | + android:layout_height="wrap_content" | |
| 531 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_has_tip_text_margin_top" | |
| 532 | + android:gravity="center_vertical"> | |
| 533 | + | |
| 534 | + <TextView | |
| 535 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 536 | + android:layout_height="wrap_content" | |
| 537 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 538 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 539 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 540 | + android:text="营业执照" | |
| 541 | + android:textColor="@color/color_333333" | |
| 542 | + android:textSize="12sp" /> | |
| 543 | + | |
| 544 | + <LinearLayout | |
| 545 | + android:layout_width="match_parent" | |
| 546 | + android:layout_height="wrap_content" | |
| 547 | + android:orientation="vertical"> | |
| 548 | + | |
| 549 | + | |
| 550 | + <FrameLayout | |
| 551 | + android:layout_width="wrap_content" | |
| 552 | + android:layout_height="wrap_content"> | |
| 553 | + | |
| 554 | + <ImageView | |
| 555 | + android:layout_width="100dp" | |
| 556 | + android:layout_height="137dp" | |
| 557 | + android:layout_marginTop="20dp" | |
| 558 | + android:layout_marginRight="20dp" | |
| 559 | + android:background="@drawable/icon_verficat_company_license_add" /> | |
| 560 | + | |
| 561 | + <ImageView | |
| 562 | + android:layout_width="35dp" | |
| 563 | + android:layout_height="35dp" | |
| 564 | + android:layout_gravity="right|top" | |
| 565 | + android:padding="8dp" | |
| 566 | + android:src="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 567 | + </FrameLayout> | |
| 568 | + | |
| 569 | + <TextView | |
| 570 | + android:layout_width="wrap_content" | |
| 571 | + android:layout_height="wrap_content" | |
| 572 | + android:layout_marginTop="5dp" | |
| 573 | + android:text="请上传营业执照图片,格式为JPG,PNG(图片\n 大小不超过5M)" | |
| 574 | + android:textColor="@color/color_999999" | |
| 575 | + android:textSize="11sp" /> | |
| 576 | + </LinearLayout> | |
| 577 | + <!----> | |
| 578 | + </LinearLayout> | |
| 579 | + | |
| 580 | + <!----> | |
| 581 | + </LinearLayout> | |
| 582 | + <!-- 同意按钮--> | |
| 583 | + <LinearLayout | |
| 584 | + android:layout_width="match_parent" | |
| 585 | + android:layout_height="wrap_content" | |
| 586 | + android:background="@color/color_F9F9F9" | |
| 587 | + android:orientation="vertical" | |
| 588 | + android:paddingTop="20dp" | |
| 589 | + android:paddingBottom="20dp"> | |
| 590 | + <!-- 复选框--> | |
| 591 | + <LinearLayout | |
| 592 | + android:layout_width="match_parent" | |
| 593 | + android:layout_height="wrap_content" | |
| 594 | + android:gravity="center"> | |
| 595 | + | |
| 596 | + <CheckBox | |
| 597 | + android:layout_width="wrap_content" | |
| 598 | + android:layout_height="wrap_content" | |
| 599 | + android:theme="@style/style_fill_in_company_data_checkbox" /> | |
| 600 | + | |
| 601 | + <TextView | |
| 602 | + android:layout_width="wrap_content" | |
| 603 | + android:layout_height="wrap_content" | |
| 604 | + android:text="@string/string_fill_in_company_data_license_tip" /> | |
| 605 | + </LinearLayout> | |
| 606 | + <!-- 按钮--> | |
| 607 | + <LinearLayout | |
| 608 | + android:layout_width="match_parent" | |
| 609 | + android:layout_height="wrap_content" | |
| 610 | + android:layout_marginTop="10dp" | |
| 611 | + android:gravity="center"> | |
| 612 | + | |
| 613 | + <Button | |
| 614 | + android:layout_width="245dp" | |
| 615 | + android:layout_height="35dp" | |
| 616 | + android:background="@drawable/shape_verficat_fill_in_company_data_btn_submit" | |
| 617 | + android:text="提交" | |
| 618 | + android:textColor="@color/white" | |
| 619 | + android:textSize="15sp" /> | |
| 620 | + </LinearLayout> | |
| 621 | + <!-- --> | |
| 622 | + </LinearLayout> | |
| 623 | + <!-- --> | |
| 624 | + </LinearLayout> | |
| 625 | + </androidx.core.widget.NestedScrollView> | |
| 626 | + </androidx.constraintlayout.widget.ConstraintLayout> | |
| 627 | +</layout> | ... | ... |
core/dentity_verfication/src/main/res/layout/fragment_fill_in_company_data.xml
| ... | ... | @@ -6,11 +6,24 @@ |
| 6 | 6 | xmlns:tools="http://schemas.android.com/tools" |
| 7 | 7 | android:layout_width="match_parent" |
| 8 | 8 | android:layout_height="match_parent" |
| 9 | - tools:context="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity"> | |
| 9 | + tools:context="com.cnlive.core.company_verfication.ui.activity.SelectCompanyDataActivity"> | |
| 10 | + | |
| 11 | + <TextView | |
| 12 | + android:layout_width="match_parent" | |
| 13 | + android:layout_height="43dp" | |
| 14 | + android:background="@color/color_48A7F9" | |
| 15 | + android:gravity="center" | |
| 16 | + android:text="请选择在网家家平台上与您相关的所有机构公司信息" | |
| 17 | + android:textColor="@color/white" | |
| 18 | + android:drawableRight="@drawable/icon_verficat_tip" | |
| 19 | + app:layout_constraintStart_toStartOf="parent" | |
| 20 | + android:paddingRight="10dp" | |
| 21 | + app:layout_constraintTop_toTopOf="parent" /> | |
| 10 | 22 | |
| 11 | 23 | <androidx.recyclerview.widget.RecyclerView |
| 12 | 24 | android:id="@+id/recyclerView" |
| 13 | 25 | android:layout_width="match_parent" |
| 14 | - android:layout_height="match_parent" /> | |
| 26 | + android:layout_height="match_parent" | |
| 27 | + android:layout_marginTop="43dp" /> | |
| 15 | 28 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 16 | 29 | </layout> | ... | ... |
core/dentity_verfication/src/main/res/values/color.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <resources> |
| 3 | + <color name="color_48A7F9">#48A7F9</color> | |
| 4 | + | |
| 3 | 5 | <color name="white">#ffffff</color> |
| 4 | 6 | <color name="color_3bd8c4">#3bd8c4</color> |
| 5 | 7 | <color name="color_9c9c9c">#9c9c9c</color> |
| ... | ... | @@ -24,5 +26,12 @@ |
| 24 | 26 | <color name="color_d8d8d8">#D8D8D8</color> |
| 25 | 27 | <color name="monkey_agreement">#BC491C</color> |
| 26 | 28 | <color name="witness_agreement">#0DC204</color> |
| 29 | + <color name="color_6AB9FD">#6AB9FD</color> | |
| 30 | + <color name="color_F2F2F2">#F2F2F2</color> | |
| 31 | + <color name="color_333333">#333333</color> | |
| 32 | + <color name="color_B9B9B9">#B9B9B9</color> | |
| 33 | + <color name="color_C1C1C1">#C1C1C1</color> | |
| 34 | + <color name="color_F9F9F9">#F9F9F9</color> | |
| 35 | + <color name="color_4EABFD">#4EABFD</color> | |
| 27 | 36 | <color name="color_b4b4b4">#B4B4B4</color> |
| 28 | 37 | </resources> |
| 29 | 38 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/values/dimens.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<resources> | |
| 3 | + <!-- 左侧表单标题宽度--> | |
| 4 | + <dimen name="dimen_fill_company_data_tv_title_width">75dp</dimen> | |
| 5 | + <!-- 左侧表单标题右边距--> | |
| 6 | + <dimen name="dimen_fill_company_data_tv_title_margin_right">20dp</dimen> | |
| 7 | + <!-- 没有必填图标--> | |
| 8 | + <dimen name="dimen_fill_company_data_tv_title_no_icon_padding_left">6dp</dimen> | |
| 9 | + <!-- 有必填图标--> | |
| 10 | + <dimen name="dimen_fill_company_data_tv_title_has_icon_padding_left">0dp</dimen> | |
| 11 | + <!-- 有提示文字--> | |
| 12 | + <dimen name="dimen_fill_company_data_item_has_tip_text_margin_top">15dp</dimen> | |
| 13 | + <!-- 每一项没有底部提示文字--> | |
| 14 | + <dimen name="dimen_fill_company_data_item_no_tip_text_margin_top">20dp</dimen> | |
| 15 | + <!--编辑框上边距--> | |
| 16 | + <dimen name="dimen_fill_company_data_et_padding_top">5dp</dimen> | |
| 17 | + <dimen name="dimen_fill_company_data_et_padding_bottom">5dp</dimen> | |
| 18 | + <dimen name="dimen_fill_company_data_et_padding_left">5dp</dimen> | |
| 19 | + <dimen name="dimen_fill_company_data_et_padding_right">5dp</dimen> | |
| 20 | + <!-- 编辑框最小高度--> | |
| 21 | + <dimen name="dimen_fill_company_data_et_miniHeight">35dp</dimen> | |
| 22 | + | |
| 23 | +</resources> | |
| 0 | 24 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/values/strings.xml
| ... | ... | @@ -25,4 +25,6 @@ |
| 25 | 25 | <string name="backs">返回</string> |
| 26 | 26 | <string name="no_check">亲,您未申请个人认证</string> |
| 27 | 27 | <string name="to_check">去认证</string> |
| 28 | + | |
| 29 | + <string name="string_fill_in_company_data_license_tip">我同意并已阅读<font color="#4EABFD">《中国网+内容安全协议》</font></string> | |
| 28 | 30 | </resources> | ... | ... |
core/dentity_verfication/src/main/res/values/styles.xml
| ... | ... | @@ -15,4 +15,11 @@ |
| 15 | 15 | <item name="android:windowEnterAnimation">@anim/anim_enter</item> |
| 16 | 16 | <item name="android:windowExitAnimation">@anim/anim_exit</item> |
| 17 | 17 | </style> |
| 18 | + | |
| 19 | + <!--名字自定义--> | |
| 20 | + <style name="style_fill_in_company_data_checkbox"> | |
| 21 | + <item name="colorAccent">@color/color_4EABFD</item><!--选中颜色--> | |
| 22 | +<!-- <item name="colorControlNormal">@color/txt_color_def</item><!–未选中颜色–>--> | |
| 23 | + </style> | |
| 24 | + | |
| 18 | 25 | </resources> |
| 19 | 26 | \ No newline at end of file | ... | ... |