Commit ac61e180 authored by jyx's avatar jyx

更新页面样式UI

parent 4bec4cec
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
android:exported="false" android:exported="false"
android:screenOrientation="portrait" /> android:screenOrientation="portrait" />
<activity <activity
android:name=".ui.activitys.AboutusActivity" android:name=".ui.activitys.AboutUsActivity"
android:exported="false" android:exported="false"
android:screenOrientation="portrait" /> android:screenOrientation="portrait" />
<activity <activity
......
...@@ -11,10 +11,19 @@ data class ShareRank( ...@@ -11,10 +11,19 @@ data class ShareRank(
val share: Int val share: Int
) : java.io.Serializable ) : java.io.Serializable
data class ShareInvite( data class SharePageMsg(
val nickName: String, val shareCode: String = "",
val head: String, val rUserShareCode: String = "",
val status: String, val allCash: String = "",
val sex: String, val canCash: String = "",
val cash: Int val count: Int = 0,
val list: ArrayList<ShareUserMsg> = arrayListOf(),
) : java.io.Serializable
data class ShareUserMsg(
val cash: String = "",
val sex: String = "",
val nickName: String = "",
val status: String = "",
val head: String = "",
) : java.io.Serializable ) : java.io.Serializable
\ No newline at end of file
...@@ -4,6 +4,7 @@ import com.duben.library.net.neterror.BaseSubscriber ...@@ -4,6 +4,7 @@ import com.duben.library.net.neterror.BaseSubscriber
import com.duben.library.net.neterror.Throwable import com.duben.library.net.neterror.Throwable
import com.duben.roseplaylet.manager.AppHttpManager import com.duben.roseplaylet.manager.AppHttpManager
import com.duben.roseplaylet.mvp.model.BaseResponse import com.duben.roseplaylet.mvp.model.BaseResponse
import com.duben.roseplaylet.mvp.model.SharePageMsg
import com.duben.roseplaylet.mvp.model.ShareRankList import com.duben.roseplaylet.mvp.model.ShareRankList
import com.duben.roseplaylet.mvp.views.InviteView import com.duben.roseplaylet.mvp.views.InviteView
import com.google.gson.JsonObject import com.google.gson.JsonObject
...@@ -13,7 +14,7 @@ class InvitePresenter : BasePresenter<InviteView>() { ...@@ -13,7 +14,7 @@ class InvitePresenter : BasePresenter<InviteView>() {
fun getSharePageMsg() { fun getSharePageMsg() {
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.sharePageMsg, .call(loanService.sharePageMsg,
object : BaseSubscriber<BaseResponse<JsonObject>>() { object : BaseSubscriber<BaseResponse<SharePageMsg>>() {
override fun onCompleted() { override fun onCompleted() {
if (isLinkView) return if (isLinkView) return
} }
...@@ -24,7 +25,7 @@ class InvitePresenter : BasePresenter<InviteView>() { ...@@ -24,7 +25,7 @@ class InvitePresenter : BasePresenter<InviteView>() {
view.getSharePageMsgFail() view.getSharePageMsgFail()
} }
override fun onNext(baseResponse: BaseResponse<JsonObject>) { override fun onNext(baseResponse: BaseResponse<SharePageMsg>) {
if (isLinkView) return if (isLinkView) return
val code = baseResponse.status val code = baseResponse.status
...@@ -32,10 +33,7 @@ class InvitePresenter : BasePresenter<InviteView>() { ...@@ -32,10 +33,7 @@ class InvitePresenter : BasePresenter<InviteView>() {
when (code) { when (code) {
200 -> { 200 -> {
view.getSharePageMsgSuc( view.getSharePageMsgSuc(baseResponse.data)
baseResponse.data.get("shareCode").asString,
baseResponse.data.get("rUserShareCode").asString
)
} }
else -> { else -> {
view.showToast(message) view.showToast(message)
......
...@@ -17,7 +17,7 @@ class VipPresenter : BasePresenter<VipView>() { ...@@ -17,7 +17,7 @@ class VipPresenter : BasePresenter<VipView>() {
val vo = HashMap<String, Any>() val vo = HashMap<String, Any>()
vo["os"] = "android" vo["os"] = "android"
AppHttpManager.getInstance(loanApplication) AppHttpManager.getInstance(loanApplication)
.call(loanService.getMyInfo(vo), .call(loanService.getBaseMsg(vo),
object : BaseSubscriber<BaseResponse<UserBean>>() { object : BaseSubscriber<BaseResponse<UserBean>>() {
override fun onCompleted() { override fun onCompleted() {
......
package com.duben.roseplaylet.mvp.views package com.duben.roseplaylet.mvp.views
import com.duben.roseplaylet.mvp.model.SharePageMsg
import com.duben.roseplaylet.mvp.model.ShareRankList import com.duben.roseplaylet.mvp.model.ShareRankList
interface InviteView : BaseView { interface InviteView : BaseView {
fun getSharePageMsgSuc(shareCode: String, rUserShareCode: String?) fun getSharePageMsgSuc(sharePageMsg: SharePageMsg)
fun getSharePageMsgFail() fun getSharePageMsgFail()
fun getShareOrderSuc(data: ShareRankList) fun getShareOrderSuc(data: ShareRankList)
......
...@@ -9,7 +9,9 @@ import com.duben.roseplaylet.mvp.model.FaceParam; ...@@ -9,7 +9,9 @@ import com.duben.roseplaylet.mvp.model.FaceParam;
import com.duben.roseplaylet.mvp.model.HallList; import com.duben.roseplaylet.mvp.model.HallList;
import com.duben.roseplaylet.mvp.model.RecommendBannerList; import com.duben.roseplaylet.mvp.model.RecommendBannerList;
import com.duben.roseplaylet.mvp.model.SeeWechat; import com.duben.roseplaylet.mvp.model.SeeWechat;
import com.duben.roseplaylet.mvp.model.SharePageMsg;
import com.duben.roseplaylet.mvp.model.ShareRankList; import com.duben.roseplaylet.mvp.model.ShareRankList;
import com.duben.roseplaylet.mvp.model.UserHallMsg;
import com.duben.roseplaylet.mvp.model.UserList; import com.duben.roseplaylet.mvp.model.UserList;
import com.duben.roseplaylet.mvp.model.UserProfileData; import com.duben.roseplaylet.mvp.model.UserProfileData;
import com.duben.roseplaylet.mvp.model.UserProfileDataInfo; import com.duben.roseplaylet.mvp.model.UserProfileDataInfo;
...@@ -492,7 +494,7 @@ public interface LoanService { ...@@ -492,7 +494,7 @@ public interface LoanService {
* 邀请页基础信息 * 邀请页基础信息
*/ */
@POST("roseApi/share/sharePageMsg") @POST("roseApi/share/sharePageMsg")
Observable<BaseResponse<JsonObject>> getSharePageMsg(); Observable<BaseResponse<SharePageMsg>> getSharePageMsg();
/** /**
* 邀请页排行榜 * 邀请页排行榜
...@@ -558,7 +560,7 @@ public interface LoanService { ...@@ -558,7 +560,7 @@ public interface LoanService {
* 用户页基本信息 * 用户页基本信息
*/ */
@POST("roseApi/hall/userHallMsg") @POST("roseApi/hall/userHallMsg")
Observable<BaseResponse<JsonObject>> getUserHallMsg(); Observable<BaseResponse<UserHallMsg>> getUserHallMsg();
/** /**
* 默认http工厂 * 默认http工厂
......
...@@ -2,22 +2,17 @@ package com.duben.roseplaylet.ui.activitys ...@@ -2,22 +2,17 @@ package com.duben.roseplaylet.ui.activitys
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.os.Bundle import android.os.Bundle
import android.util.Log
import android.view.View import android.view.View
import android.widget.ImageView
import android.widget.TextView import android.widget.TextView
import android.widget.Toast
import com.bytedance.hume.readapk.HumeSDK import com.bytedance.hume.readapk.HumeSDK
import com.duben.roseplaylet.BuildConfig import com.duben.roseplaylet.BuildConfig
import com.duben.roseplaylet.MintsApplication import com.duben.roseplaylet.MintsApplication
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.common.Constant import com.duben.roseplaylet.common.Constant
import com.duben.roseplaylet.manager.TrackManager
import com.duben.roseplaylet.ui.activitys.base.BaseActivity import com.duben.roseplaylet.ui.activitys.base.BaseActivity
import com.duben.roseplaylet.utils.MateUtils import com.duben.roseplaylet.utils.MateUtils
import com.duben.roseplaylet.utils.ToastUtil import com.duben.roseplaylet.utils.ToastUtil
import com.duben.library.utils.ConstantUtil import com.duben.library.utils.ConstantUtil
import com.duben.library.utils.json.JsonUtil
import com.duben.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import kotlinx.android.synthetic.main.activity_aboutus.* import kotlinx.android.synthetic.main.activity_aboutus.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
...@@ -28,7 +23,7 @@ import kotlinx.android.synthetic.main.header_layout.* ...@@ -28,7 +23,7 @@ import kotlinx.android.synthetic.main.header_layout.*
* 时间:2020/9/23 18:39 * 时间:2020/9/23 18:39
*/ */
@SuppressLint("SetTextI18n") @SuppressLint("SetTextI18n")
class AboutusActivity : BaseActivity(), View.OnClickListener { class AboutUsActivity : BaseActivity(), View.OnClickListener {
override fun getContentViewLayoutID() = R.layout.activity_aboutus override fun getContentViewLayoutID() = R.layout.activity_aboutus
...@@ -53,14 +48,6 @@ class AboutusActivity : BaseActivity(), View.OnClickListener { ...@@ -53,14 +48,6 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
tvAboutasVersion.setOnLongClickListener { tvAboutasVersion.setOnLongClickListener {
ToastUtil.showLong(this, "包名:" + Constant.MINTS_PKG_NAME) ToastUtil.showLong(this, "包名:" + Constant.MINTS_PKG_NAME)
// TTMediationTestTool.launchTestTools(
// this@AboutusActivity,
// object : TTMediationTestTool.ImageCallBack {
// override fun loadImage(imageView: ImageView?, s: String?) {}
// })
// readyGo(NinePayActivity::class.java)
// VoiceRedEnvelopeManager.load(23,23)
true true
} }
......
...@@ -181,9 +181,9 @@ class CommonDataActivity : BaseActivity(), View.OnClickListener, OnRefreshListen ...@@ -181,9 +181,9 @@ class CommonDataActivity : BaseActivity(), View.OnClickListener, OnRefreshListen
// 谁看过我 // 谁看过我
tv_see_count.visibility = View.VISIBLE tv_see_count.visibility = View.VISIBLE
if (data.list.size > 10) { if (data.list.size > 10) {
tv_see_count.text = "10+位小姐姐对你感兴趣" tv_see_count.text = "10+位小姐姐对你感兴趣~"
} else { } else {
tv_see_count.text = "" + data.list.size + "位小姐姐对你感兴趣" tv_see_count.text = "" + data.list.size + "位小姐姐对你感兴趣~"
} }
} else if (data.list.size > 0 && (mType == 0 || mType == 1)) { } else if (data.list.size > 0 && (mType == 0 || mType == 1)) {
tv_tips.visibility = View.VISIBLE tv_tips.visibility = View.VISIBLE
......
...@@ -182,7 +182,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -182,7 +182,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
etWechat.setText("") etWechat.setText("")
} else { } else {
etWechat.hint = "填写微信号" etWechat.hint = "请填写您的微信号"
etWechat.setText("") etWechat.setText("")
} }
...@@ -193,7 +193,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -193,7 +193,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvSx.text = "" tvSx.text = ""
} else { } else {
tvSx.text = "不详" tvSx.text = "请选择您的身形"
} }
layout_sx.setOnClickListener(this) layout_sx.setOnClickListener(this)
} }
...@@ -203,6 +203,11 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -203,6 +203,11 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
layout_jyjm.visibility = View.VISIBLE layout_jyjm.visibility = View.VISIBLE
layout_jyjm.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_JYJM.str layout_jyjm.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_JYJM.str
tvJyjm = layout_jyjm.findViewById(R.id.label_tv) tvJyjm = layout_jyjm.findViewById(R.id.label_tv)
if (!TextUtils.isEmpty(userProfileData?.interest)) {
tvJyjm.text = ""
} else {
tvJyjm.text = "请选择您的交友节目"
}
layout_jyjm.setOnClickListener(this) layout_jyjm.setOnClickListener(this)
// 喜欢的女生特质 // 喜欢的女生特质
...@@ -210,6 +215,11 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -210,6 +215,11 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
layout_xhdnstz.findViewById<TextView>(R.id.label_start).text = layout_xhdnstz.findViewById<TextView>(R.id.label_start).text =
UserProfile.SPECIAL_LIKE_FEMALE.str UserProfile.SPECIAL_LIKE_FEMALE.str
tvXhdnstz = layout_xhdnstz.findViewById(R.id.label_tv) tvXhdnstz = layout_xhdnstz.findViewById(R.id.label_tv)
if (!TextUtils.isEmpty(userProfileData?.findDescribe)) {
tvXhdnstz.text = ""
} else {
tvXhdnstz.text = "请选择喜欢的女生特质"
}
layout_xhdnstz.setOnClickListener(this) layout_xhdnstz.setOnClickListener(this)
initXhdnstzRcy() initXhdnstzRcy()
...@@ -239,7 +249,6 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -239,7 +249,6 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
// 头像 // 头像
ivAvatar = layout_avatar.findViewById(R.id.iv_avatar) ivAvatar = layout_avatar.findViewById(R.id.iv_avatar)
layout_avatar.findViewById<TextView>(R.id.label_tv).text = "点击修改头像" layout_avatar.findViewById<TextView>(R.id.label_tv).text = "点击修改头像"
layout_avatar.findViewById<TextView>(R.id.label_tv).setTextColor(Color.WHITE)
layout_avatar.setOnClickListener(this) layout_avatar.setOnClickListener(this)
// 昵称 // 昵称
...@@ -248,7 +257,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -248,7 +257,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvNickname.setText("") tvNickname.setText("")
} else { } else {
tvNickname.hint = "填写昵称" tvNickname.hint = "请填写您的昵称"
} }
// 个性签名 // 个性签名
...@@ -257,7 +266,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -257,7 +266,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvSign.text = "" tvSign.text = ""
} else { } else {
tvSign.text = "不详" tvSign.text = "请填写您的个性签名"
} }
layout_gxqm.setOnClickListener(this) layout_gxqm.setOnClickListener(this)
...@@ -267,7 +276,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -267,7 +276,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvAge.text = "" tvAge.text = ""
} else { } else {
tvAge.text = "不详" tvAge.text = "请选择您的年龄"
} }
layout_nl.setOnClickListener(this) layout_nl.setOnClickListener(this)
...@@ -277,7 +286,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -277,7 +286,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvJob.text = "" tvJob.text = ""
} else { } else {
tvJob.text = "不详" tvJob.text = "请选择您的职业"
} }
layout_zy.setOnClickListener(this) layout_zy.setOnClickListener(this)
...@@ -287,7 +296,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -287,7 +296,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvHeight.text = "" tvHeight.text = ""
} else { } else {
tvHeight.text = "不详" tvHeight.text = "请选择您的身高"
} }
layout_sg.setOnClickListener(this) layout_sg.setOnClickListener(this)
...@@ -297,7 +306,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -297,7 +306,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvWeight.text = "" tvWeight.text = ""
} else { } else {
tvWeight.text = "不详" tvWeight.text = "请选择您的体重"
} }
layout_tz.setOnClickListener(this) layout_tz.setOnClickListener(this)
...@@ -307,7 +316,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -307,7 +316,7 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
if (!TextUtils.isEmpty("")) { if (!TextUtils.isEmpty("")) {
tvJyfw.text = "" tvJyfw.text = ""
} else { } else {
tvJyfw.text = "不详" tvJyfw.text = "请选择您的交友范围"
} }
layout_jyfw.setOnClickListener(this) layout_jyfw.setOnClickListener(this)
...@@ -327,6 +336,9 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -327,6 +336,9 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
UserProfile.PROFILE_TZ.str -> { UserProfile.PROFILE_TZ.str -> {
UserProfile.PROFILE_TZ.arr UserProfile.PROFILE_TZ.arr
} }
UserProfile.PROFILE_NL.str -> {
UserProfile.PROFILE_NL.arr
}
UserProfile.PROFILE_SX.str -> { UserProfile.PROFILE_SX.str -> {
UserProfile.PROFILE_SX.arr UserProfile.PROFILE_SX.arr
} }
...@@ -448,6 +460,22 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -448,6 +460,22 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
}) })
mSinglePickDialog?.show() mSinglePickDialog?.show()
} }
UserProfile.PROFILE_NL.str -> {
mSinglePickDialog = SinglePickDialog(
this,
UserProfile.PROFILE_NL.str,
getPickerData(UserProfile.PROFILE_NL.str),
defaultValue
)
mSinglePickDialog?.setPickResultListener(object :
SinglePickDialog.OnPickResultListener {
override fun onPickResult(result: String) {
userProfileData?.birthday = result
tvAge.text = result
}
})
mSinglePickDialog?.show()
}
UserProfile.PROFILE_SX.str -> { UserProfile.PROFILE_SX.str -> {
mSinglePickDialog = SinglePickDialog( mSinglePickDialog = SinglePickDialog(
this, this,
...@@ -526,16 +554,31 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie ...@@ -526,16 +554,31 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
readyGoForResult(WriteSignatureActivity::class.java, Constant.EDIT_PROFILE_CODE) readyGoForResult(WriteSignatureActivity::class.java, Constant.EDIT_PROFILE_CODE)
} }
R.id.layout_nl -> { R.id.layout_nl -> {
showPickDialog(UserProfile.PROFILE_NL.str, userProfileData?.age) val defaultValue = if (TextUtils.isEmpty(userProfileData?.age)) {
"2000"
} else {
userProfileData?.age
}
showPickDialog(UserProfile.PROFILE_NL.str, defaultValue)
} }
R.id.layout_zy -> { R.id.layout_zy -> {
showJobPick() showJobPick()
} }
R.id.layout_sg -> { R.id.layout_sg -> {
showPickDialog(UserProfile.PROFILE_SG.str, userProfileData?.userHeight) val defaultValue = if (TextUtils.isEmpty(userProfileData?.userHeight)) {
"165CM"
} else {
userProfileData?.userHeight
}
showPickDialog(UserProfile.PROFILE_SG.str, defaultValue)
} }
R.id.layout_tz -> { R.id.layout_tz -> {
showPickDialog(UserProfile.PROFILE_TZ.str, userProfileData?.bodyWeight) val defaultValue = if (TextUtils.isEmpty(userProfileData?.bodyWeight)) {
"50KG"
} else {
userProfileData?.bodyWeight
}
showPickDialog(UserProfile.PROFILE_TZ.str, defaultValue)
} }
R.id.layout_sx -> { R.id.layout_sx -> {
showPickDialog(UserProfile.PROFILE_SX.str, userProfileData?.appearance) showPickDialog(UserProfile.PROFILE_SX.str, userProfileData?.appearance)
......
...@@ -37,9 +37,7 @@ class MainActivity : BaseActivity(), View.OnClickListener { ...@@ -37,9 +37,7 @@ class MainActivity : BaseActivity(), View.OnClickListener {
private var currentFragment: Fragment? = null private var currentFragment: Fragment? = null
private var phoneDialog: PhoneDialog? = null private var phoneDialog: PhoneDialog? = null
override fun getContentViewLayoutID(): Int { override fun getContentViewLayoutID() = R.layout.activity_main
return R.layout.activity_main
}
override fun initViewsAndEvents() { override fun initViewsAndEvents() {
audioManager = getSystemService(Context.AUDIO_SERVICE) as AudioManager audioManager = getSystemService(Context.AUDIO_SERVICE) as AudioManager
......
...@@ -10,6 +10,7 @@ import android.view.View ...@@ -10,6 +10,7 @@ import android.view.View
import android.widget.TextView import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import com.bigkoo.pickerview.builder.OptionsPickerBuilder
import com.duben.library.utils.GlideUtils import com.duben.library.utils.GlideUtils
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.ui.activitys.base.BaseActivity import com.duben.roseplaylet.ui.activitys.base.BaseActivity
...@@ -25,6 +26,7 @@ import com.duben.roseplaylet.mvp.views.RealAuthView ...@@ -25,6 +26,7 @@ import com.duben.roseplaylet.mvp.views.RealAuthView
import com.duben.roseplaylet.ui.adapter.ProfileLabelAdapter import com.duben.roseplaylet.ui.adapter.ProfileLabelAdapter
import com.duben.roseplaylet.ui.widgets.pick.SinglePickDialog import com.duben.roseplaylet.ui.widgets.pick.SinglePickDialog
import com.duben.roseplaylet.utils.GlideEngine import com.duben.roseplaylet.utils.GlideEngine
import com.duben.roseplaylet.utils.JobData
import com.google.gson.Gson import com.google.gson.Gson
import com.luck.picture.lib.PictureSelector import com.luck.picture.lib.PictureSelector
import com.luck.picture.lib.compress.Luban import com.luck.picture.lib.compress.Luban
...@@ -39,6 +41,10 @@ import com.tbruyelle.rxpermissions.RxPermissions ...@@ -39,6 +41,10 @@ import com.tbruyelle.rxpermissions.RxPermissions
import com.yalantis.ucrop.UCrop import com.yalantis.ucrop.UCrop
import kotlinx.android.synthetic.main.activity_real_auth.* import kotlinx.android.synthetic.main.activity_real_auth.*
import kotlinx.android.synthetic.main.header_layout.* import kotlinx.android.synthetic.main.header_layout.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.io.File import java.io.File
class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
...@@ -62,6 +68,9 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -62,6 +68,9 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
private var wechatQrCodeUrl = "" private var wechatQrCodeUrl = ""
private var readAuthImageUrl = "" private var readAuthImageUrl = ""
private var jobOptions1Items: MutableList<JobBean>? = mutableListOf()
private var jopOptions2Items: MutableList<ArrayList<String>>? = mutableListOf()
private var mSinglePickDialog: SinglePickDialog? = null private var mSinglePickDialog: SinglePickDialog? = null
override fun getContentViewLayoutID() = R.layout.activity_real_auth override fun getContentViewLayoutID() = R.layout.activity_real_auth
...@@ -77,6 +86,7 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -77,6 +86,7 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
iv_left_icon.setImageResource(R.mipmap.ic_arrow_white) iv_left_icon.setImageResource(R.mipmap.ic_arrow_white)
line.visibility = View.GONE line.visibility = View.GONE
initJobData()
initProfile() initProfile()
initGxbqRcy() initGxbqRcy()
initListener() initListener()
...@@ -84,6 +94,21 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -84,6 +94,21 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
changeStepStatus(1) changeStepStatus(1)
} }
private fun initJobData() {
MainScope().launch {
withContext(Dispatchers.IO) {
val jobData = JobData.getJsonData(this@RealAuthActivity)
try {
jobOptions1Items = jobData.options1Items
jopOptions2Items = jobData.options2Items
} catch (e: Exception) {
e.printStackTrace()
}
}
}
}
private fun initGxbqRcy() { private fun initGxbqRcy() {
val recyclerView = layout_gxbq.findViewById<RecyclerView>(R.id.rv_basic) val recyclerView = layout_gxbq.findViewById<RecyclerView>(R.id.rv_basic)
gxbqAdapter = ProfileLabelAdapter() gxbqAdapter = ProfileLabelAdapter()
...@@ -116,16 +141,18 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -116,16 +141,18 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
// 交友范围 // 交友范围
layout_jyfw.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_JYFW.str layout_jyfw.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_JYFW.str
jyfwTv = layout_jyfw.findViewById(R.id.label_tv) jyfwTv = layout_jyfw.findViewById(R.id.label_tv)
jyfwTv.text = "请选择您的交友范围"
layout_jyfw.setOnClickListener(this) layout_jyfw.setOnClickListener(this)
// 职业 // 职业
layout_zy.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_ZY.str layout_zy.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_ZY.str
zyTv = layout_zy.findViewById(R.id.label_tv) zyTv = layout_zy.findViewById(R.id.label_tv)
sxTv.text = "请选择您的职业" zyTv.text = "请选择您的职业"
layout_zy.setOnClickListener(this) layout_zy.setOnClickListener(this)
// 个性标签 // 个性标签
layout_gxbq.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_GXBQ.str layout_gxbq.findViewById<TextView>(R.id.label_start).text = UserProfile.PROFILE_GXBQ.str
layout_gxbq.findViewById<TextView>(R.id.label_tv).text = "请选择您的个性标签"
layout_gxbq.setOnClickListener(this) layout_gxbq.setOnClickListener(this)
} }
...@@ -171,7 +198,7 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -171,7 +198,7 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
showPickDialog(UserProfile.PROFILE_JYFW.str, userProfileData?.findCity) showPickDialog(UserProfile.PROFILE_JYFW.str, userProfileData?.findCity)
} }
R.id.layout_zy -> { R.id.layout_zy -> {
showPickDialog(UserProfile.PROFILE_ZY.str, userProfileData?.career) showJobPick()
} }
R.id.layout_gxbq -> { R.id.layout_gxbq -> {
readyGoForResult(UserLabelActivity::class.java, Constant.USER_LABEL_REQUEST_CODE) readyGoForResult(UserLabelActivity::class.java, Constant.USER_LABEL_REQUEST_CODE)
...@@ -284,6 +311,37 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView { ...@@ -284,6 +311,37 @@ class RealAuthActivity : BaseActivity(), View.OnClickListener, RealAuthView {
iv_wechat_qrcode.setOnClickListener(this) iv_wechat_qrcode.setOnClickListener(this)
} }
private fun showJobPick() {
val provinceIndex = 0
val cityIndex = 0
// 弹出选择器
val pvOptions = OptionsPickerBuilder(this) { options1, options2, _, _ ->
//返回的分别是三个级别的选中位置
val opt1tx = if (jobOptions1Items!!.isNotEmpty()) jobOptions1Items!![options1]
.pickerViewText else ""
val opt2tx = if (jopOptions2Items!!.size > 0
&& jopOptions2Items!![options1].size > 0
) jopOptions2Items!![options1][options2] else ""
val tx = "$opt1tx-$opt2tx"
userProfileData?.career = tx
zyTv.text = tx
}
.setSelectOptions(provinceIndex, cityIndex)
.setDividerColor(Color.BLACK)
.setTextColorCenter(Color.BLACK) //设置选中项文字颜色
.setContentTextSize(20)
.build<Any>()
pvOptions.setPicker(
jobOptions1Items as List<Nothing>,
jopOptions2Items as List<Nothing>
) //三级选择器
pvOptions.show()
}
private fun showPickDialog(pickerType: String, defaultValue: String?) { private fun showPickDialog(pickerType: String, defaultValue: String?) {
when (pickerType) { when (pickerType) {
UserProfile.PROFILE_SG.str -> { UserProfile.PROFILE_SG.str -> {
......
...@@ -2,16 +2,14 @@ package com.duben.roseplaylet.ui.activitys ...@@ -2,16 +2,14 @@ package com.duben.roseplaylet.ui.activitys
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.app.Dialog import android.app.Dialog
import android.os.Bundle import android.graphics.Color
import android.os.Handler import android.os.Handler
import android.os.Looper import android.os.Looper
import android.text.TextUtils import android.text.TextUtils
import android.view.View import android.view.View
import android.widget.ImageView
import android.widget.TextView import android.widget.TextView
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.common.Constant
import com.duben.roseplaylet.manager.UserManager import com.duben.roseplaylet.manager.UserManager
import com.duben.roseplaylet.ui.activitys.base.BaseActivity import com.duben.roseplaylet.ui.activitys.base.BaseActivity
import com.duben.roseplaylet.ui.widgets.CustomDialogAsApple import com.duben.roseplaylet.ui.widgets.CustomDialogAsApple
...@@ -29,116 +27,48 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -29,116 +27,48 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
private val userManager by lazy { UserManager.getInstance() } private val userManager by lazy { UserManager.getInstance() }
override fun initViewsAndEvents() { override fun initViewsAndEvents() {
initHeader()
initLayout() initLayout()
}
private fun initHeader() {
tv_title.text = "设置"
tv_title.setTextColor(Color.WHITE)
iv_left_icon.visibility = View.VISIBLE
iv_left_icon.setImageResource(R.mipmap.ic_arrow_white)
line.visibility = View.GONE
} }
override fun onResume() { override fun onResume() {
super.onResume() super.onResume()
// if (userManager.vipFlag) {
// item_back.visibility = View.VISIBLE
// } else {
// item_back.visibility = View.GONE
// }
if (userManager.userIsLogin()) { if (userManager.userIsLogin()) {
btn_switch.visibility = View.VISIBLE btn_login_out.visibility = View.VISIBLE
} else { } else {
btn_switch.visibility = View.GONE btn_login_out.visibility = View.GONE
} }
} }
@SuppressLint("CutPasteId") @SuppressLint("CutPasteId")
private fun initLayout() { private fun initLayout() {
tv_title.text = "设置" layout_phone.setOnClickListener(this)
iv_left_icon.visibility = View.VISIBLE layout_cancel.setOnClickListener(this)
iv_left_icon.setImageResource(R.mipmap.ic_arrow_back) layout_cache.setOnClickListener(this)
iv_left_icon.setOnClickListener(this) layout_feedback.setOnClickListener(this)
layout_about_us.setOnClickListener(this)
item_cleanCache.setOnClickListener(this) btn_login_out.setOnClickListener(this)
item_userAgree.setOnClickListener(this)
item_privacyAgree.setOnClickListener(this) layout_phone.findViewById<TextView>(R.id.label_start).text = "手机绑定"
item_aboutUs.setOnClickListener(this)
item_cancel.setOnClickListener(this)
btn_switch.setOnClickListener(this)
item_back.setOnClickListener(this)
item_phone.setOnClickListener(this)
item_invitedCode.findViewById<TextView>(R.id.tv_title).text = "玫瑰陪看ID"
val invitedCode = ContextCompat.getDrawable(this, R.mipmap.icon_settings_invite)
invitedCode?.setBounds(0, 0, 56, 56)
item_invitedCode.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(invitedCode, null, null, null)
item_invitedCode.findViewById<TextView>(R.id.tv_right).visibility = View.VISIBLE
item_invitedCode.findViewById<ImageView>(R.id.iv_right).visibility = View.GONE
item_invitedCode.findViewById<TextView>(R.id.tv_right).text =
userManager.codeId
item_phone.findViewById<TextView>(R.id.tv_title).text = "手机号"
val phone = ContextCompat.getDrawable(this, R.mipmap.icon_settings_tel)
phone?.setBounds(0, 0, 56, 56)
item_phone.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(phone, null, null, null)
item_phone.findViewById<TextView>(R.id.tv_right).visibility = View.VISIBLE
item_phone.findViewById<ImageView>(R.id.iv_right).visibility = View.GONE
if (!TextUtils.isEmpty(userManager.mobile)) { if (!TextUtils.isEmpty(userManager.mobile)) {
item_phone.findViewById<TextView>(R.id.tv_right).text = userManager.mobile layout_phone.findViewById<TextView>(R.id.label_tv).text = userManager.mobile
} else { } else {
item_phone.findViewById<TextView>(R.id.tv_right).text = "未绑定" layout_phone.findViewById<TextView>(R.id.label_tv).text = "未绑定"
} }
layout_cancel.findViewById<TextView>(R.id.label_start).text = "注销账号"
item_cleanCache.findViewById<TextView>(R.id.tv_title).text = "清理缓存" layout_cache.findViewById<TextView>(R.id.label_start).text = "清除图片缓存"
val cleanCache = ContextCompat.getDrawable(this, R.mipmap.icon_settings_clean) layout_cache.findViewById<TextView>(R.id.label_tv).text = CacheUtil.getTotalCacheSize(this)
cleanCache?.setBounds(0, 0, 56, 56) layout_feedback.findViewById<TextView>(R.id.label_start).text = "意见反馈"
item_cleanCache.findViewById<TextView>(R.id.tv_title) layout_about_us.findViewById<TextView>(R.id.label_start).text = "关于我们"
.setCompoundDrawables(cleanCache, null, null, null)
item_cleanCache.findViewById<TextView>(R.id.tv_right).visibility = View.VISIBLE
item_cleanCache.findViewById<ImageView>(R.id.iv_right).visibility = View.GONE
item_cleanCache.findViewById<TextView>(R.id.tv_right).text =
CacheUtil.getTotalCacheSize(this)
item_userAgree.findViewById<TextView>(R.id.tv_title).text = "服务协议"
val userAgree = ContextCompat.getDrawable(this, R.mipmap.icon_settings_user)
userAgree?.setBounds(0, 0, 56, 56)
item_userAgree.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(userAgree, null, null, null)
item_userAgree.findViewById<TextView>(R.id.tv_right).visibility = View.GONE
item_userAgree.findViewById<ImageView>(R.id.iv_right).visibility = View.VISIBLE
item_privacyAgree.findViewById<TextView>(R.id.tv_title).text = "隐私协议"
val privacyAgree = ContextCompat.getDrawable(this, R.mipmap.icon_settings_privacy)
privacyAgree?.setBounds(0, 0, 56, 56)
item_privacyAgree.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(privacyAgree, null, null, null)
item_privacyAgree.findViewById<TextView>(R.id.tv_right).visibility = View.GONE
item_privacyAgree.findViewById<ImageView>(R.id.iv_right).visibility = View.VISIBLE
item_aboutUs.findViewById<TextView>(R.id.tv_title).text = "关于我们"
val aboutUs = ContextCompat.getDrawable(this, R.mipmap.icon_settings_about)
aboutUs?.setBounds(0, 0, 56, 56)
item_aboutUs.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(aboutUs, null, null, null)
item_aboutUs.findViewById<TextView>(R.id.tv_right).visibility = View.GONE
item_aboutUs.findViewById<ImageView>(R.id.iv_right).visibility = View.VISIBLE
item_cancel.findViewById<TextView>(R.id.tv_title).text = "注销账号"
val cancel = ContextCompat.getDrawable(this, R.mipmap.icon_settings_cancel)
cancel?.setBounds(1, 1, 55, 55)
item_cancel.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(cancel, null, null, null)
item_cancel.findViewById<TextView>(R.id.tv_right).visibility = View.GONE
item_cancel.findViewById<ImageView>(R.id.iv_right).visibility = View.VISIBLE
item_back.findViewById<TextView>(R.id.tv_title).text = "申请退款"
val back = ContextCompat.getDrawable(this, R.mipmap.icon_settings_about)
back?.setBounds(0, 0, 56, 56)
item_back.findViewById<TextView>(R.id.tv_title)
.setCompoundDrawables(back, null, null, null)
item_back.findViewById<TextView>(R.id.tv_right).visibility = View.GONE
item_back.findViewById<ImageView>(R.id.iv_right).visibility = View.VISIBLE
} }
override fun getContentViewLayoutID() = R.layout.activity_settings override fun getContentViewLayoutID() = R.layout.activity_settings
...@@ -149,41 +79,29 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -149,41 +79,29 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
if (AntiShake.check(v?.id)) return if (AntiShake.check(v?.id)) return
when (v?.id) { when (v?.id) {
R.id.item_cleanCache -> {
clearDialog()
}
R.id.item_userAgree -> {
val bundle = Bundle()
bundle.putString(WebActivity.WEB_TITLE, getString(R.string.register_name))
bundle.putString(WebActivity.WEB_URL, Constant.REGISTER_URL)
readyGo(WebActivity::class.java, bundle)
}
R.id.item_privacyAgree -> {
val bundle = Bundle()
bundle.putString(WebActivity.WEB_TITLE, getString(R.string.privacy_name))
bundle.putString(WebActivity.WEB_URL, Constant.PRIVACY_URL)
readyGo(WebActivity::class.java, bundle)
}
R.id.item_aboutUs -> {
readyGo(AboutusActivity::class.java)
}
R.id.btn_switch -> {
backDialog()
}
R.id.iv_left_icon -> { R.id.iv_left_icon -> {
onBackPressed() onBackPressed()
} }
R.id.item_cancel -> { R.id.layout_phone -> {
cancelAccount()
}
R.id.item_phone -> {
if (TextUtils.isEmpty(userManager.mobile)) { if (TextUtils.isEmpty(userManager.mobile)) {
readyGo(BindMobileActivity::class.java) readyGo(BindMobileActivity::class.java)
return return
} }
} }
R.id.item_back -> { R.id.layout_cancel -> {
readyGo(Backcash2Activity::class.java) cancelAccount()
}
R.id.layout_cache -> {
clearDialog()
}
R.id.layout_about_us -> {
readyGo(AboutUsActivity::class.java)
}
R.id.layout_feedback -> {
readyGo(FeedbackActivity::class.java)
}
R.id.btn_login_out -> {
backDialog()
} }
} }
} }
...@@ -200,22 +118,10 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -200,22 +118,10 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
object : DialogListener() { object : DialogListener() {
override fun onClick(dialog: Dialog?, v: View?) { override fun onClick(dialog: Dialog?, v: View?) {
dialog?.dismiss() dialog?.dismiss()
ToastUtil.show(this@SettingsActivity, "注销账户申请已发起!") ToastUtil.show(this@SettingsActivity, "注销账户申请已发起!")
Handler(Looper.getMainLooper()).postDelayed({ Handler(Looper.getMainLooper()).postDelayed({
finish() finish()
}, 200) }, 200)
// UcropUtils.clipData(address)
// ToastUtil.show(this@SettingsActivity, "邮箱已经复制到您的剪切板上!")
//
// val uri = Uri.parse("mailto:$address")
// val data = Intent(Intent.ACTION_SENDTO, uri)
// data.putExtra(Intent.EXTRA_EMAIL, address)
// data.putExtra(Intent.EXTRA_SUBJECT, "申请注销账户")
// data.putExtra(Intent.EXTRA_TEXT, "申请注销账户ID:\n申请注销账户微信号:\n申请注销账户手机号:\n")
// startActivity(Intent.createChooser(data, "选择邮箱"))
} }
}) })
} }
...@@ -229,18 +135,6 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -229,18 +135,6 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
AppConfig.exitLoginMainRefresh = true AppConfig.exitLoginMainRefresh = true
userManager.userLogout() userManager.userLogout()
finish() finish()
// // 修复 异常999问题
// for (activity in AppManager.getActivityStack()) {
// if (activity is MainActivity) {
// activity.clickTab1Layout()
// break
// }
// }
// Handler(Looper.getMainLooper()).postDelayed({
// Constant.isFirstOpenDialog = false
// readyGoThenKill(MainActivity::class.java)
// }, 200)
} }
} }
} }
...@@ -261,7 +155,7 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -261,7 +155,7 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
} }
R.id.dialog_btn_right -> { R.id.dialog_btn_right -> {
CacheUtil.clearAllCache() CacheUtil.clearAllCache()
item_cleanCache.findViewById<TextView>(R.id.tv_right).text = "0KB" layout_cache.findViewById<TextView>(R.id.label_tv).text = "0KB"
} }
} }
} }
......
...@@ -4,10 +4,12 @@ import android.graphics.Color ...@@ -4,10 +4,12 @@ import android.graphics.Color
import android.text.TextUtils import android.text.TextUtils
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.View import android.view.View
import androidx.core.content.ContextCompat
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.ui.activitys.base.BaseActivity import com.duben.roseplaylet.ui.activitys.base.BaseActivity
import com.duben.library.utils.nodoubleclick.AntiShake import com.duben.library.utils.nodoubleclick.AntiShake
import com.duben.roseplaylet.manager.UserManager import com.duben.roseplaylet.manager.UserManager
import com.duben.roseplaylet.mvp.model.SharePageMsg
import com.duben.roseplaylet.mvp.model.ShareRankList import com.duben.roseplaylet.mvp.model.ShareRankList
import com.duben.roseplaylet.mvp.presenters.InvitePresenter import com.duben.roseplaylet.mvp.presenters.InvitePresenter
import com.duben.roseplaylet.mvp.views.InviteView import com.duben.roseplaylet.mvp.views.InviteView
...@@ -56,12 +58,24 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView { ...@@ -56,12 +58,24 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView {
private fun initView() { private fun initView() {
tv_my_code.text = userManager.shareCode tv_my_code.text = userManager.shareCode
tv_share_count.text = SpanUtils()
// rcy_my_invite.adapter = .append("0")
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
// tv_share_cash.text = SpanUtils() .setFontSize(26, true)
// .append() .append(" 人")
// .create() .create()
tv_share_reward.text = SpanUtils()
.append("0")
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
.setFontSize(26, true)
.append(" 元")
.create()
tv_share_cash.text = SpanUtils()
.append("0")
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
.setFontSize(26, true)
.append(" 元")
.create()
mShareRankAdapter = ShareRankAdapter() mShareRankAdapter = ShareRankAdapter()
mShareRankAdapter.animationEnable = false mShareRankAdapter.animationEnable = false
...@@ -81,6 +95,12 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView { ...@@ -81,6 +95,12 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView {
when (v?.id) { when (v?.id) {
R.id.iv_left_icon -> finish() R.id.iv_left_icon -> finish()
R.id.tv_share_img -> {
shareImgDialog()
}
R.id.tv_share_url -> {
shareWx()
}
R.id.tv_copy -> { R.id.tv_copy -> {
showToast("邀请码已复制到剪切板!") showToast("邀请码已复制到剪切板!")
UcropUtils.clipData(userManager.shareCode) UcropUtils.clipData(userManager.shareCode)
...@@ -88,9 +108,15 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView { ...@@ -88,9 +108,15 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView {
} }
} }
private fun shareWx() {
}
private fun initListener() { private fun initListener() {
iv_left_icon.setOnClickListener(this) iv_left_icon.setOnClickListener(this)
tv_copy.setOnClickListener(this) tv_copy.setOnClickListener(this)
tv_share_img.setOnClickListener(this)
tv_share_url.setOnClickListener(this)
} }
/** /**
...@@ -99,8 +125,7 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView { ...@@ -99,8 +125,7 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView {
private fun shareImgDialog() { private fun shareImgDialog() {
val shareDialog = ShareDialog(this, myShareUrl) val shareDialog = ShareDialog(this, myShareUrl)
shareDialog.setOnShareOKListener(object : ShareDialog.OnShareOKListener { shareDialog.setOnShareOKListener(object : ShareDialog.OnShareOKListener {
override fun onShareOk() { override fun onShareOk() {}
}
}) })
val content = "送你一个赚钱的新模式,\r\n快点加入跟我一起赚钱吧" val content = "送你一个赚钱的新模式,\r\n快点加入跟我一起赚钱吧"
shareDialog.setShareAvatar("https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_my_coin.png") shareDialog.setShareAvatar("https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_my_coin.png")
...@@ -114,17 +139,34 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView { ...@@ -114,17 +139,34 @@ class ShareActivity : BaseActivity(), View.OnClickListener, InviteView {
invitePresenter.detachView() invitePresenter.detachView()
} }
override fun getSharePageMsgSuc( override fun getSharePageMsgSuc(sharePageMsg: SharePageMsg) {
shareCode: String, rUserShareCode: String?, tv_my_code.text = sharePageMsg.shareCode
) { if (TextUtils.isEmpty(sharePageMsg.rUserShareCode)) {
tv_my_code.text = shareCode
if (TextUtils.isEmpty(rUserShareCode)) {
et_code.isEnabled = true et_code.isEnabled = true
} else { } else {
et_code.isEnabled = false et_code.isEnabled = false
et_code.setText(rUserShareCode!!) et_code.setText(sharePageMsg.rUserShareCode)
} }
tv_share_count.text = SpanUtils()
.append("" + sharePageMsg.count)
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
.setFontSize(20, true)
.append(" 人")
.create()
tv_share_reward.text = SpanUtils()
.append("" + sharePageMsg.allCash)
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
.setFontSize(20, true)
.append(" 元")
.create()
tv_share_cash.text = SpanUtils()
.append("" + sharePageMsg.canCash)
.setForegroundColor(ContextCompat.getColor(this, R.color.color_FF5967))
.setFontSize(20, true)
.append(" 元")
.create()
mShareInviteAdapter.setNewInstance(sharePageMsg.list)
} }
override fun getSharePageMsgFail() { override fun getSharePageMsgFail() {
......
...@@ -72,7 +72,7 @@ class WalletActivity : BaseActivity(), View.OnClickListener, DrawCashView { ...@@ -72,7 +72,7 @@ class WalletActivity : BaseActivity(), View.OnClickListener, DrawCashView {
private fun initView() { private fun initView() {
tv_balance.text = "" + userManager.userBeans tv_balance.text = "" + userManager.userBeans
tv_cash.text = "" + userManager.userRewardCash tv_cash.text = "" + userManager.userRewardCoin
} }
private fun initRecy() { private fun initRecy() {
...@@ -82,6 +82,7 @@ class WalletActivity : BaseActivity(), View.OnClickListener, DrawCashView { ...@@ -82,6 +82,7 @@ class WalletActivity : BaseActivity(), View.OnClickListener, DrawCashView {
coinAdapter.setEmptyView(emptyView) coinAdapter.setEmptyView(emptyView)
coinAdapter.setOnItemClickListener { adapter, view, position -> coinAdapter.setOnItemClickListener { adapter, view, position ->
coinAdapter.setPosition(position) coinAdapter.setPosition(position)
coinAdapter.notifyDataSetChanged()
} }
rv_wallet_coin.layoutManager = GridLayoutManager(this, 3) rv_wallet_coin.layoutManager = GridLayoutManager(this, 3)
rv_wallet_coin.adapter = coinAdapter rv_wallet_coin.adapter = coinAdapter
......
package com.duben.roseplaylet.ui.adapter package com.duben.roseplaylet.ui.adapter
import android.view.View
import android.widget.TextView import android.widget.TextView
import androidx.core.content.ContextCompat
import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
...@@ -25,14 +25,13 @@ class CoinAdapter : BaseQuickAdapter<VipBean.ListBean, BaseViewHolder>(R.layout. ...@@ -25,14 +25,13 @@ class CoinAdapter : BaseQuickAdapter<VipBean.ListBean, BaseViewHolder>(R.layout.
override fun convert(holder: BaseViewHolder, item: VipBean.ListBean) { override fun convert(holder: BaseViewHolder, item: VipBean.ListBean) {
val viewCoin = holder.getView<TextView>(R.id.item_coin) val viewCoin = holder.getView<TextView>(R.id.item_coin)
viewCoin.text = item.title viewCoin.text = item.title
holder.getView<TextView>(R.id.item_cash).text = "" + item.firstPayPrice holder.getView<TextView>(R.id.item_cash).text = "" + item.firstPayPrice
val itemView = holder.getView<View>(R.id.item_view)
if (holder.adapterPosition == selectPosition) { if (holder.adapterPosition == selectPosition) {
viewCoin.setTextColor(ContextCompat.getColor(context, R.color.color_EBCA7B)) itemView.setBackgroundResource(R.drawable.shape_coin_orange)
} else { } else {
viewCoin.setTextColor(ContextCompat.getColor(context, R.color.graya)) itemView.setBackgroundResource(R.drawable.shape_coin_gray)
} }
} }
fun getPosition() = selectPosition fun getPosition() = selectPosition
......
...@@ -7,14 +7,13 @@ import com.duben.library.utils.GlideUtils ...@@ -7,14 +7,13 @@ import com.duben.library.utils.GlideUtils
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.mvp.model.* import com.duben.roseplaylet.mvp.model.*
class ShareInviteAdapter : BaseQuickAdapter<ShareInvite, BaseViewHolder>(R.layout.item_share_invite) { class ShareInviteAdapter : BaseQuickAdapter<ShareUserMsg, BaseViewHolder>(R.layout.item_share_invite) {
override fun convert(holder: BaseViewHolder, item: ShareInvite) { override fun convert(holder: BaseViewHolder, item: ShareUserMsg) {
holder.getView<TextView>(R.id.tv_name).text = item.nickName holder.getView<TextView>(R.id.tv_name).text = item.nickName
holder.getView<TextView>(R.id.tv_sex).text = "" + item.sex holder.getView<TextView>(R.id.tv_sex).text = "" + item.sex
holder.getView<TextView>(R.id.tv_status).text = "" + item.status holder.getView<TextView>(R.id.tv_status).text = "" + item.status
holder.getView<TextView>(R.id.tv_reward).text = "" + item.cash holder.getView<TextView>(R.id.tv_reward).text = "" + item.cash
GlideUtils.loadImageView(context, item.head, holder.getView(R.id.iv_avatar)) GlideUtils.loadImageView(context, item.head, holder.getView(R.id.iv_avatar))
} }
} }
\ No newline at end of file
...@@ -116,7 +116,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR ...@@ -116,7 +116,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
homePresenter.signAfterSeconds() homePresenter.signAfterSeconds()
} }
// IMHelper.instance.getImMsg() // IMHelper.instance.getImMsg()
TrackManager.getInstance().getMyInfo() TrackManager.getInstance().getBaseMsg()
} }
AppConfig.showVipAdDialog = false AppConfig.showVipAdDialog = false
......
...@@ -36,10 +36,10 @@ class MessageFragment : LazyLoadBaseFragment(), View.OnClickListener { ...@@ -36,10 +36,10 @@ class MessageFragment : LazyLoadBaseFragment(), View.OnClickListener {
tv_clear_list.setOnClickListener(this) tv_clear_list.setOnClickListener(this)
tabsData.add(String.format("聊天")) tabsData.add(String.format("聊天"))
tabsData.add(String.format("系统消息")) // tabsData.add(String.format("系统消息"))
fragmentsData.add(TUIConversationFragment()) fragmentsData.add(TUIConversationFragment())
fragmentsData.add(SystemMsgFragment()) // fragmentsData.add(SystemMsgFragment())
vpAdapter = MsgPageAdapter(tabsData, fragmentsData, requireActivity()) vpAdapter = MsgPageAdapter(tabsData, fragmentsData, requireActivity())
vp2.adapter = vpAdapter vp2.adapter = vpAdapter
......
...@@ -64,6 +64,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener { ...@@ -64,6 +64,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
} }
if (!TextUtils.isEmpty(userManager?.userID)) { if (!TextUtils.isEmpty(userManager?.userID)) {
myPresenter.getBaseMsg() myPresenter.getBaseMsg()
myPresenter.getUserHallMsg()
} else { } else {
myPresenter.userLogin() myPresenter.userLogin()
} }
...@@ -98,7 +99,11 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener { ...@@ -98,7 +99,11 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
readyGo(CommonDataActivity::class.java, bundle) readyGo(CommonDataActivity::class.java, bundle)
} }
R.id.ll_my_wallet -> { R.id.ll_my_wallet -> {
if (UserManager.getInstance().userSex == 1) {
readyGo(WalletActivity::class.java) readyGo(WalletActivity::class.java)
} else {
readyGo(DrawCashActivity::class.java)
}
} }
R.id.ll_my_invite -> { R.id.ll_my_invite -> {
readyGo(ShareActivity::class.java) readyGo(ShareActivity::class.java)
...@@ -120,18 +125,13 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener { ...@@ -120,18 +125,13 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
R.id.ll_my_settings -> { R.id.ll_my_settings -> {
readyGo(SettingsActivity::class.java) readyGo(SettingsActivity::class.java)
} }
// R.id.tv_my_account -> {
// if (!userManager.userIsLogin()) {
// readyGo(BindMobileActivity::class.java)
// }
// }
} }
} }
override fun getBaseMsgSuc(data: UserBean) { override fun getBaseMsgSuc(data: UserBean) {
toUid = data.idcode toUid = data.idcode
tv_my_nickname.text = data.nickName tv_my_nickname.text = data.nickName
tv_my_label.text = "" + data.age + " " + data.city tv_my_label.text = "" + data.age + " " + data.city
tv_my_id.text = "ID:" + data.idcode tv_my_id.text = "ID:" + data.idcode
GlideUtils.loadImageView(requireContext(), data.headerUrl, civ_my_avatar) GlideUtils.loadImageView(requireContext(), data.headerUrl, civ_my_avatar)
......
...@@ -22,7 +22,6 @@ import com.duben.library.utils.GlideUtils ...@@ -22,7 +22,6 @@ import com.duben.library.utils.GlideUtils
import com.duben.roseplaylet.BuildConfig import com.duben.roseplaylet.BuildConfig
import com.duben.roseplaylet.MintsApplication import com.duben.roseplaylet.MintsApplication
import com.duben.roseplaylet.R import com.duben.roseplaylet.R
import com.duben.roseplaylet.manager.UserManager
import com.duben.roseplaylet.ui.adapter.SharePagerAdapter import com.duben.roseplaylet.ui.adapter.SharePagerAdapter
import com.duben.roseplaylet.utils.BubbleUtils import com.duben.roseplaylet.utils.BubbleUtils
import com.duben.roseplaylet.utils.QRCodeUtil import com.duben.roseplaylet.utils.QRCodeUtil
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#E5C565" android:state_selected="true" /> <item android:color="@color/color_E5C565" android:state_selected="true" />
<item android:color="#8E8E8E" android:state_selected="false" /> <item android:color="@color/color_8E8E8E" android:state_selected="false" />
</selector> </selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_367EE2" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="30dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/color_424446" />
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="141"
android:endColor="#fff6c85a"
android:startColor="#fff7c95a" />
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_FF5967" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="5dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_FFE9CF" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="50dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_15141A" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="50dp" />
<gradient
android:angle="270"
android:endColor="@color/color_CBA37F"
android:startColor="@color/color_F4D9BE" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_424446" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/color_48C550" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="30dip" />
</shape>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/color_232122" android:background="@color/black"
android:orientation="vertical"> android:orientation="vertical">
<include layout="@layout/header_layout" /> <include layout="@layout/header_layout" />
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="30dp" android:layout_height="30dp"
android:background="@color/gray" android:background="@color/color_1F1F1E"
android:gravity="center" android:gravity="center"
android:text="最多上传6张图片,长按可删除照片" android:text="最多上传6张图片,长按可删除照片"
android:textColor="@color/white" /> android:textColor="@color/color_929297" />
<com.duben.roseplaylet.ui.widgets.nineImage.AddImagesView <com.duben.roseplaylet.ui.widgets.nineImage.AddImagesView
android:id="@+id/aiv" android:id="@+id/aiv"
......
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
android:fillViewport="true" android:fillViewport="true"
android:overScrollMode="never"> android:overScrollMode="never">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -31,7 +35,7 @@ ...@@ -31,7 +35,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="15dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:drawableEnd="@mipmap/ic_alipay" android:drawableEnd="@mipmap/ic_alipay"
...@@ -56,7 +60,7 @@ ...@@ -56,7 +60,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="15dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:hint="请填写支付宝账号" android:hint="请填写支付宝账号"
...@@ -79,7 +83,7 @@ ...@@ -79,7 +83,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="15dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:hint="请填写您的真实姓名" android:hint="请填写您的真实姓名"
...@@ -102,7 +106,7 @@ ...@@ -102,7 +106,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="15dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:hint="请填写真实身份证号" android:hint="请填写真实身份证号"
...@@ -111,20 +115,25 @@ ...@@ -111,20 +115,25 @@
android:paddingEnd="20dp" android:paddingEnd="20dp"
android:textSize="16sp" /> android:textSize="16sp" />
</LinearLayout>
<Button <Button
android:id="@+id/btn_submit" android:id="@+id/btn_submit"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginStart="30dp" android:layout_marginStart="30dp"
android:layout_marginTop="80dp"
android:layout_marginEnd="30dp" android:layout_marginEnd="30dp"
android:background="@drawable/btn_index_submit" android:layout_marginBottom="30dp"
android:background="@drawable/shape_draw_cash_orange"
android:elevation="2dp"
android:text="确认提交" android:text="确认提交"
android:textColor="@color/black" android:textColor="@color/color_31343B"
android:textSize="16sp" android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout>
</FrameLayout>
</com.duben.roseplaylet.ui.widgets.ElasticScrollView> </com.duben.roseplaylet.ui.widgets.ElasticScrollView>
</LinearLayout> </LinearLayout>
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="30dp" android:layout_height="30dp"
android:layout_below="@id/head" android:layout_below="@id/head"
android:background="@color/gray" android:background="@color/color_1F1F1E"
android:gravity="center" android:gravity="center"
android:text="为保护用户隐私,已隐身的用户会被隐藏" android:text="为保护用户隐私,已隐身的用户会被隐藏"
android:textColor="@color/color_929297"
android:textSize="12sp" android:textSize="12sp"
android:visibility="gone" /> android:visibility="gone" />
......
...@@ -8,13 +8,30 @@ ...@@ -8,13 +8,30 @@
<include layout="@layout/header_layout" /> <include layout="@layout/header_layout" />
<com.duben.roseplaylet.ui.widgets.ElasticScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:overScrollMode="never">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="90dp" android:layout_height="90dp"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_banner_write"> android:background="@drawable/shape_label_white">
<View <View
android:id="@+id/line_draw" android:id="@+id/line_draw"
...@@ -30,8 +47,7 @@ ...@@ -30,8 +47,7 @@
android:id="@+id/tv_balance" android:id="@+id/tv_balance"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="18dp"
android:text="0.00"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
...@@ -44,8 +60,8 @@ ...@@ -44,8 +60,8 @@
android:id="@+id/tv_balance_label" android:id="@+id/tv_balance_label"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="可提取(币)" android:text="可提取(币)"
android:textColor="@color/gray" android:textColor="@color/color_6F6F71"
app:layout_constraintEnd_toEndOf="@id/line_draw" app:layout_constraintEnd_toEndOf="@id/line_draw"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_balance" /> app:layout_constraintTop_toBottomOf="@id/tv_balance" />
...@@ -54,8 +70,7 @@ ...@@ -54,8 +70,7 @@
android:id="@+id/tv_cash" android:id="@+id/tv_cash"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="18dp"
android:text="0.00"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
...@@ -69,57 +84,29 @@ ...@@ -69,57 +84,29 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="待审核(币)" android:text="待审核(币)"
android:textColor="@color/gray" android:textColor="@color/color_6F6F71"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/line_draw" app:layout_constraintStart_toStartOf="@id/line_draw"
app:layout_constraintTop_toBottomOf="@id/tv_cash" /> app:layout_constraintTop_toBottomOf="@id/tv_cash" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="*"
android:textColor="@color/red"
android:textSize="20sp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="5dp" android:layout_marginStart="20dp"
android:text="提现将在1到3个工作日内完成,提现时收取5%的手续费。" android:layout_marginTop="20dp"
android:textColor="@color/white" /> android:text="奖励提取方式"
</LinearLayout> android:textColor="@color/color_EFEEEB"
android:textSize="18sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:text="选择提现方式"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:orientation="vertical" android:layout_marginEnd="20dp"
android:paddingStart="10dp" android:orientation="vertical">
android:paddingEnd="10dp">
<RelativeLayout <RelativeLayout
android:id="@+id/ll_draw_cash_wx" android:id="@+id/ll_draw_cash_wx"
...@@ -175,9 +162,8 @@ ...@@ -175,9 +162,8 @@
android:drawablePadding="6dp" android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="支付宝" android:text="支付宝"
android:textColor="@color/white" android:textColor="@color/color_EFEEEB"
android:textSize="14sp" android:textSize="16sp"
android:textStyle="bold"
app:drawableLeftCompat="@mipmap/ic_alipay" /> app:drawableLeftCompat="@mipmap/ic_alipay" />
<ImageView <ImageView
...@@ -196,40 +182,40 @@ ...@@ -196,40 +182,40 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginEnd="30dp"
android:text="去绑定" android:text="去绑定"
android:textColor="@color/white" android:textColor="@color/color_EFEEEB"
android:textSize="14sp" android:textSize="14sp" />
android:textStyle="bold" />
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:src="@mipmap/ic_arrow_right_gray" />
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="5dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:text="提现金额" android:text="提现金额"
android:textColor="@color/white" android:textColor="@color/color_EFEEEB"
android:textSize="16sp" /> android:textSize="18sp" />
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_drawcash" android:id="@+id/ll_drawcash"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="30dp" android:layout_marginStart="20dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginEnd="30dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:elevation="2dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal"> android:orientation="horizontal">
...@@ -258,17 +244,78 @@ ...@@ -258,17 +244,78 @@
</LinearLayout> </LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="30dp"
android:text="收益是什么?"
android:textColor="@color/color_EFEEEB"
android:textSize="16sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:text="在app内通过分享有奖等活动获得的奖励,可提取消费"
android:textColor="@color/color_A5A5A7" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="30dp"
android:text="怎么获得收益?"
android:textColor="@color/color_EFEEEB"
android:textSize="16sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:text="在参与平台活动如分享有奖等可获得"
android:textColor="@color/color_A5A5A7" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="30dp"
android:text="为什么无法提取收益?"
android:textColor="@color/color_EFEEEB"
android:textSize="16sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:lineHeight="20dp"
android:text="1.在因收益需要经过如无投诉类的系统审核,通过审核的可正常提取;\n2.每次提取数额不低于100元;\n3.每日最多可发起提取10次;\n4.每日最多可提取总金额不超过3000元;"
android:textColor="@color/color_A5A5A7" />
</LinearLayout>
<Button <Button
android:id="@+id/btn_drawcash" android:id="@+id/btn_drawcash"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginStart="30dp" android:layout_marginStart="30dp"
android:layout_marginTop="30dp"
android:layout_marginEnd="30dp" android:layout_marginEnd="30dp"
android:background="@drawable/btn_index_submit" android:layout_marginBottom="30dp"
android:text="余额提现" android:background="@drawable/shape_draw_cash_orange"
android:textColor="@color/white" android:elevation="2dp"
android:textSize="20sp" android:text="提取奖励"
android:textColor="@color/color_31343B"
android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold" />
</FrameLayout>
</com.duben.roseplaylet.ui.widgets.ElasticScrollView>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
android:id="@+id/layout_avatar" android:id="@+id/layout_avatar"
layout="@layout/layout_basic_header" layout="@layout/layout_basic_header"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="70dp"
android:layout_marginBottom="10dp" /> android:layout_marginBottom="10dp" />
<include <include
......
...@@ -50,8 +50,7 @@ ...@@ -50,8 +50,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="剧场" android:text="剧场"
android:textColor="@color/item_text_sel" android:textColor="@color/item_text_sel"
android:textSize="16sp" android:textSize="16sp" />
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -76,8 +75,7 @@ ...@@ -76,8 +75,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="广场" android:text="广场"
android:textColor="@color/item_text_sel" android:textColor="@color/item_text_sel"
android:textSize="16sp" android:textSize="16sp" />
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -102,8 +100,7 @@ ...@@ -102,8 +100,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="邀请有奖" android:text="邀请有奖"
android:textColor="@color/item_text_sel" android:textColor="@color/item_text_sel"
android:textSize="16sp" android:textSize="16sp" />
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -128,8 +125,7 @@ ...@@ -128,8 +125,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="消息" android:text="消息"
android:textColor="@color/item_text_sel" android:textColor="@color/item_text_sel"
android:textSize="16sp" android:textSize="16sp" />
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -154,8 +150,7 @@ ...@@ -154,8 +150,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="我的" android:text="我的"
android:textColor="@color/item_text_sel" android:textColor="@color/item_text_sel"
android:textSize="16sp" android:textSize="16sp" />
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/black"
android:orientation="vertical"> android:orientation="vertical">
<include layout="@layout/header_layout" /> <include layout="@layout/header_layout" />
...@@ -14,53 +15,112 @@ ...@@ -14,53 +15,112 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical"
android:paddingStart="15dp"
android:paddingEnd="15dp">
<include <LinearLayout
android:id="@+id/item_invitedCode" android:layout_width="match_parent"
layout="@layout/item_settings" /> android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="@drawable/shape_setting_black"
android:orientation="vertical"
android:paddingStart="10dp"
android:paddingTop="20dp"
android:paddingEnd="10dp"
android:paddingBottom="20dp">
<include <TextView
android:id="@+id/item_phone" android:layout_width="wrap_content"
layout="@layout/item_settings" /> android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginBottom="20dp"
android:text="账号与安全"
android:textColor="@color/white"
android:textSize="18sp" />
<include <include
android:id="@+id/item_cleanCache" android:id="@+id/layout_phone"
layout="@layout/item_settings" /> layout="@layout/layout_basic_text" />
<include <include
android:id="@+id/item_userAgree" android:id="@+id/layout_cancel"
layout="@layout/item_settings" /> layout="@layout/layout_basic_text" />
<include </LinearLayout>
android:id="@+id/item_privacyAgree"
layout="@layout/item_settings" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="@drawable/shape_setting_black"
android:orientation="vertical"
android:paddingStart="10dp"
android:paddingTop="20dp"
android:paddingEnd="10dp"
android:paddingBottom="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginBottom="20dp"
android:text="缓存管理"
android:textColor="@color/white"
android:textSize="18sp" />
<include <include
android:id="@+id/item_aboutUs" android:id="@+id/layout_cache"
layout="@layout/item_settings" /> layout="@layout/layout_basic_text" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="@drawable/shape_setting_black"
android:orientation="vertical"
android:paddingStart="10dp"
android:paddingTop="20dp"
android:paddingEnd="10dp"
android:paddingBottom="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginBottom="20dp"
android:text="关于玫瑰陪看"
android:textColor="@color/white"
android:textSize="18sp" />
<include <include
android:id="@+id/item_cancel" android:id="@+id/layout_feedback"
layout="@layout/item_settings" /> layout="@layout/layout_basic_text" />
<include <include
android:id="@+id/item_back" android:id="@+id/layout_about_us"
layout="@layout/item_settings" layout="@layout/layout_basic_text" />
android:visibility="gone" />
</LinearLayout>
<Button <Button
android:id="@+id/btn_switch" android:id="@+id/btn_login_out"
android:layout_width="200dp" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_marginStart="30dp"
android:layout_marginTop="20dp" android:layout_marginTop="30dp"
android:layout_marginBottom="20dp" android:layout_marginEnd="30dp"
android:background="@drawable/shape_btn_gold_left" android:layout_marginBottom="30dp"
android:background="@drawable/shape_draw_cash_orange"
android:elevation="2dp"
android:text="退出登录" android:text="退出登录"
android:textColor="@color/white" android:textColor="@color/color_31343B"
android:textSize="16sp" android:textSize="18sp"
android:visibility="gone" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/color_232122" android:background="@color/black"
android:orientation="vertical"> android:orientation="vertical">
<include layout="@layout/header_layout" /> <include layout="@layout/header_layout" />
...@@ -47,18 +46,18 @@ ...@@ -47,18 +46,18 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:textColor="@color/color_DB6572" android:textColor="@color/color_FF5967"
android:textSize="16sp" /> android:textSize="16sp" />
<TextView <TextView
android:id="@+id/tv_copy" android:id="@+id/tv_copy"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/shape_green" android:background="@drawable/shape_copy_red"
android:paddingStart="15dp" android:paddingStart="15dp"
android:paddingTop="6dp" android:paddingTop="4dp"
android:paddingEnd="15dp" android:paddingEnd="15dp"
android:paddingBottom="6dp" android:paddingBottom="4dp"
android:text="复制" android:text="复制"
android:textColor="@color/white" /> android:textColor="@color/white" />
...@@ -67,19 +66,21 @@ ...@@ -67,19 +66,21 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="45dp" android:layout_height="45dp"
android:layout_marginStart="15dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="40dp"
android:layout_marginEnd="15dp"> android:layout_marginEnd="20dp">
<TextView <TextView
android:id="@+id/tv_share_img" android:id="@+id/tv_share_img"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginEnd="10dp" android:layout_marginEnd="20dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_profile_chat" android:background="@drawable/shape_share_btn"
android:elevation="2dp"
android:gravity="center" android:gravity="center"
android:text="分享海报" android:text="分享海报"
android:textColor="@color/color_633C1B"
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> android:textStyle="bold" />
...@@ -87,11 +88,13 @@ ...@@ -87,11 +88,13 @@
android:id="@+id/tv_share_url" android:id="@+id/tv_share_url"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginStart="10dp" android:layout_marginStart="20dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_profile_chat" android:background="@drawable/shape_share_btn"
android:elevation="2dp"
android:gravity="center" android:gravity="center"
android:text="分享链接" android:text="分享链接"
android:textColor="@color/color_633C1B"
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> android:textStyle="bold" />
...@@ -100,9 +103,9 @@ ...@@ -100,9 +103,9 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginStart="15dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="15dp"
...@@ -111,10 +114,11 @@ ...@@ -111,10 +114,11 @@
<EditText <EditText
android:id="@+id/et_code" android:id="@+id/et_code"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="30dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@null" android:background="@null"
android:hint="填写邀请码 (非必填)" android:hint="填写邀请码 (非必填)"
android:textColor="@color/black"
android:textSize="14sp" /> android:textSize="14sp" />
<TextView <TextView
...@@ -132,9 +136,9 @@ ...@@ -132,9 +136,9 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="15dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:paddingTop="20dp" android:paddingTop="20dp"
android:paddingBottom="30dp"> android:paddingBottom="30dp">
...@@ -156,7 +160,7 @@ ...@@ -156,7 +160,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="分享人数" android:text="分享人数"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintEnd_toStartOf="@id/tv_label_reward" app:layout_constraintEnd_toStartOf="@id/tv_label_reward"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
...@@ -168,7 +172,7 @@ ...@@ -168,7 +172,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="奖励" android:text="奖励"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintEnd_toStartOf="@id/tv_label_cash" app:layout_constraintEnd_toStartOf="@id/tv_label_cash"
app:layout_constraintStart_toEndOf="@id/tv_label_count" app:layout_constraintStart_toEndOf="@id/tv_label_count"
...@@ -180,7 +184,7 @@ ...@@ -180,7 +184,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="可提取" android:text="可提取"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/tv_label_reward" app:layout_constraintStart_toEndOf="@id/tv_label_reward"
...@@ -192,10 +196,10 @@ ...@@ -192,10 +196,10 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="1人" android:text="1人"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="10sp" android:textSize="10sp"
app:layout_constraintEnd_toStartOf="@id/tv_share_reward" app:layout_constraintEnd_toEndOf="@id/tv_label_count"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="@id/tv_label_count"
app:layout_constraintTop_toBottomOf="@id/tv_label_count" /> app:layout_constraintTop_toBottomOf="@id/tv_label_count" />
<TextView <TextView
...@@ -204,10 +208,10 @@ ...@@ -204,10 +208,10 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="0元" android:text="0元"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="10sp" android:textSize="10sp"
app:layout_constraintEnd_toStartOf="@id/tv_share_cash" app:layout_constraintEnd_toEndOf="@id/tv_label_reward"
app:layout_constraintStart_toEndOf="@id/tv_share_count" app:layout_constraintStart_toStartOf="@id/tv_label_reward"
app:layout_constraintTop_toBottomOf="@id/tv_label_count" /> app:layout_constraintTop_toBottomOf="@id/tv_label_count" />
<TextView <TextView
...@@ -216,10 +220,10 @@ ...@@ -216,10 +220,10 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:text="0元" android:text="0元"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="10sp" android:textSize="10sp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="@id/tv_label_cash"
app:layout_constraintStart_toEndOf="@id/tv_share_reward" app:layout_constraintStart_toStartOf="@id/tv_label_cash"
app:layout_constraintTop_toBottomOf="@id/tv_label_count" /> app:layout_constraintTop_toBottomOf="@id/tv_label_count" />
<View <View
...@@ -245,9 +249,57 @@ ...@@ -245,9 +249,57 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="15dp" android:layout_marginStart="20dp"
android:layout_marginTop="30dp"
android:layout_marginEnd="20dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1.邀请奖励每满100元可提取,2个工作日到账。"
android:textColor="@color/color_F1D6BA" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="2.通过邀请男士完成注册,即可获取相应VIP会员奖励。"
android:textColor="@color/color_F1D6BA" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:lineHeight="20dp"
android:text="邀请人数 3位 5位 7位 10位\n奖励天数 1天 3天 5天 10天"
android:textColor="@color/color_F1D6BA" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="3.通过邀请用户充值VIP即可获取相应会员奖励。"
android:textColor="@color/color_F1D6BA" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:lineHeight="20dp"
android:text="充值时长 半月会员 月会员 季会员 半年会员\n奖励天数 1天 3天 10天 15天"
android:textColor="@color/color_F1D6BA" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="20dp" android:paddingTop="20dp"
...@@ -265,7 +317,7 @@ ...@@ -265,7 +317,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:background="@color/color_D2D2D2" android:background="@color/color_F8F8FA"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="10dp"> android:paddingStart="10dp">
...@@ -274,8 +326,8 @@ ...@@ -274,8 +326,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1.5" android:layout_weight="1.5"
android:text="已邀请好友" android:text="已邀请好友"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -283,8 +335,8 @@ ...@@ -283,8 +335,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="性别" android:text="性别"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -292,8 +344,8 @@ ...@@ -292,8 +344,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="邀请状态" android:text="邀请状态"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -301,8 +353,8 @@ ...@@ -301,8 +353,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="提成(元)" android:text="提成(元)"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
</LinearLayout> </LinearLayout>
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
...@@ -318,9 +370,9 @@ ...@@ -318,9 +370,9 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="15dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_bg_write" android:background="@drawable/shape_bg_write"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="10dp" android:paddingTop="10dp"
...@@ -337,8 +389,8 @@ ...@@ -337,8 +389,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="用户" android:text="用户"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -346,8 +398,8 @@ ...@@ -346,8 +398,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="邀请人数(人)" android:text="邀请人数(人)"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
...@@ -355,8 +407,8 @@ ...@@ -355,8 +407,8 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
android:text="奖励金额(元)" android:text="奖励金额(元)"
android:textColor="@color/gray" android:textColor="@color/color_656565"
android:textSize="14sp" /> android:textSize="16sp" />
</LinearLayout> </LinearLayout>
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:background="@drawable/shape_banner_write"> android:background="@drawable/shape_label_white">
<View <View
android:id="@+id/line_draw" android:id="@+id/line_draw"
...@@ -41,8 +41,7 @@ ...@@ -41,8 +41,7 @@
android:id="@+id/tv_balance" android:id="@+id/tv_balance"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="18dp"
android:text="0.00"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
...@@ -56,7 +55,7 @@ ...@@ -56,7 +55,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="充值金额(币)" android:text="充值金额(币)"
android:textColor="@color/gray" android:textColor="@color/color_6F6F71"
app:layout_constraintEnd_toEndOf="@id/line_draw" app:layout_constraintEnd_toEndOf="@id/line_draw"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_balance" /> app:layout_constraintTop_toBottomOf="@id/tv_balance" />
...@@ -65,8 +64,7 @@ ...@@ -65,8 +64,7 @@
android:id="@+id/tv_cash" android:id="@+id/tv_cash"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="18dp"
android:text="0.00"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
...@@ -79,8 +77,8 @@ ...@@ -79,8 +77,8 @@
android:id="@+id/tv_cash_label" android:id="@+id/tv_cash_label"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="收益(币) >" android:text="收益(币) "
android:textColor="@color/gray" android:textColor="@color/color_6F6F71"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/line_draw" app:layout_constraintStart_toStartOf="@id/line_draw"
app:layout_constraintTop_toBottomOf="@id/tv_cash" /> app:layout_constraintTop_toBottomOf="@id/tv_cash" />
...@@ -100,7 +98,7 @@ ...@@ -100,7 +98,7 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginBottom="30dp" android:layout_marginBottom="30dp"
android:text="选择充值套餐" android:text="选择充值套餐"
android:textColor="@color/graya" android:textColor="@color/color_EFEEEB"
android:textSize="18sp" /> android:textSize="18sp" />
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
...@@ -118,9 +116,9 @@ ...@@ -118,9 +116,9 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="45dp" android:layout_height="45dp"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginEnd="15dp" android:layout_marginEnd="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_green" android:background="@drawable/shape_alipay_blue"
android:drawablePadding="-15dp" android:drawablePadding="-15dp"
android:paddingStart="15dp" android:paddingStart="15dp"
android:text="支付宝支付" android:text="支付宝支付"
...@@ -132,10 +130,10 @@ ...@@ -132,10 +130,10 @@
android:id="@+id/btn_wxpay" android:id="@+id/btn_wxpay"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="45dp" android:layout_height="45dp"
android:layout_marginStart="15dp" android:layout_marginStart="10dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_green" android:background="@drawable/shape_wechat_green"
android:drawablePadding="-15dp" android:drawablePadding="-15dp"
android:paddingStart="15dp" android:paddingStart="15dp"
android:text="微信支付" android:text="微信支付"
...@@ -160,13 +158,13 @@ ...@@ -160,13 +158,13 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginBottom="30dp" android:layout_marginBottom="30dp"
android:text="我的优享" android:text="我的优享"
android:textColor="@color/graya" android:textColor="@color/color_EFEEEB"
android:textSize="18sp" /> android:textSize="18sp" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="60dp"
android:background="@color/gray" android:background="@drawable/shape_wallet_gray"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="20dp" android:paddingStart="20dp"
android:paddingEnd="20dp"> android:paddingEnd="20dp">
...@@ -176,19 +174,19 @@ ...@@ -176,19 +174,19 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="会员特权=优享特权+免费畅聊" android:text="会员特权=优享特权+免费畅聊"
android:textColor="@color/graya" /> android:textColor="@color/color_A5A5A7" />
<TextView <TextView
android:id="@+id/tv_go_vip" android:id="@+id/tv_go_vip"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/shape_bg_hall_btn3" android:background="@drawable/shape_bg_hall_btn3"
android:paddingStart="10dp" android:paddingStart="15dp"
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingEnd="10dp" android:paddingEnd="15dp"
android:paddingBottom="4dp" android:paddingBottom="4dp"
android:text="去开通" android:text="去开通"
android:textColor="@color/color_FCE8BA" /> android:textColor="@color/color_F6DA8F" />
</LinearLayout> </LinearLayout>
...@@ -196,7 +194,7 @@ ...@@ -196,7 +194,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginTop="15dp" android:layout_marginTop="15dp"
android:background="@color/gray" android:background="@drawable/shape_wallet_gray"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="20dp" android:paddingStart="20dp"
android:paddingEnd="20dp"> android:paddingEnd="20dp">
...@@ -206,19 +204,19 @@ ...@@ -206,19 +204,19 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="分享有奖=免费VIP/金币奖励" android:text="分享有奖=免费VIP/金币奖励"
android:textColor="@color/graya" /> android:textColor="@color/color_A5A5A7" />
<TextView <TextView
android:id="@+id/tv_go_share" android:id="@+id/tv_go_share"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/shape_bg_hall_btn3" android:background="@drawable/shape_bg_hall_btn3"
android:paddingStart="10dp" android:paddingStart="15dp"
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingEnd="10dp" android:paddingEnd="15dp"
android:paddingBottom="4dp" android:paddingBottom="4dp"
android:text="去分享" android:text="去分享"
android:textColor="@color/color_FCE8BA" /> android:textColor="@color/color_F6DA8F" />
</LinearLayout> </LinearLayout>
......
...@@ -49,6 +49,6 @@ ...@@ -49,6 +49,6 @@
android:layout_below="@id/ll_content" android:layout_below="@id/ll_content"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="30dp" android:layout_marginTop="30dp"
android:src="@mipmap/ic_close" /> android:src="@mipmap/ic_quit_white" />
</RelativeLayout> </RelativeLayout>
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:layout_marginBottom="20dp" android:layout_marginBottom="20dp"
android:background="@drawable/shape_chat_gray" android:id="@+id/item_view"
android:background="@drawable/shape_coin_gray"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="vertical"> android:orientation="vertical">
...@@ -17,8 +18,8 @@ ...@@ -17,8 +18,8 @@
android:drawablePadding="6dp" android:drawablePadding="6dp"
android:gravity="center" android:gravity="center"
android:text="210" android:text="210"
android:textColor="@color/graya" android:textColor="@color/color_F6DA8F"
android:textSize="18sp" android:textSize="20sp"
app:drawableStartCompat="@mipmap/ic_call_wx" /> app:drawableStartCompat="@mipmap/ic_call_wx" />
<TextView <TextView
...@@ -28,6 +29,6 @@ ...@@ -28,6 +29,6 @@
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginBottom="20dp" android:layout_marginBottom="20dp"
android:text="¥30" android:text="¥30"
android:textColor="@color/graya" /> android:textColor="@color/color_F6DA8F" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -53,9 +53,10 @@ ...@@ -53,9 +53,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/tv_recommend_name" android:layout_below="@id/tv_recommend_name"
android:layout_marginTop="5dp"
android:gravity="center" android:gravity="center"
android:text="308.1km" android:text="308.1km"
android:textColor="@color/color_D2D2D2" android:textColor="@color/color_929297"
android:textSize="12sp" /> android:textSize="12sp" />
<TextView <TextView
...@@ -66,8 +67,7 @@ ...@@ -66,8 +67,7 @@
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:gravity="center" android:gravity="center"
android:text="2025-1-1" android:text="2025-1-1"
android:textColor="@color/color_D2D2D2" android:textColor="@color/color_929297" />
android:textSize="12sp" />
<com.airbnb.lottie.LottieAnimationView <com.airbnb.lottie.LottieAnimationView
android:id="@+id/iv_recommend_heart" android:id="@+id/iv_recommend_heart"
......
...@@ -10,9 +10,8 @@ ...@@ -10,9 +10,8 @@
android:layout_width="100dp" android:layout_width="100dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:text="QQ"
android:textColor="@color/gray" android:textColor="@color/gray"
android:textSize="18sp" /> android:textSize="16sp" />
<TextView <TextView
android:id="@+id/label_start2" android:id="@+id/label_start2"
...@@ -31,14 +30,13 @@ ...@@ -31,14 +30,13 @@
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_toEndOf="@id/label_start" android:layout_toEndOf="@id/label_start"
android:gravity="end" android:gravity="end"
android:hint="点击输入QQ" android:textColor="@color/color_999999"
android:textColor="@color/white" android:textColorHint="@color/color_999999"
android:textSize="18sp" android:textSize="16sp"
android:visibility="visible" /> android:visibility="visible" />
<View <View
android:layout_width="match_parent" style="@style/view_line_28282E"
android:layout_height="1dp" android:layout_alignParentBottom="true" />
android:layout_alignParentBottom="true"
android:background="@color/my_color_gray" />
</RelativeLayout> </RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="70dp"
android:paddingStart="15dp" android:paddingStart="15dp"
android:paddingEnd="15dp"> android:paddingEnd="15dp">
...@@ -17,14 +17,21 @@ ...@@ -17,14 +17,21 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginEnd="30dp"
android:layout_toEndOf="@id/iv_avatar" android:layout_toEndOf="@id/iv_avatar"
android:drawableEnd="@mipmap/ic_label_right"
android:gravity="end" android:gravity="end"
android:textColor="@color/black" android:textColor="@color/color_999999"
android:textSize="18sp" /> android:textSize="16sp" />
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:src="@mipmap/ic_arrow_right_gray" />
<View <View
style="@style/view_line_E6E6E6" style="@style/view_line_28282E"
android:layout_alignParentBottom="true" /> android:layout_alignParentBottom="true" />
</RelativeLayout> </RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
...@@ -16,7 +15,6 @@ ...@@ -16,7 +15,6 @@
android:layout_width="120dp" android:layout_width="120dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:text="QQ"
android:textColor="@color/color_999999" android:textColor="@color/color_999999"
android:textSize="16sp" /> android:textSize="16sp" />
...@@ -25,7 +23,6 @@ ...@@ -25,7 +23,6 @@
android:layout_width="120dp" android:layout_width="120dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/label_start" android:layout_below="@id/label_start"
android:text="QQ"
android:textColor="@color/gray" android:textColor="@color/gray"
android:textSize="10sp" android:textSize="10sp"
android:visibility="gone" /> android:visibility="gone" />
...@@ -39,7 +36,7 @@ ...@@ -39,7 +36,7 @@
android:layout_toEndOf="@id/label_start" android:layout_toEndOf="@id/label_start"
android:gravity="end" android:gravity="end"
android:textColor="@color/color_999999" android:textColor="@color/color_999999"
android:textSize="18sp" /> android:textSize="16sp" />
<ImageView <ImageView
android:layout_width="20dp" android:layout_width="20dp"
......
...@@ -85,6 +85,25 @@ ...@@ -85,6 +85,25 @@
<color name="color_999999">#999999</color> <color name="color_999999">#999999</color>
<color name="color_818181">#818181</color> <color name="color_818181">#818181</color>
<color name="color_E8C265">#E8C265</color> <color name="color_E8C265">#E8C265</color>
<color name="color_FF5967">#FF5967</color>
<color name="color_633C1B">#633C1B</color>
<color name="color_F4D9BE">#F4D9BE</color>
<color name="color_CBA37F">#CBA37F</color>
<color name="color_F8F8FA">#F8F8FA</color>
<color name="color_656565">#656565</color>
<color name="color_F1D6BA">#F1D6BA</color>
<color name="color_A5A5A7">#A5A5A7</color>
<color name="color_F6DA8F">#F6DA8F</color>
<color name="color_424446">#424446</color>
<color name="color_367EE2">#367EE2</color>
<color name="color_48C550">#48C550</color>
<color name="color_6F6F71">#6F6F71</color>
<color name="color_EFEEEB">#EFEEEB</color>
<color name="color_31343B">#31343B</color>
<color name="color_FFE9CF">#FFE9CF</color>
<color name="color_929297">#929297</color>
<color name="color_1F1F1E">#1F1F1E</color>
<color name="color_252429">#252429</color> <color name="color_252429">#252429</color>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment