Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
fc12fd52
Commit
fc12fd52
authored
Nov 28, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加QQ群客服
parent
840353e1
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
270 additions
and
64 deletions
+270
-64
Constant.kt
.../app/src/main/java/com/mints/goodmoney/common/Constant.kt
+10
-0
CustomerServiceManager.kt
...ava/com/mints/goodmoney/manager/CustomerServiceManager.kt
+7
-6
UserManager.java
...rc/main/java/com/mints/goodmoney/manager/UserManager.java
+2
-0
MyInfo.java
...p/src/main/java/com/mints/goodmoney/mvp/model/MyInfo.java
+67
-0
FriendsFragment.kt
...n/java/com/mints/goodmoney/ui/fragment/FriendsFragment.kt
+62
-11
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+114
-31
CountDownVedioView.java
...va/com/mints/goodmoney/ui/widgets/CountDownVedioView.java
+1
-1
dialog_friends.xml
GoodMoney/app/src/main/res/layout/dialog_friends.xml
+0
-1
dialog_main.xml
GoodMoney/app/src/main/res/layout/dialog_main.xml
+1
-1
fragment_main_my.xml
GoodMoney/app/src/main/res/layout/fragment_main_my.xml
+2
-2
item_fragment_main_my_customer_service.xml
...ain/res/layout/item_fragment_main_my_customer_service.xml
+4
-11
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/common/Constant.kt
View file @
fc12fd52
...
...
@@ -53,6 +53,16 @@ object Constant {
*/
const
val
ISFIRSTENTER
=
"isfirstenter"
/**
* 我的页面第一次邀请提醒
*/
const
val
FIRST_SHARE_MY
=
"first_share_my"
/**
* 分红页面第一次邀请提醒
*/
const
val
FIRST_SHARE_INVITED
=
"first_share_invited"
/**
* 存储地址 /storage/emulated/0/test/
*/
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/CustomerServiceManager.kt
View file @
fc12fd52
...
...
@@ -31,15 +31,16 @@ object CustomerServiceManager {
/****************
*
* 发起添加群流程。群号:
淘金空间官方6群(882880585) 的 key 为: qzUgFmCBsQxVAyPUm8Mi7-UtJu9m5-m8
* 调用 joinQQGroup(
qzUgFmCBsQxVAyPUm8Mi7-UtJu9m5-m8) 即可发起手Q客户端申请加群 淘金空间官方6群(882880585
)
* 发起添加群流程。群号:
好赚钱官方1群(971534757) 的 key 为: kf-7yVcbY2iKltXVDOtVCPez1zCBNcl4
* 调用 joinQQGroup(
kf-7yVcbY2iKltXVDOtVCPez1zCBNcl4) 即可发起手Q客户端申请加群 好赚钱官方1群(971534757
)
*
* @param key 由官网生成的key
* @return 返回true表示呼起手Q成功,返回fals表示呼起失败
*/
fun
joinQQGroup
(
key
:
String
,
activity
:
Activity
)
{
* @return 返回true表示呼起手Q成功,返回false表示呼起失败
******************/
fun
joinQQGroup
(
url
:
String
,
activity
:
Activity
)
{
val
intent
=
Intent
()
intent
.
data
=
Uri
.
parse
(
"mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3D$key"
)
intent
.
data
=
Uri
.
parse
(
url
)
// 此Flag可根据具体产品需要自定义,如设置,则在加群界面按返回,返回手Q主界面,不设置,按返回会返回到呼起产品界面 //intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
try
{
activity
.
startActivity
(
intent
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/UserManager.java
View file @
fc12fd52
...
...
@@ -79,6 +79,8 @@ public class UserManager {
private
static
final
String
WX_OPENID
=
"wx_openid"
;
public
static
UserManager
getInstance
()
{
if
(
_inst
!=
null
)
{
return
_inst
;
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/model/MyInfo.java
View file @
fc12fd52
...
...
@@ -11,8 +11,17 @@ public class MyInfo implements Serializable {
*/
private
UserMsgBean
userMsg
;
private
QqMsgBean
qqMsg
;
private
List
<
AutoListBean
>
autoList
;
public
void
setQqMsg
(
QqMsgBean
qqMsg
)
{
this
.
qqMsg
=
qqMsg
;
}
public
QqMsgBean
getQqMsg
()
{
return
qqMsg
;
}
public
UserMsgBean
getUserMsg
()
{
return
userMsg
;
}
...
...
@@ -251,4 +260,62 @@ public class MyInfo implements Serializable {
}
}
}
/**
* useqq : {"qq":"971534757","name":"好赚钱官方1群","url":"mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26jump_from%3Dwebapi%26k%3Dkf-7yVcbY2iKltXVDOtVCPez1zCBNcl4"}
*/
public
class
QqMsgBean
implements
Serializable
{
private
UseqqBean
useqq
;
public
UseqqBean
getUseqq
()
{
return
useqq
;
}
public
void
setUseqq
(
UseqqBean
useQQ
)
{
this
.
useqq
=
useQQ
;
}
public
UserMsgBean
getUserMsg
()
{
return
userMsg
;
}
public
class
UseqqBean
implements
Serializable
{
/**
* qq : 971534757
* name : 好赚钱官方1群
* url : mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26jump_from%3Dwebapi%26k%3Dkf-7yVcbY2iKltXVDOtVCPez1zCBNcl4
*/
private
String
qq
;
private
String
name
;
private
String
url
;
public
String
getQq
()
{
return
qq
;
}
public
void
setQq
(
String
qq
)
{
this
.
qq
=
qq
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getUrl
()
{
return
url
;
}
public
void
setUrl
(
String
url
)
{
this
.
url
=
url
;
}
}
}
}
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/FriendsFragment.kt
View file @
fc12fd52
...
...
@@ -26,6 +26,7 @@ import com.mints.goodmoney.ui.adapter.FriendsPagerAdapter
import
com.mints.goodmoney.ui.adapter.InvitedAdapter
import
com.mints.goodmoney.ui.fragment.base.BaseFragment
import
com.mints.goodmoney.ui.widgets.BonusDialog
import
com.mints.goodmoney.ui.widgets.CustomDialogAsApple
import
com.mints.goodmoney.ui.widgets.DialogListener
import
com.mints.goodmoney.utils.ImageUtil
import
com.mints.goodmoney.utils.SpanUtils
...
...
@@ -33,6 +34,7 @@ import com.scwang.smartrefresh.layout.api.RefreshLayout
import
com.scwang.smartrefresh.layout.listener.OnRefreshListener
import
kotlinx.android.synthetic.main.fragment_main_friends.*
import
kotlinx.android.synthetic.main.header_layout.*
import
net.grandcentrix.tray.AppPreferences
/**
* 描述:邀请好友
...
...
@@ -65,6 +67,10 @@ class FriendsFragment : BaseFragment(), FriendsView, OnRefreshListener, View.OnC
private
var
rope
:
YoYo
.
YoYoString
?
=
null
private
var
cdaa
:
CustomDialogAsApple
?
=
null
private
val
ps
by
lazy
{
AppPreferences
(
context
)
}
override
fun
getContentViewLayoutID
()
=
R
.
layout
.
fragment_main_friends
override
fun
initViewsAndEvents
()
{
...
...
@@ -339,18 +345,23 @@ class FriendsFragment : BaseFragment(), FriendsView, OnRefreshListener, View.OnC
}
R
.
id
.
btn_invite
->
{
// 邀请好友
val
wechatSp
=
Platform
.
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
// 执行图文分享
wechat
.
share
(
wechatSp
)
if
(!
ps
.
getBoolean
(
Constant
.
FIRST_SHARE_INVITED
,
false
))
{
// 第一次邀请提示弹框
firstWeChatInvite
()
}
else
{
showToast
(
"请先安装微信"
)
val
wechatSp
=
Platform
.
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
// 执行图文分享
wechat
.
share
(
wechatSp
)
}
else
{
showToast
(
"请先安装微信"
)
}
}
}
...
...
@@ -435,4 +446,44 @@ class FriendsFragment : BaseFragment(), FriendsView, OnRefreshListener, View.OnC
}
}
/**
* 第一次微信分享弹框
*/
private
fun
firstWeChatInvite
()
{
cdaa
=
CustomDialogAsApple
(
context
,
object
:
DialogListener
()
{
override
fun
onClick
(
v
:
View
)
{
if
(
cdaa
!=
null
&&
cdaa
!!
.
isShowing
)
{
cdaa
!!
.
dismiss
()
}
when
(
v
.
id
)
{
R
.
id
.
dialog_btn_left
->
{
}
R
.
id
.
dialog_btn_right
->
{
ps
.
put
(
Constant
.
FIRST_SHARE_INVITED
,
true
)
val
wechatSp
=
Platform
.
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
// 执行图文分享
wechat
.
share
(
wechatSp
)
}
else
{
showToast
(
"请先安装微信"
)
}
}
}
}
})
cdaa
!!
.
setTitle
(
"提示"
)
cdaa
!!
.
setContent
(
"分享用户需登录才能获得贡献值"
)
cdaa
!!
.
setLeft
(
"取消"
)
cdaa
!!
.
setRight
(
"打开微信"
)
cdaa
!!
.
show
()
}
}
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
fc12fd52
...
...
@@ -46,6 +46,7 @@ import kotlinx.android.synthetic.main.item_fragment_main_my_customer_service.*
import
kotlinx.android.synthetic.main.item_fragment_main_my_promotions.*
import
kotlinx.android.synthetic.main.item_fragment_main_my_title.*
import
kotlinx.android.synthetic.main.view_title.*
import
net.grandcentrix.tray.AppPreferences
import
java.math.BigDecimal
import
java.util.*
...
...
@@ -57,6 +58,7 @@ import java.util.*
@SuppressLint
(
"SetTextI18n"
)
class
MyFragment
:
BaseFragment
(),
MyView
,
OnItemChildClickListener
,
OnRefreshListener
,
View
.
OnClickListener
,
AdapterView
.
OnItemClickListener
{
private
val
ps
by
lazy
{
AppPreferences
(
context
)
}
private
val
myPresenter
by
lazy
{
MyPresenter
()
}
private
val
userManager
by
lazy
{
UserManager
.
getInstance
()
}
private
lateinit
var
vedioAdingManager
:
VedioAdingManager
...
...
@@ -79,7 +81,6 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
// 轮播图只展示一次
private
var
bannerFlag
=
false
// 轮播图只展示一次
private
var
cdaa
:
CustomDialogAsApple
?
=
null
override
fun
getContentViewLayoutID
()
=
R
.
layout
.
fragment_main_my
...
...
@@ -117,7 +118,7 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
item_title_invitecode
.
setOnClickListener
(
this
)
item_title_invitecode_copy
.
setOnClickListener
(
this
)
ll_my_login
.
setOnClickListener
(
this
)
item_
bottom_text
.
setOnClickListener
(
this
)
item_
customer_service
.
setOnClickListener
(
this
)
item_promotions_egv
.
onItemClickListener
=
this
}
...
...
@@ -401,8 +402,11 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
* 处理列表数据
*/
private
fun
handleRecyData
()
{
dataList
.
clear
()
userConfig
?.
let
{
item_bottom_qqGroupNum
.
text
=
userConfig
?.
qqMsg
?.
useqq
?.
name
+
":"
+
userConfig
?.
qqMsg
?.
useqq
?.
qq
}
dataList
.
clear
()
dataList
.
addAll
(
userConfig
!!
.
autoList
)
mainMyAdapter
?.
notifyDataSetChanged
()
}
...
...
@@ -430,19 +434,24 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
if
(
taskBean
.
otherConfig
!=
null
)
{
when
(
taskBean
.
otherConfig
.
status
)
{
0
->
{
val
wechatSp
=
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
myPresenter
.
cmtShareStatus
()
// 执行图文分享
wechat
.
share
(
wechatSp
)
if
(!
ps
.
getBoolean
(
Constant
.
FIRST_SHARE_MY
,
false
))
{
// 第一次邀请提示弹框
firstWeChatInvite
()
}
else
{
showToast
(
"请先安装微信"
)
val
wechatSp
=
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
myPresenter
.
cmtShareStatus
()
// 执行图文分享
wechat
.
share
(
wechatSp
)
}
else
{
showToast
(
"请先安装微信"
)
}
}
}
1
->
{
...
...
@@ -453,19 +462,24 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
readyGo
(
AwardActivity
::
class
.
java
,
bundle
)
}
2
->
{
val
wechatSp
=
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
myPresenter
.
cmtShareStatus
()
// 执行图文分享
wechat
.
share
(
wechatSp
)
if
(!
ps
.
getBoolean
(
Constant
.
FIRST_SHARE_MY
,
false
))
{
// 第一次邀请提示弹框
firstWeChatInvite
()
}
else
{
showToast
(
"请先安装微信"
)
val
wechatSp
=
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
myPresenter
.
cmtShareStatus
()
// 执行图文分享
wechat
.
share
(
wechatSp
)
}
else
{
showToast
(
"请先安装微信"
)
}
}
}
}
...
...
@@ -542,10 +556,10 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
// 跳转QQ客服
jumpQQ
()
}
// R.id.item_bottom_text
-> {
// 跳转加入QQ群
// CustomerServiceManager.joinQQ(activity!!
)
//
}
R
.
id
.
item_customer_service
->
{
// 跳转加入QQ群
jumpQQGroup
(
)
}
R
.
id
.
item_title_id
->
{
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
LoginActivity
::
class
.
java
)
...
...
@@ -736,4 +750,73 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
cdaa
!!
.
setRight
(
"打开"
)
cdaa
!!
.
show
()
}
/**
* 跳转QQ群弹框
*/
private
fun
jumpQQGroup
()
{
cdaa
=
CustomDialogAsApple
(
context
,
object
:
DialogListener
()
{
override
fun
onClick
(
v
:
View
)
{
if
(
cdaa
!=
null
&&
cdaa
!!
.
isShowing
)
{
cdaa
!!
.
dismiss
()
}
when
(
v
.
id
)
{
R
.
id
.
dialog_btn_left
->
{
}
R
.
id
.
dialog_btn_right
->
{
userConfig
?.
let
{
CustomerServiceManager
.
joinQQGroup
(
it
.
qqMsg
.
useqq
.
url
,
activity
!!
)
}
}
}
}
})
cdaa
!!
.
setTitle
(
"提示"
)
cdaa
!!
.
setContent
(
"好赚钱想要打开QQ"
)
cdaa
!!
.
setLeft
(
"取消"
)
cdaa
!!
.
setRight
(
"打开"
)
cdaa
!!
.
show
()
}
/**
* 第一次微信分享弹框
*/
private
fun
firstWeChatInvite
()
{
cdaa
=
CustomDialogAsApple
(
context
,
object
:
DialogListener
()
{
override
fun
onClick
(
v
:
View
)
{
if
(
cdaa
!=
null
&&
cdaa
!!
.
isShowing
)
{
cdaa
!!
.
dismiss
()
}
when
(
v
.
id
)
{
R
.
id
.
dialog_btn_left
->
{
}
R
.
id
.
dialog_btn_right
->
{
ps
.
put
(
Constant
.
FIRST_SHARE_MY
,
true
)
val
wechatSp
=
ShareParams
()
wechatSp
.
shareType
=
Platform
.
SHARE_WEBPAGE
wechatSp
.
title
=
Constant
.
SHARE_TITLE
wechatSp
.
text
=
Constant
.
SHARE_CONTENT
wechatSp
.
imageData
=
ImageUtil
.
drawableToBitmap
(
ContextCompat
.
getDrawable
(
requireContext
(),
R
.
mipmap
.
ic_launcher
))
wechatSp
.
url
=
Constant
.
SHARE_URL
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(
wechat
.
isClientValid
)
{
myPresenter
.
cmtShareStatus
()
// 执行图文分享
wechat
.
share
(
wechatSp
)
}
else
{
showToast
(
"请先安装微信"
)
}
}
}
}
})
cdaa
!!
.
setTitle
(
"提示"
)
cdaa
!!
.
setContent
(
"分享用户需登录才能获得贡献值"
)
cdaa
!!
.
setLeft
(
"取消"
)
cdaa
!!
.
setRight
(
"打开微信"
)
cdaa
!!
.
show
()
}
}
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/widgets/CountDownVedioView.java
View file @
fc12fd52
...
...
@@ -5,7 +5,6 @@ import android.util.AttributeSet;
import
android.view.View
;
import
android.widget.ImageView
;
import
android.widget.LinearLayout
;
import
android.widget.TextView
;
import
androidx.annotation.Nullable
;
...
...
@@ -110,6 +109,7 @@ public class CountDownVedioView extends LinearLayout {
*/
public
void
showRedbox
()
{
if
(
ivCountVedioRedbox
!=
null
)
{
rope
=
null
;
rope
=
YoYo
.
with
(
Techniques
.
Tada
).
duration
(
600
).
repeat
(-
1
).
playOn
(
ivCountVedioRedbox
);
}
}
...
...
GoodMoney/app/src/main/res/layout/dialog_friends.xml
View file @
fc12fd52
...
...
@@ -13,7 +13,6 @@
android:id=
"@+id/tv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:textColor=
"@color/black"
android:textSize=
"20sp"
android:textStyle=
"bold"
...
...
GoodMoney/app/src/main/res/layout/dialog_main.xml
View file @
fc12fd52
...
...
@@ -10,7 +10,7 @@
android:id=
"@+id/dialog_tv_title"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
20
dp"
android:layout_marginTop=
"
15
dp"
android:layout_marginBottom=
"-6dp"
android:ellipsize=
"marquee"
android:gravity=
"center"
...
...
GoodMoney/app/src/main/res/layout/fragment_main_my.xml
View file @
fc12fd52
...
...
@@ -56,8 +56,8 @@
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
<include
layout=
"@layout/item_fragment_main_my
_customer_service"
android:visibility=
"gon
e"
/>
android:id=
"@+id/item
_customer_service"
layout=
"@layout/item_fragment_main_my_customer_servic
e"
/>
</LinearLayout>
...
...
GoodMoney/app/src/main/res/layout/item_fragment_main_my_customer_service.xml
View file @
fc12fd52
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:paddingTop=
"20dp"
...
...
@@ -11,20 +12,12 @@
android:id=
"@+id/item_bottom_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
QQ群客服:点击去加群
"
/>
android:text=
"
官方QQ群(点击咨询):
"
/>
<TextView
android:id=
"@+id/item_bottom_qqGroupNum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:text=
"12343324(已满)"
/>
<!-- <TextView-->
<!-- android:id="@+id/item_bottom_version"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="10dp"-->
<!-- android:text="v1.0.0" />-->
android:layout_marginTop=
"10dp"
/>
</LinearLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment