Commit 79b5a4fa7ae5d079db83fd6bbcfeb8a57a1ec66a
1 parent
9285c743
1 搭建机构认证绑定页面
Showing
32 changed files
with
1438 additions
and
821 deletions
app/strike/src/main/java/com/cnlive/strike/imgutil/UgcActivity.java
| ... | ... | @@ -18,5 +18,6 @@ public class UgcActivity extends AppCompatActivity { |
| 18 | 18 | setContentView(R.layout.activity_ugc); |
| 19 | 19 | findViewById(R.id.people_denty).setOnClickListener(view -> startActivity(new Intent(this, TakeIdentityPictureActivity.class))); |
| 20 | 20 | findViewById(R.id.company_denty).setOnClickListener(view -> startActivity(new Intent(this, FillInCompanyDataActivity.class))); |
| 21 | + findViewById(R.id.company_denty_list).setOnClickListener(view -> startActivity(new Intent(this, SelectCompanyDataActivity.class))); | |
| 21 | 22 | } |
| 22 | 23 | } | ... | ... |
app/strike/src/main/res/layout/activity_ugc.xml
| ... | ... | @@ -20,4 +20,11 @@ |
| 20 | 20 | android:layout_height="wrap_content" |
| 21 | 21 | android:layout_margin="@dimen/dp_10" |
| 22 | 22 | android:text="机构认证" /> |
| 23 | + | |
| 24 | + <Button | |
| 25 | + android:id="@+id/company_denty_list" | |
| 26 | + android:layout_width="match_parent" | |
| 27 | + android:layout_height="wrap_content" | |
| 28 | + android:layout_margin="@dimen/dp_10" | |
| 29 | + android:text="机构认证列表" /> | |
| 23 | 30 | </LinearLayout> | ... | ... |
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.appcompat.app.AppCompatActivity; | |
| 4 | - | |
| 5 | -import android.os.Bundle; | |
| 6 | - | |
| 3 | +import com.cnlive.core.company_verfication.ui.fragment.FillInCompanyDataFragment; | |
| 7 | 4 | import com.cnlive.core.libs.base.frame.activity.BaseActivity; |
| 8 | -import com.cnlive.core.libs.base.util.StatusBarConfig; | |
| 9 | 5 | import com.cnlive.core.people_verfication.R; |
| 10 | 6 | |
| 11 | 7 | public class FillInCompanyDataActivity extends BaseActivity { |
| 12 | 8 | |
| 13 | - | |
| 14 | - @Override | |
| 15 | - protected int getBindLayoutId() { | |
| 16 | - return R.layout.activity_fill_in_company_data; | |
| 17 | - } | |
| 18 | - | |
| 19 | 9 | @Override |
| 20 | 10 | protected void initView() { |
| 21 | - showImmersiveStatusBar(); | |
| 11 | + loadRootFragment(new FillInCompanyDataFragment()); | |
| 22 | 12 | } |
| 23 | 13 | } | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/activity/SelectCompanyDataActivity.java
| 1 | 1 | package com.cnlive.core.company_verfication.ui.activity; |
| 2 | 2 | |
| 3 | -import androidx.annotation.Nullable; | |
| 4 | -import androidx.appcompat.app.AppCompatActivity; | |
| 5 | 3 | import androidx.databinding.ViewDataBinding; |
| 6 | 4 | import androidx.recyclerview.widget.LinearLayoutManager; |
| 7 | 5 | |
| 8 | -import android.os.Bundle; | |
| 9 | -import android.os.PersistableBundle; | |
| 10 | - | |
| 11 | 6 | import com.cnlive.core.company_verfication.ui.adapter.CompanyDataAdapter; |
| 7 | +import com.cnlive.core.company_verfication.ui.fragment.SelectCompanyDataFragment; | |
| 12 | 8 | import com.cnlive.core.libs.base.frame.activity.BaseActivity; |
| 13 | 9 | import com.cnlive.core.people_verfication.R; |
| 14 | 10 | import com.cnlive.core.people_verfication.databinding.FragmentFillInCompanyDataBinding; |
| ... | ... | @@ -17,25 +13,9 @@ import java.util.ArrayList; |
| 17 | 13 | import java.util.List; |
| 18 | 14 | |
| 19 | 15 | 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 | 16 | |
| 34 | 17 | @Override |
| 35 | 18 | protected void initView() { |
| 36 | - data.add("测试"); | |
| 37 | - adapter=new CompanyDataAdapter(me,data); | |
| 38 | - binding.recyclerView.setLayoutManager(new LinearLayoutManager(me)); | |
| 39 | - binding.recyclerView.setAdapter(adapter); | |
| 19 | + loadRootFragment(new SelectCompanyDataFragment()); | |
| 40 | 20 | } |
| 41 | 21 | } | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/adapter/CompanyDataAdapter.java
| ... | ... | @@ -36,7 +36,7 @@ public class CompanyDataAdapter extends RecyclerView.Adapter { |
| 36 | 36 | public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { |
| 37 | 37 | ItemCompanyDateBinding binding = ((MyViewHolder) holder).binding; |
| 38 | 38 | binding.includeAccountChild.llRoot.getBaselineAlignedChildIndex(); |
| 39 | - binding.includeAccountChild.tvDelete.setVisibility(View.GONE); | |
| 39 | + binding.includeAccountChild.llChildAccountDelete.setVisibility(View.GONE); | |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | @Override |
| ... | ... | @@ -50,8 +50,8 @@ public class CompanyDataAdapter extends RecyclerView.Adapter { |
| 50 | 50 | public MyViewHolder(@NonNull ItemCompanyDateBinding binding) { |
| 51 | 51 | super(binding.getRoot()); |
| 52 | 52 | this.binding = binding; |
| 53 | - binding.btnAddChildCircle.setOnClickListener(this); | |
| 54 | - binding.btnAddChildAccount.setOnClickListener(this); | |
| 53 | + binding.includeAddCircle.btnAddChildCircle.setOnClickListener(this); | |
| 54 | + binding.includeAddChildAccount.btnAddChildAccount.setOnClickListener(this); | |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | |
| ... | ... | @@ -59,15 +59,15 @@ public class CompanyDataAdapter extends RecyclerView.Adapter { |
| 59 | 59 | public void onClick(View v) { |
| 60 | 60 | //添加圈子 |
| 61 | 61 | if (v.getId() == R.id.btn_addChildCircle) { |
| 62 | - View child = LayoutInflater.from(context).inflate(R.layout.item_company_date_include_circle_child, null); | |
| 62 | + View child = LayoutInflater.from(context).inflate(R.layout.item_company_data_type_circle_child, null); | |
| 63 | 63 | binding.includeCircleChild.llRoot.addView(child); |
| 64 | 64 | } |
| 65 | 65 | //添加群组 |
| 66 | 66 | else if (v.getId() == R.id.btn_addChildAccount) { |
| 67 | - View child = LayoutInflater.from(context).inflate(R.layout.item_company_date_include_account_child, null); | |
| 67 | + View child = LayoutInflater.from(context).inflate(R.layout.item_company_data_type_child_account, null); | |
| 68 | 68 | int index=binding.includeAccountChild.llRoot.getChildCount() - 1; |
| 69 | 69 | binding.includeAccountChild.llRoot.addView(child, index); |
| 70 | - TextView textView = child.findViewById(R.id.tv_delete); | |
| 70 | + TextView textView = child.findViewById(R.id.ll_child_account_delete); | |
| 71 | 71 | textView.setVisibility(View.VISIBLE); |
| 72 | 72 | textView.setOnClickListener(this); |
| 73 | 73 | textView.setTag(child); |
| ... | ... | @@ -77,7 +77,7 @@ public class CompanyDataAdapter extends RecyclerView.Adapter { |
| 77 | 77 | // binding.includeAccountChild.llRoot.removeView(child); |
| 78 | 78 | // } |
| 79 | 79 | // }); |
| 80 | - } else if (v.getId() == R.id.tv_delete) { | |
| 80 | + } else if (v.getId() == R.id.ll_child_account_delete) { | |
| 81 | 81 | if (null!=v&&null!=v.getTag()){ |
| 82 | 82 | View child= (View) v.getTag(); |
| 83 | 83 | //获取当前子类 | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/adapter/CompanyItemDataAdapter.java
0 → 100644
| 1 | +package com.cnlive.core.company_verfication.ui.adapter; | |
| 2 | + | |
| 3 | +import android.content.Context; | |
| 4 | +import android.view.LayoutInflater; | |
| 5 | +import android.view.View; | |
| 6 | +import android.view.ViewGroup; | |
| 7 | + | |
| 8 | +import com.cnlive.core.company_verfication.ui.model.CompanyItemData; | |
| 9 | +import com.cnlive.core.people_verfication.R; | |
| 10 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeAddChildAccountBinding; | |
| 11 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeAddCircleBinding; | |
| 12 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeAddOrganizationBinding; | |
| 13 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeChildAccountBinding; | |
| 14 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeCircleChildBinding; | |
| 15 | +import com.cnlive.core.people_verfication.databinding.ItemCompanyDataTypeOrganizationBinding; | |
| 16 | + | |
| 17 | +import java.util.ArrayList; | |
| 18 | +import java.util.List; | |
| 19 | + | |
| 20 | +import androidx.annotation.NonNull; | |
| 21 | +import androidx.databinding.DataBindingUtil; | |
| 22 | +import androidx.recyclerview.widget.RecyclerView; | |
| 23 | + | |
| 24 | +/* | |
| 25 | + *@date:2020/4/7 16:29 | |
| 26 | + *@author:杨帅 | |
| 27 | + */public class CompanyItemDataAdapter extends RecyclerView.Adapter { | |
| 28 | + private Context context; | |
| 29 | + private List<CompanyItemData> dataList; | |
| 30 | + | |
| 31 | + public CompanyItemDataAdapter(Context context, List<CompanyItemData> dataList) { | |
| 32 | + this.context = context; | |
| 33 | + this.dataList = dataList; | |
| 34 | + } | |
| 35 | + | |
| 36 | + @NonNull | |
| 37 | + @Override | |
| 38 | + public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { | |
| 39 | + switch (viewType) { | |
| 40 | + case CompanyItemData.TYPE_ORGANIZATION: | |
| 41 | + ItemCompanyDataTypeOrganizationBinding organizationBinding = DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_organization, parent, false); | |
| 42 | + OrganizactionHolder organizactionHolder = new OrganizactionHolder(organizationBinding); | |
| 43 | + return organizactionHolder; | |
| 44 | + case CompanyItemData.TYPE_CIRCLE: | |
| 45 | + ItemCompanyDataTypeCircleChildBinding circleChildBinding = DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_circle_child, parent, false); | |
| 46 | + CircleHolder circleHolder = new CircleHolder(circleChildBinding); | |
| 47 | + return circleHolder; | |
| 48 | + case CompanyItemData.TYPE_ADD_CIRCLE: | |
| 49 | + ItemCompanyDataTypeAddCircleBinding addCircleBinding = DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_add_circle, parent, false); | |
| 50 | + AddCircleHolder addCircleHolder = new AddCircleHolder(addCircleBinding); | |
| 51 | + return addCircleHolder; | |
| 52 | + case CompanyItemData.TYPE_CHILD_ACCOUNT: | |
| 53 | + ItemCompanyDataTypeChildAccountBinding childAccountBinding = DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_child_account, parent, false); | |
| 54 | + ChildAccountHolder childAccountHolder = new ChildAccountHolder(childAccountBinding); | |
| 55 | + return childAccountHolder; | |
| 56 | + case CompanyItemData.TYPE_ADD_CHILD_ACCOUNT: | |
| 57 | + ItemCompanyDataTypeAddChildAccountBinding addChildAccountBinding = DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_add_child_account, parent, false); | |
| 58 | + AddChildAccountHolder addChildAccountHolder = new AddChildAccountHolder(addChildAccountBinding); | |
| 59 | + return addChildAccountHolder; | |
| 60 | + case CompanyItemData.TYPE_ADD_ORGANIZATION: | |
| 61 | + ItemCompanyDataTypeAddOrganizationBinding addOrganizationBinding=DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.item_company_data_type_add_organization, parent, false); | |
| 62 | + AddOrganizactionHolder addOrganizactionHolder=new AddOrganizactionHolder(addOrganizationBinding); | |
| 63 | + return addOrganizactionHolder; | |
| 64 | + } | |
| 65 | + return null; | |
| 66 | + } | |
| 67 | + | |
| 68 | + @Override | |
| 69 | + public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { | |
| 70 | + switch (getItemViewType(position)) { | |
| 71 | + case CompanyItemData.TYPE_ORGANIZATION: | |
| 72 | + OrganizactionHolder organizactionHolder = (OrganizactionHolder) holder; | |
| 73 | + organizactionHolder.binding.llTopLine.setVisibility(dataList.get(position).isShowTopLine()?View.VISIBLE:View.GONE); | |
| 74 | + break; | |
| 75 | + case CompanyItemData.TYPE_CIRCLE: | |
| 76 | + CircleHolder circleHolder = (CircleHolder) holder; | |
| 77 | + circleHolder.binding.llCircleDelete.setVisibility(dataList.get(position).isShowDelete() ? View.VISIBLE : View.GONE); | |
| 78 | + break; | |
| 79 | + case CompanyItemData.TYPE_ADD_CIRCLE: | |
| 80 | + break; | |
| 81 | + case CompanyItemData.TYPE_CHILD_ACCOUNT: | |
| 82 | + ChildAccountHolder childAccountHolder = (ChildAccountHolder) holder; | |
| 83 | + childAccountHolder.binding.llChildAccountDelete.setVisibility(dataList.get(position).isShowDelete() ? View.VISIBLE : View.GONE); | |
| 84 | + break; | |
| 85 | + case CompanyItemData.TYPE_ADD_CHILD_ACCOUNT: | |
| 86 | + break; | |
| 87 | + case CompanyItemData.TYPE_ADD_ORGANIZATION: | |
| 88 | + | |
| 89 | + break; | |
| 90 | + } | |
| 91 | + } | |
| 92 | + | |
| 93 | + @Override | |
| 94 | + public int getItemCount() { | |
| 95 | + return dataList.size(); | |
| 96 | + } | |
| 97 | + | |
| 98 | + @Override | |
| 99 | + public int getItemViewType(int position) { | |
| 100 | + return dataList.get(position).getType(); | |
| 101 | + } | |
| 102 | + | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * 所属机构 | |
| 106 | + */ | |
| 107 | + public class OrganizactionHolder extends RecyclerView.ViewHolder { | |
| 108 | + private ItemCompanyDataTypeOrganizationBinding binding; | |
| 109 | + | |
| 110 | + public OrganizactionHolder(@NonNull ItemCompanyDataTypeOrganizationBinding binding) { | |
| 111 | + super(binding.getRoot()); | |
| 112 | + this.binding = binding; | |
| 113 | + } | |
| 114 | + } | |
| 115 | + | |
| 116 | + /** | |
| 117 | + * 所属机构圈子 | |
| 118 | + */ | |
| 119 | + public class CircleHolder extends RecyclerView.ViewHolder implements View.OnClickListener { | |
| 120 | + private ItemCompanyDataTypeCircleChildBinding binding; | |
| 121 | + | |
| 122 | + public CircleHolder(@NonNull ItemCompanyDataTypeCircleChildBinding binding) { | |
| 123 | + super(binding.getRoot()); | |
| 124 | + this.binding = binding; | |
| 125 | + binding.llCircleDelete.setOnClickListener(this); | |
| 126 | + } | |
| 127 | + | |
| 128 | + @Override | |
| 129 | + public void onClick(View v) { | |
| 130 | + if (v.getId()==R.id.ll_circle_delete){ | |
| 131 | + int removeIndex=getLayoutPosition(); | |
| 132 | + dataList.remove(removeIndex); | |
| 133 | + notifyItemRemoved(removeIndex); | |
| 134 | + } | |
| 135 | + } | |
| 136 | + } | |
| 137 | + | |
| 138 | + /** | |
| 139 | + * 添加圈子 | |
| 140 | + */ | |
| 141 | + public class AddCircleHolder extends RecyclerView.ViewHolder implements View.OnClickListener { | |
| 142 | + private ItemCompanyDataTypeAddCircleBinding binding; | |
| 143 | + | |
| 144 | + public AddCircleHolder(@NonNull ItemCompanyDataTypeAddCircleBinding binding) { | |
| 145 | + super(binding.getRoot()); | |
| 146 | + this.binding = binding; | |
| 147 | + binding.btnAddChildCircle.setOnClickListener(this); | |
| 148 | + } | |
| 149 | + | |
| 150 | + @Override | |
| 151 | + public void onClick(View v) { | |
| 152 | + if (v.getId() == R.id.btn_addChildCircle) { | |
| 153 | + //获取当前逻辑上的数量 | |
| 154 | + int logicSize = dataList.get(getLayoutPosition()).getLogicSize(); | |
| 155 | + dataList.add(getLayoutPosition(), new CompanyItemData(CompanyItemData.TYPE_CIRCLE, logicSize,true)); | |
| 156 | + notifyItemInserted(getLayoutPosition() + 1); | |
| 157 | + } | |
| 158 | + } | |
| 159 | + } | |
| 160 | + | |
| 161 | + /** | |
| 162 | + * 所属子账号 | |
| 163 | + */ | |
| 164 | + public class ChildAccountHolder extends RecyclerView.ViewHolder implements View.OnClickListener { | |
| 165 | + private ItemCompanyDataTypeChildAccountBinding binding; | |
| 166 | + | |
| 167 | + public ChildAccountHolder(@NonNull ItemCompanyDataTypeChildAccountBinding binding) { | |
| 168 | + super(binding.getRoot()); | |
| 169 | + this.binding = binding; | |
| 170 | + binding.llChildAccountDelete.setOnClickListener(this); | |
| 171 | + } | |
| 172 | + | |
| 173 | + @Override | |
| 174 | + public void onClick(View v) { | |
| 175 | + if (v.getId()==R.id.ll_child_account_delete){ | |
| 176 | + int removeIndex=getLayoutPosition(); | |
| 177 | + dataList.remove(removeIndex); | |
| 178 | + notifyItemRemoved(removeIndex); | |
| 179 | + | |
| 180 | + } | |
| 181 | + } | |
| 182 | + } | |
| 183 | + | |
| 184 | + /** | |
| 185 | + * 添加子账号 | |
| 186 | + */ | |
| 187 | + public class AddChildAccountHolder extends RecyclerView.ViewHolder implements View.OnClickListener { | |
| 188 | + private ItemCompanyDataTypeAddChildAccountBinding binding; | |
| 189 | + | |
| 190 | + public AddChildAccountHolder(@NonNull ItemCompanyDataTypeAddChildAccountBinding binding) { | |
| 191 | + super(binding.getRoot()); | |
| 192 | + this.binding = binding; | |
| 193 | + binding.btnAddChildAccount.setOnClickListener(this); | |
| 194 | + } | |
| 195 | + | |
| 196 | + @Override | |
| 197 | + public void onClick(View v) { | |
| 198 | + if (v.getId() == R.id.btn_addChildAccount) { | |
| 199 | + //获取当前逻辑上的数量 | |
| 200 | + int logicSize = dataList.get(getLayoutPosition()).getLogicSize(); | |
| 201 | + dataList.add(getAdapterPosition(), new CompanyItemData(CompanyItemData.TYPE_CHILD_ACCOUNT, logicSize,true)); | |
| 202 | + notifyItemInserted(getLayoutPosition() + 1); | |
| 203 | + | |
| 204 | + } | |
| 205 | + } | |
| 206 | + } | |
| 207 | + | |
| 208 | + /** | |
| 209 | + * 添加机构 | |
| 210 | + */ | |
| 211 | + public class AddOrganizactionHolder extends RecyclerView.ViewHolder implements View.OnClickListener { | |
| 212 | + private ItemCompanyDataTypeAddOrganizationBinding binding; | |
| 213 | + | |
| 214 | + public AddOrganizactionHolder(@NonNull ItemCompanyDataTypeAddOrganizationBinding binding) { | |
| 215 | + super(binding.getRoot()); | |
| 216 | + this.binding = binding; | |
| 217 | + binding.btnAddOrganization.setOnClickListener(this); | |
| 218 | + } | |
| 219 | + | |
| 220 | + @Override | |
| 221 | + public void onClick(View v) { | |
| 222 | + if (v.getId()==R.id.btn_addOrganization){ | |
| 223 | + //获取当前逻辑上的数量 | |
| 224 | + int logicSize = dataList.get(getLayoutPosition()).getLogicSize(); | |
| 225 | + int selectIndex=getLayoutPosition(); | |
| 226 | + dataList.remove(dataList.size()-1); | |
| 227 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_ORGANIZATION,logicSize+1,true,false)); | |
| 228 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_CIRCLE,logicSize+1)); | |
| 229 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_ADD_CIRCLE,logicSize+1)); | |
| 230 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_CHILD_ACCOUNT,logicSize+1)); | |
| 231 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_ADD_CHILD_ACCOUNT,logicSize+1)); | |
| 232 | + dataList.add(new CompanyItemData(CompanyItemData.TYPE_ADD_ORGANIZATION,0)); | |
| 233 | + notifyItemInserted(selectIndex); | |
| 234 | + } | |
| 235 | + } | |
| 236 | + } | |
| 237 | +} | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/fragment/FillInCompanyDataFragment.java
0 → 100644
| 1 | +package com.cnlive.core.company_verfication.ui.fragment; | |
| 2 | + | |
| 3 | +import android.view.View; | |
| 4 | + | |
| 5 | +import com.cnlive.core.libs.base.frame.fragment.BaseFragment; | |
| 6 | +import com.cnlive.core.people_verfication.R; | |
| 7 | +import com.cnlive.core.people_verfication.databinding.FragmentFillInCompanyDataBinding; | |
| 8 | + | |
| 9 | +import androidx.databinding.ViewDataBinding; | |
| 10 | + | |
| 11 | +/* | |
| 12 | + *@date:2020/4/7 14:50 | |
| 13 | + *@author:杨帅 | |
| 14 | + */public class FillInCompanyDataFragment extends BaseFragment { | |
| 15 | + private FragmentFillInCompanyDataBinding binding; | |
| 16 | + | |
| 17 | + @Override | |
| 18 | + protected int getBindLayoutId() { | |
| 19 | + return R.layout.fragment_fill_in_company_data; | |
| 20 | + } | |
| 21 | + | |
| 22 | + @Override | |
| 23 | + protected void initBindingLayoutData(ViewDataBinding baseBinding) { | |
| 24 | + super.initBindingLayoutData(baseBinding); | |
| 25 | + binding = (FragmentFillInCompanyDataBinding) baseBinding; | |
| 26 | + } | |
| 27 | + | |
| 28 | + @Override | |
| 29 | + protected void initView() { | |
| 30 | + showDefaultWhiteStatusBar(); | |
| 31 | + binding.topbar.setTitle("填写公司信息"); | |
| 32 | + binding.topbar.addLeftImageButton(R.drawable.icon_verficat_back,R.id.back_btn).setOnClickListener(new View.OnClickListener() { | |
| 33 | + @Override | |
| 34 | + public void onClick(View v) { | |
| 35 | + me.finish(); | |
| 36 | + } | |
| 37 | + }); | |
| 38 | + } | |
| 39 | +} | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/fragment/SelectCompanyDataFragment.java
0 → 100644
| 1 | +package com.cnlive.core.company_verfication.ui.fragment; | |
| 2 | + | |
| 3 | +import com.cnlive.core.company_verfication.ui.adapter.CompanyDataAdapter; | |
| 4 | +import com.cnlive.core.company_verfication.ui.adapter.CompanyItemDataAdapter; | |
| 5 | +import com.cnlive.core.company_verfication.ui.model.CompanyItemData; | |
| 6 | +import com.cnlive.core.libs.base.frame.fragment.BaseFragment; | |
| 7 | +import com.cnlive.core.people_verfication.R; | |
| 8 | +import com.cnlive.core.people_verfication.databinding.FragmentSelectInCompanyDataBinding; | |
| 9 | + | |
| 10 | +import java.util.ArrayList; | |
| 11 | +import java.util.List; | |
| 12 | + | |
| 13 | +import androidx.databinding.ViewDataBinding; | |
| 14 | +import androidx.recyclerview.widget.LinearLayoutManager; | |
| 15 | + | |
| 16 | +/* | |
| 17 | + *@date:2020/4/7 14:54 | |
| 18 | + *@author:杨帅 | |
| 19 | + */public class SelectCompanyDataFragment extends BaseFragment { | |
| 20 | + private List<String> data = new ArrayList<>(); | |
| 21 | + private FragmentSelectInCompanyDataBinding binding; | |
| 22 | + private CompanyDataAdapter adapter; | |
| 23 | + private CompanyItemDataAdapter itemDataAdapter; | |
| 24 | + | |
| 25 | + @Override | |
| 26 | + protected int getBindLayoutId() { | |
| 27 | + return R.layout.fragment_select_in_company_data; | |
| 28 | + } | |
| 29 | + | |
| 30 | + @Override | |
| 31 | + protected void initBindingLayoutData(ViewDataBinding baseBinding) { | |
| 32 | + super.initBindingLayoutData(baseBinding); | |
| 33 | + binding= (FragmentSelectInCompanyDataBinding) baseBinding; | |
| 34 | + } | |
| 35 | + @Override | |
| 36 | + protected void initView() { | |
| 37 | +// data.add("测试"); | |
| 38 | +// adapter = new CompanyDataAdapter(me, data); | |
| 39 | + List<CompanyItemData>list=new ArrayList<>(); | |
| 40 | + list.add(new CompanyItemData(CompanyItemData.TYPE_ORGANIZATION,0)); | |
| 41 | + list.add(new CompanyItemData(CompanyItemData.TYPE_CIRCLE,0)); | |
| 42 | + list.add(new CompanyItemData(CompanyItemData.TYPE_ADD_CIRCLE,0)); | |
| 43 | + list.add(new CompanyItemData(CompanyItemData.TYPE_CHILD_ACCOUNT,0)); | |
| 44 | + list.add(new CompanyItemData(CompanyItemData.TYPE_ADD_CHILD_ACCOUNT,0)); | |
| 45 | + list.add(new CompanyItemData(CompanyItemData.TYPE_ADD_ORGANIZATION,0)); | |
| 46 | + itemDataAdapter=new CompanyItemDataAdapter(me,list); | |
| 47 | + binding.recyclerView.setLayoutManager(new LinearLayoutManager(me)); | |
| 48 | + binding.recyclerView.setAdapter(itemDataAdapter); | |
| 49 | + } | |
| 50 | +} | ... | ... |
core/dentity_verfication/src/main/java/com/cnlive/core/company_verfication/ui/model/CompanyItemData.java
0 → 100644
| 1 | +package com.cnlive.core.company_verfication.ui.model; | |
| 2 | + | |
| 3 | +/*机构数据 | |
| 4 | + *@date:2020/4/7 16:24 | |
| 5 | + *@author:杨帅 | |
| 6 | + */public class CompanyItemData { | |
| 7 | + public static final int TYPE_ORGANIZATION = 0;//所属机构 | |
| 8 | + public static final int TYPE_CIRCLE = 1;//您的圈子 | |
| 9 | + public static final int TYPE_ADD_CIRCLE = 2;//添加圈子 | |
| 10 | + public static final int TYPE_CHILD_ACCOUNT = 3;//相关账号 | |
| 11 | + public static final int TYPE_ADD_CHILD_ACCOUNT = 4;//添加子账号 | |
| 12 | + public static final int TYPE_ADD_ORGANIZATION = 5;//添加机构 | |
| 13 | + | |
| 14 | + private int type; | |
| 15 | + private boolean showDelete; | |
| 16 | + private int logicSize;//逻辑上数量 | |
| 17 | + private boolean showTopLine; | |
| 18 | + | |
| 19 | + public int getType() { | |
| 20 | + return type; | |
| 21 | + } | |
| 22 | + | |
| 23 | + public void setType(int type) { | |
| 24 | + this.type = type; | |
| 25 | + } | |
| 26 | + | |
| 27 | + public boolean isShowDelete() { | |
| 28 | + return showDelete; | |
| 29 | + } | |
| 30 | + | |
| 31 | + public void setShowDelete(boolean showDelete) { | |
| 32 | + this.showDelete = showDelete; | |
| 33 | + } | |
| 34 | + | |
| 35 | + public CompanyItemData(int type, int logicSize) { | |
| 36 | + this.type = type; | |
| 37 | + this.logicSize = logicSize; | |
| 38 | + } | |
| 39 | + public CompanyItemData(int type, int logicSize,boolean showTopLine,boolean showDelete) { | |
| 40 | + this.type = type; | |
| 41 | + this.logicSize = logicSize; | |
| 42 | + this.showTopLine=showTopLine; | |
| 43 | + this.showDelete=showDelete; | |
| 44 | + } | |
| 45 | + public CompanyItemData(int type, int logicSize, boolean showDelete) { | |
| 46 | + this.type = type; | |
| 47 | + this.logicSize = logicSize; | |
| 48 | + this.showDelete = showDelete; | |
| 49 | + } | |
| 50 | + | |
| 51 | + public boolean isShowTopLine() { | |
| 52 | + return showTopLine; | |
| 53 | + } | |
| 54 | + | |
| 55 | + public void setShowTopLine(boolean showTopLine) { | |
| 56 | + this.showTopLine = showTopLine; | |
| 57 | + } | |
| 58 | + | |
| 59 | + public int getLogicSize() { | |
| 60 | + return logicSize; | |
| 61 | + } | |
| 62 | + | |
| 63 | + public void setLogicSize(int logicSize) { | |
| 64 | + this.logicSize = logicSize; | |
| 65 | + } | |
| 66 | +} | ... | ... |
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_back.png
0 → 100644
795 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/icon_verficat_blue_add.png
0 → 100644
319 Bytes
core/dentity_verfication/src/main/res/drawable-hdpi/timgs.png deleted
100644 → 0
48.7 KB
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_back.png
0 → 100644
828 Bytes
core/dentity_verfication/src/main/res/drawable-xhdpi/icon_verficat_blue_add.png
0 → 100644
397 Bytes
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_back.png
0 → 100644
1.57 KB
core/dentity_verfication/src/main/res/drawable-xxhdpi/icon_verficat_blue_add.png
0 → 100644
466 Bytes
core/dentity_verfication/src/main/res/drawable/shape_verficat_blue_right_arrow.xml deleted
100644 → 0
| 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_btn_10_round_blue_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="10dp" /> | |
| 4 | + <solid android:color="@color/white" /> | |
| 5 | + <stroke | |
| 6 | + android:width="0.5dp" | |
| 7 | + android:color="@color/color_4EABFD" /> | |
| 8 | +</shape> | |
| 0 | 9 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/drawable/shape_verficat_btn_10_round_solid_blue_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="10dp" /> | |
| 4 | + <solid android:color="@color/color_4EABFD" /> | |
| 5 | + <stroke | |
| 6 | + android:width="0.5dp" | |
| 7 | + android:color="@color/color_4EABFD" /> | |
| 8 | +</shape> | |
| 0 | 9 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/layout/activity_fill_in_company_data.xml deleted
100644 → 0
| 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
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<layout> | |
| 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"> | |
| 3 | 5 | |
| 4 | - <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | - xmlns:app="http://schemas.android.com/apk/res-auto" | |
| 6 | - xmlns:tools="http://schemas.android.com/tools" | |
| 6 | + <androidx.constraintlayout.widget.ConstraintLayout | |
| 7 | 7 | android:layout_width="match_parent" |
| 8 | 8 | android:layout_height="match_parent" |
| 9 | - tools:context="com.cnlive.core.company_verfication.ui.activity.SelectCompanyDataActivity"> | |
| 9 | + tools:context="com.cnlive.core.company_verfication.ui.activity.FillInCompanyDataActivity"> | |
| 10 | 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" /> | |
| 22 | - | |
| 23 | - <androidx.recyclerview.widget.RecyclerView | |
| 24 | - android:id="@+id/recyclerView" | |
| 11 | + <androidx.core.widget.NestedScrollView | |
| 25 | 12 | android:layout_width="match_parent" |
| 26 | 13 | android:layout_height="match_parent" |
| 27 | - android:layout_marginTop="43dp" /> | |
| 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 | + <!--标题--> | |
| 22 | + <com.qmuiteam.qmui.widget.QMUITopBar | |
| 23 | + android:id="@+id/topbar" | |
| 24 | + android:layout_width="match_parent" | |
| 25 | + android:layout_height="?attr/qmui_topbar_height" /> | |
| 26 | + <!--流程--> | |
| 27 | + <LinearLayout | |
| 28 | + android:layout_width="match_parent" | |
| 29 | + android:layout_height="wrap_content" | |
| 30 | + android:background="@color/white" | |
| 31 | + android:gravity="center" | |
| 32 | + android:paddingTop="10dp" | |
| 33 | + android:paddingBottom="10dp"> | |
| 34 | + | |
| 35 | + <LinearLayout | |
| 36 | + android:layout_width="0dp" | |
| 37 | + android:layout_height="wrap_content" | |
| 38 | + android:layout_weight="1" | |
| 39 | + android:gravity="center"> | |
| 40 | + | |
| 41 | + <ImageView | |
| 42 | + android:layout_width="72dp" | |
| 43 | + android:layout_height="77dp" | |
| 44 | + android:background="@drawable/icon_verficat_qualification" /> | |
| 45 | + </LinearLayout> | |
| 46 | + | |
| 47 | + <ImageView | |
| 48 | + android:layout_width="8.5dp" | |
| 49 | + android:layout_height="15dp" | |
| 50 | + android:background="@drawable/icon_verficat_audit_arrow" /> | |
| 51 | + | |
| 52 | + <LinearLayout | |
| 53 | + android:layout_width="0dp" | |
| 54 | + android:layout_height="wrap_content" | |
| 55 | + android:layout_weight="1" | |
| 56 | + android:gravity="center"> | |
| 57 | + | |
| 58 | + <ImageView | |
| 59 | + android:layout_width="55dp" | |
| 60 | + android:layout_height="77dp" | |
| 61 | + android:background="@drawable/icon_verficat_audit" /> | |
| 62 | + </LinearLayout> | |
| 63 | + | |
| 64 | + <ImageView | |
| 65 | + android:layout_width="8.5dp" | |
| 66 | + android:layout_height="15dp" | |
| 67 | + android:background="@drawable/icon_verficat_audit_arrow" /> | |
| 68 | + | |
| 69 | + <LinearLayout | |
| 70 | + android:layout_width="0dp" | |
| 71 | + android:layout_height="wrap_content" | |
| 72 | + android:layout_weight="1" | |
| 73 | + android:gravity="center"> | |
| 74 | + | |
| 75 | + <ImageView | |
| 76 | + android:layout_width="55dp" | |
| 77 | + android:layout_height="77dp" | |
| 78 | + android:background="@drawable/icon_verficat_audit_success" /> | |
| 79 | + </LinearLayout> | |
| 80 | + | |
| 81 | + </LinearLayout> | |
| 82 | + | |
| 83 | + <View | |
| 84 | + android:layout_width="match_parent" | |
| 85 | + android:layout_height="10dp" | |
| 86 | + android:background="@color/color_F2F2F2" /> | |
| 87 | + <!-- 相关信息--> | |
| 88 | + <LinearLayout | |
| 89 | + android:layout_width="match_parent" | |
| 90 | + android:layout_height="wrap_content" | |
| 91 | + android:background="@color/white" | |
| 92 | + android:orientation="vertical" | |
| 93 | + android:paddingLeft="10dp" | |
| 94 | + android:paddingRight="10dp" | |
| 95 | + android:paddingBottom="20dp"> | |
| 96 | + | |
| 97 | + <TextView | |
| 98 | + android:layout_width="wrap_content" | |
| 99 | + android:layout_height="wrap_content" | |
| 100 | + android:layout_marginTop="15dp" | |
| 101 | + android:text="填写公司资质信息" | |
| 102 | + android:textColor="@color/color_333333" | |
| 103 | + android:textSize="15sp" /> | |
| 104 | + <!-- 公司全称--> | |
| 105 | + <LinearLayout | |
| 106 | + android:layout_width="match_parent" | |
| 107 | + android:layout_height="wrap_content" | |
| 108 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 109 | + android:gravity="center_vertical"> | |
| 110 | + | |
| 111 | + <TextView | |
| 112 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 113 | + android:layout_height="wrap_content" | |
| 114 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 115 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 116 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 117 | + android:text="公司全称" | |
| 118 | + android:textColor="@color/color_333333" | |
| 119 | + android:textSize="12sp" /> | |
| 120 | + | |
| 121 | + <LinearLayout | |
| 122 | + android:layout_width="match_parent" | |
| 123 | + android:layout_height="wrap_content" | |
| 124 | + android:orientation="vertical"> | |
| 125 | + | |
| 126 | + <EditText | |
| 127 | + android:layout_width="match_parent" | |
| 128 | + android:layout_height="wrap_content" | |
| 129 | + android:layout_marginTop="10dp" | |
| 130 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 131 | + android:hint="请输入公司全称" | |
| 132 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 133 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 134 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 135 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 136 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 137 | + android:textColor="@color/color_333333" | |
| 138 | + android:textColorHint="@color/color_B9B9B9" | |
| 139 | + android:textSize="12sp" /> | |
| 140 | + | |
| 141 | + <TextView | |
| 142 | + android:layout_width="wrap_content" | |
| 143 | + android:layout_height="wrap_content" | |
| 144 | + android:layout_marginTop="5dp" | |
| 145 | + android:text="公司注册全称与营业执照一致" | |
| 146 | + android:textColor="@color/color_999999" | |
| 147 | + android:textSize="11sp" /> | |
| 148 | + </LinearLayout> | |
| 149 | + </LinearLayout> | |
| 150 | + <!--企业logo--> | |
| 151 | + <LinearLayout | |
| 152 | + android:layout_width="match_parent" | |
| 153 | + android:layout_height="wrap_content" | |
| 154 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_has_tip_text_margin_top" | |
| 155 | + android:gravity="center_vertical"> | |
| 156 | + | |
| 157 | + <TextView | |
| 158 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 159 | + android:layout_height="wrap_content" | |
| 160 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 161 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 162 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 163 | + android:text="企业logo" | |
| 164 | + android:textColor="@color/color_333333" | |
| 165 | + android:textSize="12sp" /> | |
| 166 | + | |
| 167 | + <LinearLayout | |
| 168 | + android:layout_width="match_parent" | |
| 169 | + android:layout_height="wrap_content" | |
| 170 | + android:orientation="vertical"> | |
| 171 | + | |
| 172 | + <FrameLayout | |
| 173 | + android:layout_width="wrap_content" | |
| 174 | + android:layout_height="wrap_content"> | |
| 175 | + | |
| 176 | + <ImageView | |
| 177 | + android:layout_width="60dp" | |
| 178 | + android:layout_height="60dp" | |
| 179 | + android:layout_marginTop="20dp" | |
| 180 | + android:layout_marginRight="20dp" | |
| 181 | + android:background="@drawable/icon_verficat_company_logo_add" /> | |
| 182 | + | |
| 183 | + <ImageView | |
| 184 | + android:layout_width="35dp" | |
| 185 | + android:layout_height="35dp" | |
| 186 | + android:layout_gravity="right|top" | |
| 187 | + android:padding="8dp" | |
| 188 | + android:src="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 189 | + </FrameLayout> | |
| 190 | + | |
| 191 | + <TextView | |
| 192 | + android:layout_width="wrap_content" | |
| 193 | + android:layout_height="wrap_content" | |
| 194 | + android:layout_marginTop="5dp" | |
| 195 | + android:text="请上传LOGO图片(尺寸100*100,图片大小5M以内)" | |
| 196 | + android:textColor="@color/color_999999" | |
| 197 | + android:textSize="11sp" /> | |
| 198 | + </LinearLayout> | |
| 199 | + | |
| 200 | + </LinearLayout> | |
| 201 | + <!-- 企业简称--> | |
| 202 | + <LinearLayout | |
| 203 | + android:layout_width="match_parent" | |
| 204 | + android:layout_height="wrap_content" | |
| 205 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 206 | + android:gravity="center_vertical"> | |
| 207 | + | |
| 208 | + <TextView | |
| 209 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 210 | + android:layout_height="wrap_content" | |
| 211 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 212 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 213 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 214 | + android:text="企业简称" | |
| 215 | + android:textColor="@color/color_333333" | |
| 216 | + android:textSize="12sp" /> | |
| 217 | + | |
| 218 | + <EditText | |
| 219 | + android:layout_width="match_parent" | |
| 220 | + android:layout_height="wrap_content" | |
| 221 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 222 | + android:hint="请输入企业简称" | |
| 223 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 224 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 225 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 226 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 227 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 228 | + android:textColor="@color/color_333333" | |
| 229 | + android:textColorHint="@color/color_B9B9B9" | |
| 230 | + android:textSize="12sp" /> | |
| 231 | + | |
| 232 | + </LinearLayout> | |
| 233 | + <!-- 企业代码--> | |
| 234 | + <LinearLayout | |
| 235 | + android:layout_width="match_parent" | |
| 236 | + android:layout_height="wrap_content" | |
| 237 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 238 | + android:gravity="center_vertical"> | |
| 239 | + | |
| 240 | + <TextView | |
| 241 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 242 | + android:layout_height="wrap_content" | |
| 243 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 244 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 245 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 246 | + android:text="企业代码" | |
| 247 | + android:textColor="@color/color_333333" | |
| 248 | + android:textSize="12sp" /> | |
| 249 | + | |
| 250 | + <EditText | |
| 251 | + android:layout_width="match_parent" | |
| 252 | + android:layout_height="wrap_content" | |
| 253 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 254 | + android:hint="请输入企业代码" | |
| 255 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 256 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 257 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 258 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 259 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 260 | + android:textColor="@color/color_333333" | |
| 261 | + android:textColorHint="@color/color_B9B9B9" | |
| 262 | + android:textSize="12sp" /> | |
| 263 | + | |
| 264 | + </LinearLayout> | |
| 265 | + <!-- 企业简介--> | |
| 266 | + <LinearLayout | |
| 267 | + android:layout_width="match_parent" | |
| 268 | + android:layout_height="wrap_content" | |
| 269 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 270 | + android:gravity="center_vertical"> | |
| 271 | + | |
| 272 | + <TextView | |
| 273 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 274 | + android:layout_height="wrap_content" | |
| 275 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 276 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 277 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 278 | + android:text="企业简介" | |
| 279 | + android:textColor="@color/color_333333" | |
| 280 | + android:textSize="12sp" /> | |
| 281 | + | |
| 282 | + <EditText | |
| 283 | + android:layout_width="match_parent" | |
| 284 | + android:layout_height="wrap_content" | |
| 285 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 286 | + android:gravity="left|top" | |
| 287 | + android:hint="请输入企业简介(400字以内)" | |
| 288 | + android:maxEms="400" | |
| 289 | + android:minHeight="78dp" | |
| 290 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 291 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 292 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 293 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 294 | + android:textColor="@color/color_333333" | |
| 295 | + android:textColorHint="@color/color_B9B9B9" | |
| 296 | + android:textSize="12sp" /> | |
| 297 | + | |
| 298 | + </LinearLayout> | |
| 299 | + <!-- 企业地址--> | |
| 300 | + <LinearLayout | |
| 301 | + android:layout_width="match_parent" | |
| 302 | + android:layout_height="wrap_content" | |
| 303 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 304 | + android:gravity="center_vertical"> | |
| 305 | + | |
| 306 | + <TextView | |
| 307 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 308 | + android:layout_height="wrap_content" | |
| 309 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 310 | + android:paddingLeft="@dimen/dimen_fill_company_data_tv_title_no_icon_padding_left" | |
| 311 | + android:text="企业地址" | |
| 312 | + android:textColor="@color/color_333333" | |
| 313 | + android:textSize="12sp" /> | |
| 314 | + | |
| 315 | + <EditText | |
| 316 | + android:layout_width="match_parent" | |
| 317 | + android:layout_height="wrap_content" | |
| 318 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 319 | + android:hint="请输入企业地址" | |
| 320 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 321 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 322 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 323 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 324 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 325 | + android:textColor="@color/color_333333" | |
| 326 | + android:textColorHint="@color/color_B9B9B9" | |
| 327 | + android:textSize="12sp" /> | |
| 328 | + | |
| 329 | + </LinearLayout> | |
| 330 | + <!-- 企业代码--> | |
| 331 | + <LinearLayout | |
| 332 | + android:layout_width="match_parent" | |
| 333 | + android:layout_height="wrap_content" | |
| 334 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 335 | + android:gravity="center_vertical"> | |
| 336 | + | |
| 337 | + <TextView | |
| 338 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 339 | + android:layout_height="wrap_content" | |
| 340 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 341 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 342 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 343 | + android:text="企业类型" | |
| 344 | + android:textColor="@color/color_333333" | |
| 345 | + android:textSize="12sp" /> | |
| 346 | + | |
| 347 | + <TextView | |
| 348 | + android:layout_width="match_parent" | |
| 349 | + android:layout_height="wrap_content" | |
| 350 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 351 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 352 | + android:gravity="center_vertical" | |
| 353 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 354 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 355 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 356 | + android:paddingRight="10dp" | |
| 357 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 358 | + android:text="请选择" | |
| 359 | + android:textColor="@color/color_333333" | |
| 360 | + android:textSize="12sp" /> | |
| 361 | + | |
| 362 | + </LinearLayout> | |
| 363 | + <!-- 网站--> | |
| 364 | + <LinearLayout | |
| 365 | + android:layout_width="match_parent" | |
| 366 | + android:layout_height="wrap_content" | |
| 367 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 368 | + android:gravity="center_vertical"> | |
| 369 | + | |
| 370 | + <TextView | |
| 371 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 372 | + android:layout_height="wrap_content" | |
| 373 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 374 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 375 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 376 | + android:text="网站" | |
| 377 | + android:textColor="@color/color_333333" | |
| 378 | + android:textSize="12sp" /> | |
| 379 | + | |
| 380 | + <EditText | |
| 381 | + android:layout_width="match_parent" | |
| 382 | + android:layout_height="wrap_content" | |
| 383 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 384 | + android:hint="请输入企业网站访问链接" | |
| 385 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 386 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 387 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 388 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 389 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 390 | + android:textColor="@color/color_333333" | |
| 391 | + android:textColorHint="@color/color_B9B9B9" | |
| 392 | + android:textSize="12sp" /> | |
| 393 | + | |
| 394 | + </LinearLayout> | |
| 395 | + <!-- 企业法人--> | |
| 396 | + <LinearLayout | |
| 397 | + android:layout_width="match_parent" | |
| 398 | + android:layout_height="wrap_content" | |
| 399 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 400 | + android:gravity="center_vertical"> | |
| 401 | + | |
| 402 | + <TextView | |
| 403 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 404 | + android:layout_height="wrap_content" | |
| 405 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 406 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 407 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 408 | + android:text="企业法人" | |
| 409 | + android:textColor="@color/color_333333" | |
| 410 | + android:textSize="12sp" /> | |
| 411 | + | |
| 412 | + <EditText | |
| 413 | + android:layout_width="match_parent" | |
| 414 | + android:layout_height="wrap_content" | |
| 415 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 416 | + android:hint="请输入企业法人姓名" | |
| 417 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 418 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 419 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 420 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 421 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 422 | + android:textColor="@color/color_333333" | |
| 423 | + android:textColorHint="@color/color_B9B9B9" | |
| 424 | + android:textSize="12sp" /> | |
| 425 | + | |
| 426 | + </LinearLayout> | |
| 427 | + <!-- 联系人--> | |
| 428 | + <LinearLayout | |
| 429 | + android:layout_width="match_parent" | |
| 430 | + android:layout_height="wrap_content" | |
| 431 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 432 | + android:gravity="center_vertical"> | |
| 433 | + | |
| 434 | + <TextView | |
| 435 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 436 | + android:layout_height="wrap_content" | |
| 437 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 438 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 439 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 440 | + android:text="联系人" | |
| 441 | + android:textColor="@color/color_333333" | |
| 442 | + android:textSize="12sp" /> | |
| 443 | + | |
| 444 | + <EditText | |
| 445 | + android:layout_width="match_parent" | |
| 446 | + android:layout_height="wrap_content" | |
| 447 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 448 | + android:hint="请输入企业联系人姓名" | |
| 449 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 450 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 451 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 452 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 453 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 454 | + android:textColor="@color/color_333333" | |
| 455 | + android:textColorHint="@color/color_B9B9B9" | |
| 456 | + android:textSize="12sp" /> | |
| 457 | + | |
| 458 | + </LinearLayout> | |
| 459 | + <!-- 合同编号--> | |
| 460 | + <LinearLayout | |
| 461 | + android:layout_width="match_parent" | |
| 462 | + android:layout_height="wrap_content" | |
| 463 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 464 | + android:gravity="center_vertical"> | |
| 465 | + | |
| 466 | + <TextView | |
| 467 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 468 | + android:layout_height="wrap_content" | |
| 469 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 470 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 471 | + android:paddingLeft="@dimen/dimen_fill_company_data_tv_title_no_icon_padding_left" | |
| 472 | + android:text="合同编号" | |
| 473 | + android:textColor="@color/color_333333" | |
| 474 | + android:textSize="12sp" /> | |
| 475 | + | |
| 476 | + <EditText | |
| 477 | + android:layout_width="match_parent" | |
| 478 | + android:layout_height="wrap_content" | |
| 479 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 480 | + android:hint="请输入合同编号" | |
| 481 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 482 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 483 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 484 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 485 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 486 | + android:textColor="@color/color_333333" | |
| 487 | + android:textColorHint="@color/color_B9B9B9" | |
| 488 | + android:textSize="12sp" /> | |
| 489 | + | |
| 490 | + </LinearLayout> | |
| 491 | + <!-- 营业执照号--> | |
| 492 | + <LinearLayout | |
| 493 | + android:layout_width="match_parent" | |
| 494 | + android:layout_height="wrap_content" | |
| 495 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_no_tip_text_margin_top" | |
| 496 | + android:gravity="center_vertical"> | |
| 497 | + | |
| 498 | + <TextView | |
| 499 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 500 | + android:layout_height="wrap_content" | |
| 501 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 502 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 503 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 504 | + android:text="营业执照号" | |
| 505 | + android:textColor="@color/color_333333" | |
| 506 | + android:textSize="12sp" /> | |
| 507 | + | |
| 508 | + <EditText | |
| 509 | + android:layout_width="match_parent" | |
| 510 | + android:layout_height="wrap_content" | |
| 511 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 512 | + android:hint="请输入营业执照号" | |
| 513 | + android:minHeight="@dimen/dimen_fill_company_data_et_miniHeight" | |
| 514 | + android:paddingLeft="@dimen/dimen_fill_company_data_et_padding_left" | |
| 515 | + android:paddingTop="@dimen/dimen_fill_company_data_et_padding_top" | |
| 516 | + android:paddingRight="@dimen/dimen_fill_company_data_et_padding_right" | |
| 517 | + android:paddingBottom="@dimen/dimen_fill_company_data_et_padding_bottom" | |
| 518 | + android:textColor="@color/color_333333" | |
| 519 | + android:textColorHint="@color/color_B9B9B9" | |
| 520 | + android:textSize="12sp" /> | |
| 521 | + | |
| 522 | + </LinearLayout> | |
| 523 | + <!--企业logo--> | |
| 524 | + <LinearLayout | |
| 525 | + android:layout_width="match_parent" | |
| 526 | + android:layout_height="wrap_content" | |
| 527 | + android:layout_marginTop="@dimen/dimen_fill_company_data_item_has_tip_text_margin_top" | |
| 528 | + android:gravity="center_vertical"> | |
| 529 | + | |
| 530 | + <TextView | |
| 531 | + android:layout_width="@dimen/dimen_fill_company_data_tv_title_width" | |
| 532 | + android:layout_height="wrap_content" | |
| 533 | + android:layout_marginRight="@dimen/dimen_fill_company_data_tv_title_margin_right" | |
| 534 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 535 | + android:drawablePadding="@dimen/dimen_fill_company_data_tv_title_has_icon_padding_left" | |
| 536 | + android:text="营业执照" | |
| 537 | + android:textColor="@color/color_333333" | |
| 538 | + android:textSize="12sp" /> | |
| 539 | + | |
| 540 | + <LinearLayout | |
| 541 | + android:layout_width="match_parent" | |
| 542 | + android:layout_height="wrap_content" | |
| 543 | + android:orientation="vertical"> | |
| 544 | + | |
| 545 | + | |
| 546 | + <FrameLayout | |
| 547 | + android:layout_width="wrap_content" | |
| 548 | + android:layout_height="wrap_content"> | |
| 549 | + | |
| 550 | + <ImageView | |
| 551 | + android:layout_width="100dp" | |
| 552 | + android:layout_height="137dp" | |
| 553 | + android:layout_marginTop="20dp" | |
| 554 | + android:layout_marginRight="20dp" | |
| 555 | + android:background="@drawable/icon_verficat_company_license_add" /> | |
| 556 | + | |
| 557 | + <ImageView | |
| 558 | + android:layout_width="35dp" | |
| 559 | + android:layout_height="35dp" | |
| 560 | + android:layout_gravity="right|top" | |
| 561 | + android:padding="8dp" | |
| 562 | + android:src="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 563 | + </FrameLayout> | |
| 564 | + | |
| 565 | + <TextView | |
| 566 | + android:layout_width="wrap_content" | |
| 567 | + android:layout_height="wrap_content" | |
| 568 | + android:layout_marginTop="5dp" | |
| 569 | + android:text="请上传营业执照图片,格式为JPG,PNG(图片\n 大小不超过5M)" | |
| 570 | + android:textColor="@color/color_999999" | |
| 571 | + android:textSize="11sp" /> | |
| 572 | + </LinearLayout> | |
| 573 | + <!----> | |
| 574 | + </LinearLayout> | |
| 575 | + | |
| 576 | + <!----> | |
| 577 | + </LinearLayout> | |
| 578 | + <!-- 同意按钮--> | |
| 579 | + <LinearLayout | |
| 580 | + android:layout_width="match_parent" | |
| 581 | + android:layout_height="wrap_content" | |
| 582 | + android:background="@color/color_F9F9F9" | |
| 583 | + android:orientation="vertical" | |
| 584 | + android:paddingTop="20dp" | |
| 585 | + android:paddingBottom="20dp"> | |
| 586 | + <!-- 复选框--> | |
| 587 | + <LinearLayout | |
| 588 | + android:layout_width="match_parent" | |
| 589 | + android:layout_height="wrap_content" | |
| 590 | + android:gravity="center"> | |
| 591 | + | |
| 592 | + <CheckBox | |
| 593 | + android:layout_width="wrap_content" | |
| 594 | + android:layout_height="wrap_content" | |
| 595 | + android:theme="@style/style_fill_in_company_data_checkbox" /> | |
| 596 | + | |
| 597 | + <TextView | |
| 598 | + android:layout_width="wrap_content" | |
| 599 | + android:layout_height="wrap_content" | |
| 600 | + android:text="@string/string_fill_in_company_data_license_tip" /> | |
| 601 | + </LinearLayout> | |
| 602 | + <!-- 按钮--> | |
| 603 | + <LinearLayout | |
| 604 | + android:layout_width="match_parent" | |
| 605 | + android:layout_height="wrap_content" | |
| 606 | + android:layout_marginTop="10dp" | |
| 607 | + android:gravity="center"> | |
| 608 | + | |
| 609 | + <Button | |
| 610 | + android:layout_width="245dp" | |
| 611 | + android:layout_height="35dp" | |
| 612 | + android:background="@drawable/shape_verficat_fill_in_company_data_btn_submit" | |
| 613 | + android:text="提交" | |
| 614 | + android:textColor="@color/white" | |
| 615 | + android:textSize="15sp" /> | |
| 616 | + </LinearLayout> | |
| 617 | + <!-- --> | |
| 618 | + </LinearLayout> | |
| 619 | + <!-- --> | |
| 620 | + </LinearLayout> | |
| 621 | + </androidx.core.widget.NestedScrollView> | |
| 28 | 622 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 29 | 623 | </layout> | ... | ... |
core/dentity_verfication/src/main/res/layout/fragment_select_in_company_data.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layout> | |
| 3 | + | |
| 4 | + <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | + xmlns:app="http://schemas.android.com/apk/res-auto" | |
| 6 | + xmlns:tools="http://schemas.android.com/tools" | |
| 7 | + android:layout_width="match_parent" | |
| 8 | + android:layout_height="match_parent" | |
| 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" /> | |
| 22 | + | |
| 23 | + <androidx.recyclerview.widget.RecyclerView | |
| 24 | + android:id="@+id/recyclerView" | |
| 25 | + android:layout_width="match_parent" | |
| 26 | + android:layout_height="match_parent" | |
| 27 | + android:layout_marginTop="43dp" /> | |
| 28 | + </androidx.constraintlayout.widget.ConstraintLayout> | |
| 29 | +</layout> | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_data_type_add_child_account.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layout> | |
| 3 | + | |
| 4 | + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | + android:layout_width="match_parent" | |
| 6 | + android:layout_height="wrap_content" | |
| 7 | + android:background="@color/white" | |
| 8 | + android:gravity="center_vertical|right" | |
| 9 | + android:paddingTop="10dp" | |
| 10 | + android:paddingBottom="10dp"> | |
| 11 | + | |
| 12 | + <TextView | |
| 13 | + android:id="@+id/tv_add_account_tip" | |
| 14 | + android:layout_width="wrap_content" | |
| 15 | + android:layout_height="wrap_content" | |
| 16 | + android:layout_marginRight="10dp" | |
| 17 | + android:text="如您有多个圈子,可点击添加" | |
| 18 | + android:textColor="@color/color_999999" | |
| 19 | + android:textSize="11sp" /> | |
| 20 | + | |
| 21 | + <Button | |
| 22 | + android:id="@+id/btn_addChildAccount" | |
| 23 | + android:layout_width="103dp" | |
| 24 | + android:layout_height="28dp" | |
| 25 | + android:layout_marginRight="10dp" | |
| 26 | + android:background="@drawable/shape_verficat_btn_10_round_blue_bg" | |
| 27 | + android:drawableLeft="@drawable/icon_verficat_blue_add" | |
| 28 | + android:paddingLeft="10dp" | |
| 29 | + android:text="添加子账号" | |
| 30 | + android:textColor="@color/color_4EABFD" | |
| 31 | + android:textSize="14sp" /> | |
| 32 | + </LinearLayout> | |
| 33 | +</layout> | |
| 0 | 34 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_data_type_add_circle.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layout> | |
| 3 | + | |
| 4 | + <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | + android:layout_width="match_parent" | |
| 6 | + android:layout_height="wrap_content" | |
| 7 | + android:background="@color/white" | |
| 8 | + android:paddingBottom="10dp" | |
| 9 | + android:paddingTop="10dp"> | |
| 10 | + | |
| 11 | + <RelativeLayout | |
| 12 | + android:layout_width="match_parent" | |
| 13 | + android:layout_height="wrap_content"> | |
| 14 | + | |
| 15 | + <TextView | |
| 16 | + android:id="@+id/tv_add_circle_tip" | |
| 17 | + android:layout_width="wrap_content" | |
| 18 | + android:layout_height="wrap_content" | |
| 19 | + android:layout_centerHorizontal="true" | |
| 20 | + android:layout_centerVertical="true" | |
| 21 | + android:layout_marginRight="10dp" | |
| 22 | + android:layout_toLeftOf="@id/btn_addChildCircle" | |
| 23 | + android:text="如您有多个圈子,可点击添加" | |
| 24 | + android:textColor="@color/color_999999" | |
| 25 | + android:textSize="11sp" /> | |
| 26 | + | |
| 27 | + <Button | |
| 28 | + android:id="@+id/btn_addChildCircle" | |
| 29 | + android:layout_width="89dp" | |
| 30 | + android:layout_height="28dp" | |
| 31 | + android:layout_alignParentRight="true" | |
| 32 | + android:layout_centerVertical="true" | |
| 33 | + android:layout_marginRight="10dp" | |
| 34 | + android:background="@drawable/shape_verficat_btn_10_round_blue_bg" | |
| 35 | + android:drawableLeft="@drawable/icon_verficat_blue_add" | |
| 36 | + android:gravity="center" | |
| 37 | + android:paddingLeft="10dp" | |
| 38 | + android:text="添加圈子" | |
| 39 | + android:textColor="@color/color_4EABFD" | |
| 40 | + android:textSize="14sp" /> | |
| 41 | + </RelativeLayout> | |
| 42 | + </RelativeLayout> | |
| 43 | +</layout> | |
| 0 | 44 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_data_type_add_organization.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<layout> | |
| 3 | + | |
| 4 | + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | + android:layout_width="match_parent" | |
| 6 | + android:layout_height="wrap_content" | |
| 7 | + android:orientation="vertical"> | |
| 8 | + | |
| 9 | + <View | |
| 10 | + android:layout_width="match_parent" | |
| 11 | + android:layout_height="10dp" | |
| 12 | + android:background="@color/coloe_F7F7F7" /> | |
| 13 | + <!--添加机构--> | |
| 14 | + <LinearLayout | |
| 15 | + android:layout_width="match_parent" | |
| 16 | + android:layout_height="wrap_content" | |
| 17 | + android:background="@color/white" | |
| 18 | + android:gravity="center_vertical|right" | |
| 19 | + android:paddingTop="10dp" | |
| 20 | + android:paddingBottom="10dp"> | |
| 21 | + | |
| 22 | + <TextView | |
| 23 | + android:id="@+id/tv_add_account_tip" | |
| 24 | + android:layout_width="wrap_content" | |
| 25 | + android:layout_height="wrap_content" | |
| 26 | + android:layout_marginRight="10dp" | |
| 27 | + android:text="如您有多个机构,可点击添加" | |
| 28 | + android:textColor="@color/color_999999" | |
| 29 | + android:textSize="11sp" /> | |
| 30 | + | |
| 31 | + <Button | |
| 32 | + android:id="@+id/btn_addOrganization" | |
| 33 | + android:layout_width="103dp" | |
| 34 | + android:layout_height="28dp" | |
| 35 | + android:layout_marginRight="10dp" | |
| 36 | + android:background="@drawable/shape_verficat_btn_10_round_solid_blue_bg" | |
| 37 | + android:drawableLeft="@drawable/icon_verficat_blue_add" | |
| 38 | + android:paddingLeft="10dp" | |
| 39 | + android:text="添加机构" | |
| 40 | + android:textColor="@color/white" | |
| 41 | + android:textSize="14sp" /> | |
| 42 | + </LinearLayout> | |
| 43 | + <!-- --> | |
| 44 | + </LinearLayout> | |
| 45 | +</layout> | |
| 0 | 46 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_date_include_account_child.xml renamed to core/dentity_verfication/src/main/res/layout/item_company_data_type_child_account.xml
| ... | ... | @@ -5,7 +5,9 @@ |
| 5 | 5 | android:id="@+id/ll_root" |
| 6 | 6 | android:layout_width="match_parent" |
| 7 | 7 | android:layout_height="wrap_content" |
| 8 | - android:orientation="vertical"> | |
| 8 | + android:background="@color/white" | |
| 9 | + android:orientation="vertical" | |
| 10 | + android:paddingTop="10dp"> | |
| 9 | 11 | |
| 10 | 12 | <LinearLayout |
| 11 | 13 | android:layout_width="match_parent" |
| ... | ... | @@ -28,16 +30,29 @@ |
| 28 | 30 | android:orientation="horizontal"> |
| 29 | 31 | |
| 30 | 32 | <TextView |
| 31 | - android:layout_width="wrap_content" | |
| 33 | + android:layout_width="@dimen/dimen_select_company_data_tv_title_width" | |
| 32 | 34 | android:layout_height="wrap_content" |
| 33 | - android:text="相关账号(子账号)" /> | |
| 35 | + android:layout_marginRight="@dimen/dimen_select_company_data_title_margin_right" | |
| 36 | + android:paddingLeft="@dimen/dimen_select_company_data_tv_title_no_icon_padding_left" | |
| 37 | + android:text="相关账号(子账号)" | |
| 38 | + android:textColor="@color/color_333333" | |
| 39 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 34 | 40 | |
| 35 | - <EditText | |
| 41 | + <TextView | |
| 36 | 42 | android:layout_width="match_parent" |
| 37 | 43 | android:layout_height="wrap_content" |
| 44 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 45 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 46 | + android:gravity="center_vertical" | |
| 38 | 47 | android:hint="请选择机构子账号" |
| 39 | - android:textSize="15sp" /> | |
| 40 | - | |
| 48 | + android:minHeight="@dimen/dimen_select_company_data_et_miniHeight" | |
| 49 | + android:paddingLeft="@dimen/dimen_select_company_data_et_padding_left" | |
| 50 | + android:paddingTop="@dimen/dimen_select_company_data_et_padding_top" | |
| 51 | + android:paddingRight="@dimen/dimen_select_company_data_et_padding_right" | |
| 52 | + android:paddingBottom="@dimen/dimen_select_company_data_et_padding_bottom" | |
| 53 | + android:textColor="@color/color_333333" | |
| 54 | + android:textColorHint="@color/color_B9B9B9" | |
| 55 | + android:textSize="12sp" /> | |
| 41 | 56 | </LinearLayout> |
| 42 | 57 | |
| 43 | 58 | <!-- --> |
| ... | ... | @@ -45,32 +60,53 @@ |
| 45 | 60 | android:layout_width="match_parent" |
| 46 | 61 | android:layout_height="wrap_content" |
| 47 | 62 | android:layout_marginLeft="10dp" |
| 63 | + android:layout_marginTop="10dp" | |
| 48 | 64 | android:layout_marginRight="10dp" |
| 49 | 65 | android:gravity="center_vertical" |
| 50 | 66 | android:minHeight="40dp" |
| 51 | 67 | android:orientation="horizontal"> |
| 52 | 68 | |
| 53 | 69 | <TextView |
| 54 | - android:layout_width="wrap_content" | |
| 70 | + android:layout_width="@dimen/dimen_select_company_data_tv_title_width" | |
| 55 | 71 | android:layout_height="wrap_content" |
| 56 | - android:text="相关群组(子群组)" /> | |
| 72 | + android:layout_marginRight="@dimen/dimen_select_company_data_title_margin_right" | |
| 73 | + android:paddingLeft="@dimen/dimen_select_company_data_tv_title_no_icon_padding_left" | |
| 74 | + android:text="相关群组(子群组)" | |
| 75 | + android:textColor="@color/color_333333" | |
| 76 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 77 | + | |
| 57 | 78 | |
| 58 | - <EditText | |
| 79 | + <TextView | |
| 59 | 80 | android:layout_width="match_parent" |
| 60 | 81 | android:layout_height="wrap_content" |
| 82 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 83 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 84 | + android:gravity="center_vertical" | |
| 61 | 85 | android:hint="请选择子账号群组" |
| 62 | - android:textSize="15sp" /> | |
| 63 | - | |
| 86 | + android:minHeight="@dimen/dimen_select_company_data_et_miniHeight" | |
| 87 | + android:paddingLeft="@dimen/dimen_select_company_data_et_padding_left" | |
| 88 | + android:paddingTop="@dimen/dimen_select_company_data_et_padding_top" | |
| 89 | + android:paddingRight="@dimen/dimen_select_company_data_et_padding_right" | |
| 90 | + android:paddingBottom="@dimen/dimen_select_company_data_et_padding_bottom" | |
| 91 | + android:textColor="@color/color_333333" | |
| 92 | + android:textColorHint="@color/color_B9B9B9" | |
| 93 | + android:textSize="12sp" /> | |
| 64 | 94 | </LinearLayout> |
| 65 | 95 | </LinearLayout> |
| 66 | 96 | <!-- 删除--> |
| 67 | - <TextView | |
| 68 | - android:id="@+id/tv_delete" | |
| 97 | + <LinearLayout | |
| 98 | + android:id="@+id/ll_child_account_delete" | |
| 69 | 99 | android:layout_width="wrap_content" |
| 70 | - android:layout_height="wrap_content" | |
| 71 | - android:layout_margin="10dp" | |
| 72 | - android:text="删除" | |
| 73 | - android:visibility="gone" /> | |
| 100 | + android:layout_height="match_parent" | |
| 101 | + android:gravity="center"> | |
| 102 | + | |
| 103 | + <ImageView | |
| 104 | + android:layout_width="20dp" | |
| 105 | + android:layout_height="20dp" | |
| 106 | + android:layout_marginLeft="10dp" | |
| 107 | + android:layout_marginRight="20dp" | |
| 108 | + android:background="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 109 | + </LinearLayout> | |
| 74 | 110 | </LinearLayout> |
| 75 | 111 | |
| 76 | 112 | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_date_include_circle_child.xml renamed to core/dentity_verfication/src/main/res/layout/item_company_data_type_circle_child.xml
| ... | ... | @@ -5,51 +5,113 @@ |
| 5 | 5 | android:id="@+id/ll_root" |
| 6 | 6 | android:layout_width="match_parent" |
| 7 | 7 | android:layout_height="wrap_content" |
| 8 | - android:orientation="vertical"> | |
| 8 | + android:background="@color/white" | |
| 9 | + android:orientation="vertical" | |
| 10 | + android:paddingTop="10dp"> | |
| 9 | 11 | |
| 10 | 12 | <LinearLayout |
| 11 | 13 | android:layout_width="match_parent" |
| 12 | 14 | android:layout_height="wrap_content" |
| 13 | - android:layout_marginLeft="10dp" | |
| 14 | - android:layout_marginRight="10dp" | |
| 15 | - android:gravity="center_vertical" | |
| 16 | - android:minHeight="40dp" | |
| 15 | + android:gravity="center" | |
| 17 | 16 | android:orientation="horizontal"> |
| 18 | 17 | |
| 19 | - <TextView | |
| 20 | - android:layout_width="wrap_content" | |
| 18 | + <LinearLayout | |
| 19 | + android:layout_width="0dp" | |
| 21 | 20 | android:layout_height="wrap_content" |
| 22 | - android:text="您的圈子(子账号)" /> | |
| 21 | + android:layout_weight="1" | |
| 22 | + android:orientation="vertical"> | |
| 23 | 23 | |
| 24 | - <EditText | |
| 25 | - android:layout_width="match_parent" | |
| 26 | - android:layout_height="wrap_content" | |
| 27 | - android:hint="请选择您的圈子" | |
| 28 | - android:textSize="15sp" /> | |
| 24 | + <LinearLayout | |
| 25 | + android:layout_width="match_parent" | |
| 26 | + android:layout_height="wrap_content" | |
| 27 | + android:layout_marginLeft="10dp" | |
| 28 | + android:layout_marginRight="10dp" | |
| 29 | + android:gravity="center_vertical" | |
| 30 | + android:minHeight="40dp" | |
| 31 | + android:orientation="horizontal"> | |
| 29 | 32 | |
| 30 | - </LinearLayout> | |
| 33 | + <TextView | |
| 34 | + android:layout_width="@dimen/dimen_select_company_data_tv_title_width" | |
| 35 | + android:layout_height="wrap_content" | |
| 36 | + android:layout_marginRight="@dimen/dimen_select_company_data_title_margin_right" | |
| 37 | + android:paddingLeft="@dimen/dimen_select_company_data_tv_title_no_icon_padding_left" | |
| 38 | + android:text="您的圈子(子账号)" | |
| 39 | + android:textColor="@color/color_333333" | |
| 40 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 31 | 41 | |
| 32 | - <!-- --> | |
| 33 | - <LinearLayout | |
| 34 | - android:layout_width="match_parent" | |
| 35 | - android:layout_height="wrap_content" | |
| 36 | - android:layout_marginLeft="10dp" | |
| 37 | - android:layout_marginRight="10dp" | |
| 38 | - android:gravity="center_vertical" | |
| 39 | - android:minHeight="40dp" | |
| 40 | - android:orientation="horizontal"> | |
| 41 | 42 | |
| 42 | - <TextView | |
| 43 | - android:layout_width="wrap_content" | |
| 44 | - android:layout_height="wrap_content" | |
| 45 | - android:text="圈子群组(子群组)" /> | |
| 43 | + <TextView | |
| 44 | + android:layout_width="match_parent" | |
| 45 | + android:layout_height="wrap_content" | |
| 46 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 47 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 48 | + android:gravity="center_vertical" | |
| 49 | + android:hint="请选择您的圈子" | |
| 50 | + android:minHeight="@dimen/dimen_select_company_data_et_miniHeight" | |
| 51 | + android:paddingLeft="@dimen/dimen_select_company_data_et_padding_left" | |
| 52 | + android:paddingTop="@dimen/dimen_select_company_data_et_padding_top" | |
| 53 | + android:paddingRight="@dimen/dimen_select_company_data_et_padding_right" | |
| 54 | + android:paddingBottom="@dimen/dimen_select_company_data_et_padding_bottom" | |
| 55 | + android:textColor="@color/color_333333" | |
| 56 | + android:textColorHint="@color/color_B9B9B9" | |
| 57 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 46 | 58 | |
| 47 | - <EditText | |
| 48 | - android:layout_width="match_parent" | |
| 49 | - android:layout_height="wrap_content" | |
| 50 | - android:hint="请选择圈子群组" | |
| 51 | - android:textSize="15sp" /> | |
| 59 | + </LinearLayout> | |
| 60 | + | |
| 61 | + <!-- --> | |
| 62 | + <LinearLayout | |
| 63 | + android:layout_width="match_parent" | |
| 64 | + android:layout_height="wrap_content" | |
| 65 | + android:layout_marginLeft="10dp" | |
| 66 | + android:layout_marginTop="10dp" | |
| 67 | + android:layout_marginRight="10dp" | |
| 68 | + android:gravity="center_vertical" | |
| 69 | + android:minHeight="40dp" | |
| 70 | + android:orientation="horizontal"> | |
| 71 | + | |
| 72 | + <TextView | |
| 73 | + android:layout_width="@dimen/dimen_select_company_data_tv_title_width" | |
| 74 | + android:layout_height="wrap_content" | |
| 75 | + android:layout_marginRight="@dimen/dimen_select_company_data_title_margin_right" | |
| 76 | + android:paddingLeft="@dimen/dimen_select_company_data_tv_title_no_icon_padding_left" | |
| 77 | + android:text="圈子群组(子群组)" | |
| 78 | + android:textColor="@color/color_333333" | |
| 79 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 80 | + | |
| 81 | + | |
| 82 | + <TextView | |
| 83 | + android:layout_width="match_parent" | |
| 84 | + android:layout_height="wrap_content" | |
| 85 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 86 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 87 | + android:gravity="center_vertical" | |
| 88 | + android:hint="请选择圈子群组" | |
| 89 | + android:minHeight="@dimen/dimen_select_company_data_et_miniHeight" | |
| 90 | + android:paddingLeft="@dimen/dimen_select_company_data_et_padding_left" | |
| 91 | + android:paddingTop="@dimen/dimen_select_company_data_et_padding_top" | |
| 92 | + android:paddingRight="@dimen/dimen_select_company_data_et_padding_right" | |
| 93 | + android:paddingBottom="@dimen/dimen_select_company_data_et_padding_bottom" | |
| 94 | + android:textColor="@color/color_333333" | |
| 95 | + android:textColorHint="@color/color_B9B9B9" | |
| 96 | + android:textSize="12sp" /> | |
| 97 | + </LinearLayout> | |
| 98 | + <!-- --> | |
| 99 | + </LinearLayout> | |
| 100 | + <!-- 删除--> | |
| 101 | + <LinearLayout | |
| 102 | + android:id="@+id/ll_circle_delete" | |
| 103 | + android:layout_width="wrap_content" | |
| 104 | + android:layout_height="match_parent" | |
| 105 | + android:gravity="center"> | |
| 52 | 106 | |
| 107 | + <ImageView | |
| 108 | + android:layout_width="20dp" | |
| 109 | + android:layout_height="20dp" | |
| 110 | + android:layout_marginLeft="10dp" | |
| 111 | + android:layout_marginRight="20dp" | |
| 112 | + android:background="@drawable/icon_verficat_fill_company_data_delete" /> | |
| 113 | + </LinearLayout> | |
| 114 | + <!-- --> | |
| 53 | 115 | </LinearLayout> |
| 54 | 116 | |
| 55 | 117 | <View | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_data_type_organization.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?><!--所属机构--> | |
| 2 | +<layout> | |
| 3 | + | |
| 4 | + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 5 | + android:layout_width="match_parent" | |
| 6 | + android:layout_height="wrap_content" | |
| 7 | + android:background="@color/white" | |
| 8 | + android:gravity="center_vertical" | |
| 9 | + android:orientation="vertical"> | |
| 10 | + | |
| 11 | + <View | |
| 12 | + android:id="@+id/ll_top_Line" | |
| 13 | + android:layout_width="match_parent" | |
| 14 | + android:layout_height="10dp" | |
| 15 | + android:background="@color/coloe_F7F7F7" /> | |
| 16 | + | |
| 17 | + <TextView | |
| 18 | + android:layout_width="wrap_content" | |
| 19 | + android:layout_height="wrap_content" | |
| 20 | + android:layout_marginTop="10dp" | |
| 21 | + android:text="选择您在网家家平台上的所属机构" | |
| 22 | + android:textColor="@color/color_333333" | |
| 23 | + android:textSize="14sp" | |
| 24 | + android:textStyle="bold" /> | |
| 25 | + | |
| 26 | + <LinearLayout | |
| 27 | + android:layout_width="match_parent" | |
| 28 | + android:layout_height="wrap_content" | |
| 29 | + android:layout_marginTop="10dp" | |
| 30 | + android:layout_marginBottom="10dp" | |
| 31 | + android:paddingLeft="10dp" | |
| 32 | + android:paddingRight="10dp"> | |
| 33 | + | |
| 34 | + <TextView | |
| 35 | + android:layout_width="@dimen/dimen_select_company_data_tv_title_width" | |
| 36 | + android:layout_height="wrap_content" | |
| 37 | + android:layout_marginRight="@dimen/dimen_select_company_data_title_margin_right" | |
| 38 | + android:drawableLeft="@drawable/icon_verficat_must" | |
| 39 | + android:drawablePadding="@dimen/dimen_select_company_data_tv_title_has_icon_padding_left" | |
| 40 | + android:text="所属机构(主账号)" | |
| 41 | + android:textColor="@color/color_333333" | |
| 42 | + android:textSize="@dimen/dimen_select_company_data_tv_textSize" /> | |
| 43 | + | |
| 44 | + | |
| 45 | + <TextView | |
| 46 | + android:layout_width="match_parent" | |
| 47 | + android:layout_height="wrap_content" | |
| 48 | + android:background="@drawable/shape_verficat_et_5_round_black_bg" | |
| 49 | + android:drawableRight="@drawable/icon_verficat_select_arrow" | |
| 50 | + android:gravity="center_vertical" | |
| 51 | + android:hint="请选择属于您的机构" | |
| 52 | + android:minHeight="@dimen/dimen_select_company_data_et_miniHeight" | |
| 53 | + android:paddingLeft="@dimen/dimen_select_company_data_et_padding_left" | |
| 54 | + android:paddingTop="@dimen/dimen_select_company_data_et_padding_top" | |
| 55 | + android:paddingRight="@dimen/dimen_select_company_data_et_padding_right" | |
| 56 | + android:paddingBottom="@dimen/dimen_select_company_data_et_padding_bottom" | |
| 57 | + android:textColor="@color/color_333333" | |
| 58 | + android:textColorHint="@color/color_B9B9B9" | |
| 59 | + android:textSize="12sp" /> | |
| 60 | + </LinearLayout> | |
| 61 | + | |
| 62 | + <View | |
| 63 | + android:layout_width="match_parent" | |
| 64 | + android:layout_height="1dp" | |
| 65 | + android:background="@color/my_dialog_line" /> | |
| 66 | + | |
| 67 | + </LinearLayout> | |
| 68 | +</layout> | |
| 0 | 69 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/layout/item_company_date.xml
| ... | ... | @@ -5,86 +5,28 @@ |
| 5 | 5 | android:id="@+id/ll_root" |
| 6 | 6 | android:layout_width="match_parent" |
| 7 | 7 | android:layout_height="wrap_content" |
| 8 | + android:background="@color/white" | |
| 8 | 9 | android:orientation="vertical"> |
| 9 | 10 | |
| 10 | - <LinearLayout | |
| 11 | - android:layout_width="match_parent" | |
| 12 | - android:layout_height="wrap_content" | |
| 13 | - android:layout_marginLeft="10dp" | |
| 14 | - android:layout_marginRight="10dp" | |
| 15 | - android:gravity="center_vertical" | |
| 16 | - android:minHeight="40dp" | |
| 17 | - android:orientation="horizontal"> | |
| 18 | - | |
| 19 | - <TextView | |
| 20 | - android:layout_width="wrap_content" | |
| 21 | - android:layout_height="wrap_content" | |
| 22 | - android:text="所属机构(主账号)" /> | |
| 23 | - | |
| 24 | - <EditText | |
| 25 | - android:layout_width="match_parent" | |
| 26 | - android:layout_height="wrap_content" | |
| 27 | - android:hint="请选择属于您的机构" /> | |
| 28 | - | |
| 29 | - </LinearLayout> | |
| 30 | - | |
| 31 | - <View | |
| 32 | - android:layout_width="match_parent" | |
| 33 | - android:layout_height="1dp" | |
| 34 | - android:layout_margin="10dp" | |
| 35 | - android:background="@color/my_dialog_line" /> | |
| 11 | + <include | |
| 12 | + android:id="@+id/include_organization" | |
| 13 | + layout="@layout/item_company_data_type_organization" /> | |
| 36 | 14 | |
| 37 | 15 | <include |
| 38 | 16 | android:id="@+id/include_circle_child" |
| 39 | - layout="@layout/item_company_date_include_circle_child" /> | |
| 40 | - | |
| 41 | - <RelativeLayout | |
| 42 | - android:layout_width="match_parent" | |
| 43 | - android:layout_height="wrap_content"> | |
| 17 | + layout="@layout/item_company_data_type_circle_child" /> | |
| 44 | 18 | |
| 45 | - <TextView | |
| 46 | - android:id="@+id/tv_add_circle_tip" | |
| 47 | - android:layout_width="wrap_content" | |
| 48 | - android:layout_height="wrap_content" | |
| 49 | - android:layout_centerHorizontal="true" | |
| 50 | - android:layout_centerVertical="true" | |
| 51 | - android:layout_marginRight="10dp" | |
| 52 | - android:text="如您有多个圈子,可点击添加" /> | |
| 53 | - | |
| 54 | - <Button | |
| 55 | - android:id="@+id/btn_addChildCircle" | |
| 56 | - android:layout_width="wrap_content" | |
| 57 | - android:layout_height="wrap_content" | |
| 58 | - android:layout_centerVertical="true" | |
| 59 | - android:layout_toRightOf="@id/tv_add_circle_tip" | |
| 60 | - android:text="添加圈子" /> | |
| 61 | - </RelativeLayout> | |
| 19 | + <include | |
| 20 | + android:id="@+id/include_add_circle" | |
| 21 | + layout="@layout/item_company_data_type_add_circle" /> | |
| 62 | 22 | |
| 63 | 23 | <include |
| 64 | 24 | android:id="@+id/include_account_child" |
| 65 | - layout="@layout/item_company_date_include_account_child" /> | |
| 66 | - | |
| 25 | + layout="@layout/item_company_data_type_child_account" /> | |
| 67 | 26 | |
| 68 | - <RelativeLayout | |
| 69 | - android:layout_width="match_parent" | |
| 70 | - android:layout_height="wrap_content"> | |
| 71 | - | |
| 72 | - <TextView | |
| 73 | - android:id="@+id/tv_add_account_tip" | |
| 74 | - android:layout_width="wrap_content" | |
| 75 | - android:layout_height="wrap_content" | |
| 76 | - android:layout_centerHorizontal="true" | |
| 77 | - android:layout_centerVertical="true" | |
| 78 | - android:layout_marginRight="10dp" | |
| 79 | - android:text="如您有多个圈子,可点击添加" /> | |
| 27 | + <include | |
| 28 | + android:id="@+id/include_add_child_account" | |
| 29 | + layout="@layout/item_company_data_type_add_child_account" /> | |
| 80 | 30 | |
| 81 | - <Button | |
| 82 | - android:id="@+id/btn_addChildAccount" | |
| 83 | - android:layout_width="wrap_content" | |
| 84 | - android:layout_height="wrap_content" | |
| 85 | - android:layout_centerVertical="true" | |
| 86 | - android:layout_toRightOf="@id/tv_add_account_tip" | |
| 87 | - android:text="添加子账号" /> | |
| 88 | - </RelativeLayout> | |
| 89 | 31 | </LinearLayout> |
| 90 | 32 | </layout> |
| 91 | 33 | \ No newline at end of file | ... | ... |
core/dentity_verfication/src/main/res/values/color.xml
core/dentity_verfication/src/main/res/values/dimens.xml
| ... | ... | @@ -20,4 +20,20 @@ |
| 20 | 20 | <!-- 编辑框最小高度--> |
| 21 | 21 | <dimen name="dimen_fill_company_data_et_miniHeight">35dp</dimen> |
| 22 | 22 | |
| 23 | +<!-- **************************************绑定机构信息列表***************************************--> | |
| 24 | + <dimen name="dimen_select_company_data_title_margin_right">10dp</dimen> | |
| 25 | + <dimen name="dimen_select_company_data_tv_title_width">120dp</dimen> | |
| 26 | + <dimen name="dimen_select_company_data_tv_textSize">12sp</dimen> | |
| 27 | + | |
| 28 | + <!-- 有必填图标--> | |
| 29 | + <dimen name="dimen_select_company_data_tv_title_has_icon_padding_left">0dp</dimen> | |
| 30 | + <!-- 没有必填图标--> | |
| 31 | + <dimen name="dimen_select_company_data_tv_title_no_icon_padding_left">6dp</dimen> | |
| 32 | + <!--编辑框上边距--> | |
| 33 | + <dimen name="dimen_select_company_data_et_padding_top">5dp</dimen> | |
| 34 | + <dimen name="dimen_select_company_data_et_padding_bottom">5dp</dimen> | |
| 35 | + <dimen name="dimen_select_company_data_et_padding_left">5dp</dimen> | |
| 36 | + <dimen name="dimen_select_company_data_et_padding_right">5dp</dimen> | |
| 37 | + <!-- 编辑框最小高度--> | |
| 38 | + <dimen name="dimen_select_company_data_et_miniHeight">35dp</dimen> | |
| 23 | 39 | </resources> |
| 24 | 40 | \ No newline at end of file | ... | ... |
module/pedometer/src/main/java/com/cnlive/moudle/pedometer/sql/dao/CalorieEntityDao.java
| ... | ... | @@ -3,13 +3,13 @@ package com.cnlive.moudle.pedometer.sql.dao; |
| 3 | 3 | import android.database.Cursor; |
| 4 | 4 | import android.database.sqlite.SQLiteStatement; |
| 5 | 5 | |
| 6 | -import com.cnlive.moudle.pedometer.sql.entity.CalorieEntity; | |
| 7 | - | |
| 8 | 6 | import org.greenrobot.greendao.AbstractDao; |
| 9 | 7 | import org.greenrobot.greendao.Property; |
| 8 | +import org.greenrobot.greendao.internal.DaoConfig; | |
| 10 | 9 | import org.greenrobot.greendao.database.Database; |
| 11 | 10 | import org.greenrobot.greendao.database.DatabaseStatement; |
| 12 | -import org.greenrobot.greendao.internal.DaoConfig; | |
| 11 | + | |
| 12 | +import com.cnlive.moudle.pedometer.sql.entity.CalorieEntity; | |
| 13 | 13 | |
| 14 | 14 | // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. |
| 15 | 15 | /** | ... | ... |