常见问题
This commit is contained in:
parent
f42435dd60
commit
613c04b0a6
@ -295,6 +295,16 @@
|
||||
android:configChanges="keyboardHidden|orientation|locale"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="adjustPan|stateHidden" />
|
||||
<activity
|
||||
android:name=".ui.mine.activity.ComProActivity"
|
||||
android:configChanges="keyboardHidden|orientation|locale"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="adjustPan|stateHidden" />
|
||||
<activity
|
||||
android:name=".ui.mine.activity.ComProDetailActivity"
|
||||
android:configChanges="keyboardHidden|orientation|locale"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="adjustPan|stateHidden" />
|
||||
<activity
|
||||
android:name=".ui.account.authperson.AuthPartyActivity"
|
||||
android:configChanges="keyboardHidden|orientation|locale"
|
||||
|
31
app/src/main/java/com/dahe/gldriver/adapter/ComProAdatper.kt
Normal file
31
app/src/main/java/com/dahe/gldriver/adapter/ComProAdatper.kt
Normal file
@ -0,0 +1,31 @@
|
||||
package com.dahe.gldriver.adapter
|
||||
|
||||
import android.content.Context
|
||||
import android.view.ViewGroup
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.chad.library.adapter4.viewholder.QuickViewHolder
|
||||
import com.dahe.gldriver.R
|
||||
import com.dahe.gldriver.bean.CarBean
|
||||
import com.dahe.gldriver.bean.ProBean
|
||||
|
||||
/**
|
||||
* @ClassName ComProAdatper
|
||||
* @Author john
|
||||
* @Date 2024/3/25 17:04
|
||||
* @Description TODO
|
||||
*/
|
||||
class ComProAdatper : BaseQuickAdapter<ProBean, QuickViewHolder>() {
|
||||
override fun onBindViewHolder(holder: QuickViewHolder, position: Int, item: ProBean?) {
|
||||
holder.run {
|
||||
setText(R.id.tvProTitle, item?.problemName)
|
||||
setText(R.id.tvContent, item?.problemDesc)
|
||||
setText(R.id.tvNum, """${position + 1}""")
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCreateViewHolder(
|
||||
context: Context,
|
||||
parent: ViewGroup,
|
||||
viewType: Int
|
||||
) = QuickViewHolder(R.layout.item_com_pro, parent)
|
||||
}
|
@ -10,6 +10,7 @@ object AppConfig {
|
||||
const val BUGLY_APP_ID = "0487c49b52"
|
||||
const val TIME = "DA_HE_TIME"
|
||||
const val ID = "DA_HE_ID"
|
||||
const val DATA = "DA_HE_DATA"
|
||||
const val PHONE = "DA_HE_PHONE"
|
||||
const val ORDER_ID = "DA_HE_ORDER_ID"
|
||||
const val CAR_ID = "DA_HE_CAR_ID"
|
||||
|
@ -142,6 +142,11 @@ class WebActivity : BaseActivity<ActivityWebBinding>() {
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
// super.onBackPressed()
|
||||
if (!mAgentWeb!!.back()) finish()
|
||||
}
|
||||
|
||||
|
||||
// internal class AndroidInterfaceWeb {
|
||||
// @JavascriptInterface
|
||||
|
@ -29,3 +29,27 @@ data class RateBean(
|
||||
val updateBy: String
|
||||
)
|
||||
|
||||
|
||||
/**
|
||||
* 常见问题bean
|
||||
* @property isRecommend String
|
||||
* @property isTop String
|
||||
* @property problemDesc String
|
||||
* @property problemId Int
|
||||
* @property problemName String
|
||||
* @property problemUrl String
|
||||
* @property sortValue String
|
||||
* @property status String
|
||||
* @constructor
|
||||
*/
|
||||
data class ProBean(
|
||||
val isRecommend: String,
|
||||
val isTop: String,
|
||||
val problemDesc: String,
|
||||
val problemId: String,
|
||||
val problemName: String,
|
||||
val problemUrl: String,
|
||||
val sortValue: String,
|
||||
val status: String,
|
||||
val contentData: String
|
||||
)
|
||||
|
@ -13,6 +13,7 @@ import com.dahe.gldriver.bean.OcrPersonBean
|
||||
import com.dahe.gldriver.bean.OrderChild
|
||||
import com.dahe.gldriver.bean.OrderDetailBean
|
||||
import com.dahe.gldriver.bean.OssBean
|
||||
import com.dahe.gldriver.bean.ProBean
|
||||
import com.dahe.gldriver.bean.RateBean
|
||||
import com.dahe.gldriver.bean.UpBankInfoBean
|
||||
import com.dahe.gldriver.bean.UpCaptain
|
||||
@ -458,6 +459,23 @@ interface Api {
|
||||
fun orderPhoto(@Query("orderId") orderId: String): Observable<CommonResponseBean<MutableList<OrderChild>>>
|
||||
|
||||
|
||||
/**
|
||||
* 常见问题列表
|
||||
* @return Observable<CommonResponseBean<MutableList<ProBean>>>
|
||||
*/
|
||||
@GET(BASE_URL + "driver/app/info/commonProblemList")
|
||||
fun commonProblemList():Observable<CommonResponseBean<MutableList<ProBean>>>
|
||||
|
||||
|
||||
/**
|
||||
* 常见问题详情
|
||||
* @param problemId String
|
||||
* @return Observable<CommonResponseBean<MutableList<ProBean>>>
|
||||
*/
|
||||
@GET(BASE_URL + "driver/app/info/commonProblemDetail")
|
||||
fun commonProblemDetail(@Query("problemId") problemId :String):Observable<CommonResponseBean<ProBean>>
|
||||
|
||||
|
||||
companion object {
|
||||
// String BASE_URL = "https://tmstest.dahehuoyun.com/";
|
||||
const val BASE_URL = BuildConfig.BASE_URL
|
||||
|
@ -85,7 +85,7 @@ abstract class RxHttpCallBack<T> {
|
||||
dialog!!.dismiss()
|
||||
}
|
||||
if (t.code == 401) {
|
||||
instance.loginOut(mContext!!)
|
||||
// instance.loginOut(mContext!!)
|
||||
// Intent intent = new Intent(mContext, LoginActivity.class);
|
||||
// intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
// mContext.startActivity(intent);
|
||||
|
@ -7,24 +7,35 @@ import com.dahe.gldriver.adapter.GridItemAdapter
|
||||
import com.dahe.gldriver.base.WebActivity
|
||||
import com.dahe.gldriver.bean.GridBean
|
||||
import com.dahe.gldriver.databinding.FragmentMineBinding
|
||||
import com.dahe.gldriver.net.BaseObserver
|
||||
import com.dahe.gldriver.net.DataManager
|
||||
import com.dahe.gldriver.net.RxHttpCallBack
|
||||
import com.dahe.gldriver.ui.account.authperson.AuthPartyActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.CarTeamActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.CarsManActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.ComProActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.DriverTeamsActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.PersonInfoActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.RateManActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.RulesActivity
|
||||
import com.dahe.gldriver.ui.mine.activity.WalletActivity
|
||||
import com.dahe.gldriver.utils.SPUtils
|
||||
import com.dahe.gldriver.utils.UserUtils
|
||||
import com.dahe.glex.bean.UserBean
|
||||
import com.dahe.mylibrary.base.BaseFragment
|
||||
import com.dahe.mylibrary.callback.RefreshCallBack
|
||||
import com.dahe.mylibrary.net.CommonResponseBean
|
||||
import com.dahe.mylibrary.utils.ActivityUtils
|
||||
import com.dahe.mylibrary.utils.BaseUtils
|
||||
import com.dahe.mylibrary.utils.ImageLoader
|
||||
import com.dahe.mylibrary.utils.PhoneFormatCheckUtils
|
||||
import com.dahe.mylibrary.utils.ToastUtils
|
||||
import com.tencent.bugly.crashreport.CrashReport
|
||||
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener {
|
||||
class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener, RefreshCallBack {
|
||||
private val tools = mutableListOf(
|
||||
GridBean("车队管理", R.drawable.car_team),
|
||||
GridBean("车辆管理", R.drawable.car_manage),
|
||||
@ -51,7 +62,7 @@ class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener {
|
||||
|
||||
|
||||
override fun onFragmentFirstVisible() {
|
||||
|
||||
setRefresh(binding.refresh, this)
|
||||
val userInfo = SPUtils.instance.getUserInfo(mContext)
|
||||
if (userInfo != null) {
|
||||
binding.run {
|
||||
@ -138,7 +149,7 @@ class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener {
|
||||
}
|
||||
|
||||
3 -> {
|
||||
ActivityUtils.startActivity(mContext,RateManActivity::class.java)
|
||||
ActivityUtils.startActivity(mContext, RateManActivity::class.java)
|
||||
}
|
||||
|
||||
}
|
||||
@ -150,11 +161,11 @@ class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener {
|
||||
private fun goPlats(pos: Int) {
|
||||
when (pos) {
|
||||
0 -> {
|
||||
ActivityUtils.startActivity(mContext, CarTeamActivity::class.java)
|
||||
ActivityUtils.startActivity(mContext, RulesActivity::class.java)
|
||||
}
|
||||
|
||||
1 -> {
|
||||
ActivityUtils.startActivity(mContext, CarsManActivity::class.java)
|
||||
ActivityUtils.startActivity(mContext, ComProActivity::class.java)
|
||||
}
|
||||
|
||||
2 -> {
|
||||
@ -187,5 +198,18 @@ class MineFragment : BaseFragment<FragmentMineBinding>(), View.OnClickListener {
|
||||
}
|
||||
}
|
||||
|
||||
override fun getRefreshDate(stat: Int, page: Int, count: Int) {
|
||||
DataManager.getInstance().getUserInfo()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(BaseObserver(mContext, object : RxHttpCallBack<UserBean>() {
|
||||
override fun onSuccess(t: CommonResponseBean<UserBean>) {
|
||||
super.onSuccess(t)
|
||||
UserUtils.instance.updateUser(mContext, t.data)
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package com.dahe.gldriver.ui.mine.activity
|
||||
|
||||
import android.graphics.Color
|
||||
import android.os.Bundle
|
||||
import android.widget.LinearLayout
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.dahe.gldriver.R
|
||||
import com.dahe.gldriver.adapter.CarsAdapter
|
||||
import com.dahe.gldriver.adapter.ComProAdatper
|
||||
import com.dahe.gldriver.base.AppConfig
|
||||
import com.dahe.gldriver.bean.ProBean
|
||||
import com.dahe.gldriver.databinding.ActivityComProBinding
|
||||
import com.dahe.gldriver.net.BaseObserver
|
||||
import com.dahe.gldriver.net.DataManager
|
||||
import com.dahe.gldriver.net.RxHttpCallBack
|
||||
import com.dahe.mylibrary.base.BaseActivity
|
||||
import com.dahe.mylibrary.net.CommonResponseBean
|
||||
import com.dahe.mylibrary.recycleviewswipe.RecycleViewDivider
|
||||
import com.dahe.mylibrary.utils.ActivityUtils
|
||||
import com.dahe.mylibrary.utils.ConvertUtils
|
||||
import com.google.gson.Gson
|
||||
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
|
||||
/**
|
||||
* @ClassName ComProActivity
|
||||
* @Author john
|
||||
* @Date 2024/3/25 16:42
|
||||
* @Description 常见问题
|
||||
*/
|
||||
class ComProActivity : BaseActivity<ActivityComProBinding>() {
|
||||
|
||||
lateinit var adapter: ComProAdatper
|
||||
override fun initView(savedInstanceState: Bundle?) {
|
||||
setStatusBarColor(R.color.white)
|
||||
setTitleBar("常见问题", true)
|
||||
binding.run {
|
||||
adapter = recycler.run {
|
||||
layoutManager = LinearLayoutManager(mContext, RecyclerView.VERTICAL, false)
|
||||
addItemDecoration(
|
||||
RecycleViewDivider(
|
||||
LinearLayout.VERTICAL,
|
||||
ConvertUtils.dp2px(10.0f),
|
||||
Color.TRANSPARENT
|
||||
)
|
||||
)
|
||||
adapter = ComProAdatper()
|
||||
adapter as ComProAdatper
|
||||
}.apply {
|
||||
setOnItemClickListener { _, _, position ->
|
||||
ActivityUtils.startActivity(
|
||||
mContext,
|
||||
ComProDetailActivity::class.java,
|
||||
Bundle().apply {
|
||||
putString(AppConfig.DATA, Gson().toJson(items[position]))
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun initDate() {
|
||||
DataManager.getInstance().commonProblemList()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(BaseObserver(mContext, object : RxHttpCallBack<MutableList<ProBean>>() {
|
||||
override fun onSuccess(t: CommonResponseBean<MutableList<ProBean>>) {
|
||||
super.onSuccess(t)
|
||||
adapter.submitList(t.data)
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package com.dahe.gldriver.ui.mine.activity
|
||||
|
||||
import android.os.Bundle
|
||||
import android.text.Html
|
||||
import com.dahe.gldriver.R
|
||||
import com.dahe.gldriver.base.AppConfig.DATA
|
||||
import com.dahe.gldriver.bean.ProBean
|
||||
import com.dahe.gldriver.databinding.ActivityComProDetailBinding
|
||||
import com.dahe.gldriver.net.BaseObserver
|
||||
import com.dahe.gldriver.net.DataManager
|
||||
import com.dahe.gldriver.net.RxHttpCallBack
|
||||
import com.dahe.mylibrary.base.BaseActivity
|
||||
import com.dahe.mylibrary.net.CommonResponseBean
|
||||
import com.google.gson.Gson
|
||||
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
|
||||
/**
|
||||
* @ClassName ComProActivity
|
||||
* @Author john
|
||||
* @Date 2024/3/25 16:42
|
||||
* @Description 问题详情
|
||||
*/
|
||||
class ComProDetailActivity : BaseActivity<ActivityComProDetailBinding>() {
|
||||
|
||||
override fun initView(savedInstanceState: Bundle?) {
|
||||
setStatusBarColor(R.color.white)
|
||||
setTitleBar("常见问题", true)
|
||||
}
|
||||
|
||||
override fun initDate() {
|
||||
var proBean = Gson().fromJson<ProBean>(intent.extras?.getString(DATA), ProBean::class.java)
|
||||
|
||||
binding.run {
|
||||
tvTitle.text = proBean.problemName
|
||||
}
|
||||
|
||||
DataManager.getInstance().commonProblemDetail(proBean.problemId)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(BaseObserver(mContext, object : RxHttpCallBack<ProBean>() {
|
||||
override fun onSuccess(t: CommonResponseBean<ProBean>) {
|
||||
super.onSuccess(t)
|
||||
binding.run {
|
||||
tvContent.text = Html.fromHtml(t.data.contentData)
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
@ -37,7 +37,7 @@ import net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.ColorT
|
||||
* @ClassName RateManActivity
|
||||
* @Author john
|
||||
* @Date 2024/3/18 08:51
|
||||
* @Description TODO
|
||||
* @Description 评价管理
|
||||
*/
|
||||
class RateManActivity : BaseActivity<ActivityRateManBinding>() {
|
||||
|
||||
|
@ -2,8 +2,10 @@ package com.dahe.gldriver.ui.mine.activity
|
||||
|
||||
import android.os.Bundle
|
||||
import com.dahe.gldriver.R
|
||||
import com.dahe.gldriver.base.WebActivity
|
||||
import com.dahe.gldriver.databinding.ActivityRulesBinding
|
||||
import com.dahe.mylibrary.base.BaseActivity
|
||||
import com.dahe.mylibrary.utils.ActivityUtils
|
||||
|
||||
/**
|
||||
* @ClassName RulesActivity
|
||||
@ -15,6 +17,24 @@ class RulesActivity : BaseActivity<ActivityRulesBinding>() {
|
||||
override fun initView(savedInstanceState: Bundle?) {
|
||||
setStatusBarColor(R.color.white)
|
||||
setTitleBar("平台规则",true)
|
||||
binding.run {
|
||||
rlOne.setOnClickListener {
|
||||
ActivityUtils.startActivity(mContext,WebActivity::class.java,Bundle().apply {
|
||||
putString("url","www.baidu.com")
|
||||
putString("title","百度")
|
||||
})
|
||||
}
|
||||
rlTwo.setOnClickListener {
|
||||
ActivityUtils.startActivity(mContext,WebActivity::class.java,Bundle().apply {
|
||||
putString("url","www.baidu.com")
|
||||
})
|
||||
}
|
||||
rlThree.setOnClickListener {
|
||||
ActivityUtils.startActivity(mContext,WebActivity::class.java,Bundle().apply {
|
||||
putString("url","www.baidu.com")
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun initDate() {
|
||||
|
@ -51,6 +51,17 @@ class UserUtils private constructor(){
|
||||
)
|
||||
}
|
||||
ActivityUtils.finishToActivity(LoginActivity::class.java,true)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新当前用户
|
||||
* @param context Context
|
||||
* @param userBean UserBean
|
||||
*/
|
||||
fun updateUser(context: Context,userBean: UserBean){
|
||||
SPUtils.instance.setUserInfo(context, Gson().toJson(userBean))
|
||||
//设置推送别名
|
||||
PushHelper.setAlias(context,userBean)
|
||||
}
|
||||
}
|
BIN
app/src/main/res/drawable-xxhdpi/bg_com_pro.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/bg_com_pro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 279 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon_pro.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/icon_pro.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
47
app/src/main/res/layout/activity_com_pro.xml
Normal file
47
app/src/main/res/layout/activity_com_pro.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_F5"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/common_toolbar"></include>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_170"
|
||||
android:background="@drawable/bg_com_pro" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
android:id="@+id/llBtn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_70"
|
||||
android:background="@color/white"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnOk"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_btn"
|
||||
android:text="联系人工客服"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_17">
|
||||
|
||||
</Button>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
46
app/src/main/res/layout/activity_com_pro_detail.xml
Normal file
46
app/src/main/res/layout/activity_com_pro_detail.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_F5"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/common_toolbar"></include>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_21"
|
||||
android:layout_height="@dimen/dp_21"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:background="@drawable/icon_pro" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="怎么进行实名认证?"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:padding="@dimen/dp_12"
|
||||
android:background="@color/white" />
|
||||
|
||||
|
||||
</LinearLayout>
|
@ -14,6 +14,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlOne"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
@ -52,6 +53,7 @@
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlTwo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
@ -90,6 +92,7 @@
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlThree"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
android:paddingLeft="@dimen/dp_15"
|
||||
|
@ -154,7 +154,7 @@
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:text="急啊卡省的JFK垃圾上单克里夫喀什酱豆腐卡拉就圣诞快乐房价爱上了夫卡是考虑到房价爱上了">
|
||||
android:text="好运平台V2.0已成功上线啦!">
|
||||
|
||||
</TextView>
|
||||
|
||||
|
@ -1,298 +1,305 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
app:srlEnableLoadMore="false">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:fillViewport="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
android:id="@+id/headContent"
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_210"
|
||||
android:background="@drawable/mine_bg"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="@dimen/dp_60">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivHead"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
|
||||
android:layout_marginLeft="20dp"
|
||||
android:src="@drawable/head_defaut" />
|
||||
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llPerson"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
android:id="@+id/headContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_210"
|
||||
android:background="@drawable/mine_bg"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="@dimen/dp_60">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivHead"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
|
||||
android:layout_marginLeft="20dp"
|
||||
android:src="@drawable/head_defaut" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/llPerson"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:text="张学友"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold" />
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:text="张学友"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_3"
|
||||
android:textSize="15dp"
|
||||
tools:text="189****1230" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCarType"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:background="@drawable/shape_orange_2"
|
||||
android:paddingLeft="@dimen/dp_8"
|
||||
android:paddingRight="@dimen/dp_8"
|
||||
android:text="B1"
|
||||
android:textColor="@color/main_red"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivPart"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:background="@drawable/party"></ImageView>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
<ImageView
|
||||
android:id="@+id/iv_setting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/color_3"
|
||||
android:textSize="15dp"
|
||||
tools:text="189****1230" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCarType"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_8"
|
||||
android:paddingRight="@dimen/dp_8"
|
||||
android:text="B1"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textColor="@color/main_red"
|
||||
android:background="@drawable/shape_orange_2" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivPart"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:background="@drawable/party"></ImageView>
|
||||
</LinearLayout>
|
||||
|
||||
android:layout_marginTop="@dimen/dp_18"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/right" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_setting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_18"
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlMoney"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_below="@+id/headContent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_m_60"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/right" />
|
||||
android:background="@drawable/shape_white_12"
|
||||
android:padding="@dimen/sp_16">
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/tvMoneyTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我的钱包"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlMoney"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_below="@+id/headContent"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_m_60"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shape_white_12"
|
||||
android:padding="@dimen/sp_16">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvMoneyTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我的钱包"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBaseline="@+id/tvMoneyTitle"
|
||||
android:layout_alignParentRight="true"
|
||||
android:drawableRight="@drawable/right_gray"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="bottom"
|
||||
android:text="进入钱包"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBaseline="@+id/tvMoneyTitle"
|
||||
android:layout_alignParentRight="true"
|
||||
android:drawableRight="@drawable/right_gray"
|
||||
android:drawablePadding="@dimen/dp_5"
|
||||
android:gravity="bottom"
|
||||
android:text="进入钱包"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
android:layout_alignParentBottom="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="26431.5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="26431.5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="余额(元)"
|
||||
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="余额(元)"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="银行卡"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2643.5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<TextView
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="累计收益(元)"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="银行卡"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2643.5"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
<TextView
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:text="累计收益(元)"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_12"></TextView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlTools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_below="@+id/rlMoney"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shape_white_12">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvToolsTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingTop="@dimen/dp_16"
|
||||
android:paddingBottom="@dimen/dp_16"
|
||||
android:text="常用工具"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
|
||||
<GridView
|
||||
android:listSelector="@color/color_transparent"
|
||||
android:id="@+id/gvTools"
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlTools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tvToolsTitle"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:numColumns="4"></GridView>
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_below="@+id/rlMoney"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shape_white_12">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvToolsTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingTop="@dimen/dp_16"
|
||||
android:paddingBottom="@dimen/dp_16"
|
||||
android:text="常用工具"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_190"
|
||||
android:layout_below="@+id/rlTools"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shape_white_12">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvplatTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingTop="@dimen/dp_16"
|
||||
android:paddingBottom="@dimen/dp_16"
|
||||
android:text="平台规则"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
<GridView
|
||||
android:id="@+id/gvTools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tvToolsTitle"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:listSelector="@color/color_transparent"
|
||||
android:numColumns="4"></GridView>
|
||||
|
||||
|
||||
<GridView
|
||||
android:listSelector="@color/color_transparent"
|
||||
android:id="@+id/gvPlat"
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tvplatTitle"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:numColumns="4"
|
||||
android:verticalSpacing="@dimen/dp_20"></GridView>
|
||||
android:layout_height="@dimen/dp_190"
|
||||
android:layout_below="@+id/rlTools"
|
||||
android:layout_marginLeft="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_15"
|
||||
android:background="@drawable/shape_white_12">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvplatTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_16"
|
||||
android:paddingTop="@dimen/dp_16"
|
||||
android:paddingBottom="@dimen/dp_16"
|
||||
android:text="平台规则"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"></TextView>
|
||||
|
||||
|
||||
<GridView
|
||||
android:id="@+id/gvPlat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tvplatTitle"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:listSelector="@color/color_transparent"
|
||||
android:numColumns="4"
|
||||
android:verticalSpacing="@dimen/dp_20"></GridView>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
59
app/src/main/res/layout/item_com_pro.xml
Normal file
59
app/src/main/res/layout/item_com_pro.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_bg8"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/dp_12">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:text="01"
|
||||
android:textColor="@color/main_red"
|
||||
android:textSize="@dimen/sp_20" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="/"
|
||||
android:textColor="@color/main_red"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvProTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_6"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="@dimen/dp_8"
|
||||
android:paddingTop="@dimen/dp_2"
|
||||
android:paddingRight="@dimen/dp_8"
|
||||
android:paddingBottom="@dimen/dp_2"
|
||||
android:singleLine="true"
|
||||
android:text="证件识别不上,怎么处理?"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_16" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:lineSpacingExtra="@dimen/dp_6"
|
||||
android:text="证件无法识别一般有几种情况。证件反光模糊, 不发识别出有效字段,请重新拍摄照片"
|
||||
android:textColor="@color/color_9"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user