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
cdcd5edf
Commit
cdcd5edf
authored
Dec 12, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分红页面布局优化
parent
f40fa2a3
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
459 additions
and
466 deletions
+459
-466
build.gradle
GoodMoney/app/build.gradle
+1
-0
AndroidManifest.xml
GoodMoney/app/src/main/AndroidManifest.xml
+2
-1
VedioAdingManager.java
.../java/com/mints/goodmoney/ad/video/VedioAdingManager.java
+8
-4
YlhVedioAdManager.java
.../java/com/mints/goodmoney/ad/video/YlhVedioAdManager.java
+0
-2
FeedbackActivity.kt
...java/com/mints/goodmoney/ui/activitys/FeedbackActivity.kt
+6
-2
appbar_elevation.xml
GoodMoney/app/src/main/res/animator/appbar_elevation.xml
+18
-0
activity_drawcash.xml
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
+3
-5
activity_feekback.xml
GoodMoney/app/src/main/res/layout/activity_feekback.xml
+20
-29
activity_friends.xml
GoodMoney/app/src/main/res/layout/activity_friends.xml
+1
-4
activity_guide.xml
GoodMoney/app/src/main/res/layout/activity_guide.xml
+1
-3
activity_main.xml
GoodMoney/app/src/main/res/layout/activity_main.xml
+1
-2
fragment_main_friends.xml
GoodMoney/app/src/main/res/layout/fragment_main_friends.xml
+305
-324
fragment_main_money.xml
GoodMoney/app/src/main/res/layout/fragment_main_money.xml
+2
-0
header_layout.xml
GoodMoney/app/src/main/res/layout/header_layout.xml
+1
-3
item_fragment_main_my_title.xml
...y/app/src/main/res/layout/item_fragment_main_my_title.xml
+67
-67
item_settings.xml
GoodMoney/app/src/main/res/layout/item_settings.xml
+2
-4
view_title.xml
GoodMoney/app/src/main/res/layout/view_title.xml
+2
-4
styles.xml
GoodMoney/app/src/main/res/values/styles.xml
+19
-12
No files found.
GoodMoney/app/build.gradle
View file @
cdcd5edf
...
@@ -105,6 +105,7 @@ android {
...
@@ -105,6 +105,7 @@ android {
productFlavors
{
productFlavors
{
goodmoneypkg
{}
goodmoneypkg
{}
// toutiao {}
// share_goodmoney {}
// share_goodmoney {}
}
}
...
...
GoodMoney/app/src/main/AndroidManifest.xml
View file @
cdcd5edf
...
@@ -182,7 +182,8 @@
...
@@ -182,7 +182,8 @@
android:screenOrientation=
"portrait"
/>
android:screenOrientation=
"portrait"
/>
<activity
<activity
android:name=
".ui.activitys.FeedbackActivity"
android:name=
".ui.activitys.FeedbackActivity"
android:screenOrientation=
"portrait"
/>
android:screenOrientation=
"portrait"
android:windowSoftInputMode=
"stateVisible"
/>
<activity
<activity
android:name=
".ui.activitys.AccountMergeActivity"
android:name=
".ui.activitys.AccountMergeActivity"
android:screenOrientation=
"portrait"
/>
android:screenOrientation=
"portrait"
/>
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/VedioAdingManager.java
View file @
cdcd5edf
...
@@ -10,6 +10,7 @@ import com.mints.goodmoney.mvp.model.WeightBean;
...
@@ -10,6 +10,7 @@ import com.mints.goodmoney.mvp.model.WeightBean;
import
com.mints.goodmoney.utils.LogUtil
;
import
com.mints.goodmoney.utils.LogUtil
;
import
com.mints.goodmoney.utils.ToastUtil
;
import
com.mints.goodmoney.utils.ToastUtil
;
import
java.lang.ref.WeakReference
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Random
;
import
java.util.Random
;
...
@@ -40,7 +41,8 @@ public class VedioAdingManager {
...
@@ -40,7 +41,8 @@ public class VedioAdingManager {
public
static
VedioAdingManager
getInstance
(
Activity
activity
)
{
public
static
VedioAdingManager
getInstance
(
Activity
activity
)
{
if
(
_inst
==
null
)
{
if
(
_inst
==
null
)
{
_inst
=
new
VedioAdingManager
(
activity
);
WeakReference
<
Activity
>
activityWeakReference
=
new
WeakReference
<>(
activity
);
_inst
=
new
VedioAdingManager
(
activityWeakReference
.
get
());
}
}
return
_inst
;
return
_inst
;
}
}
...
@@ -88,10 +90,10 @@ public class VedioAdingManager {
...
@@ -88,10 +90,10 @@ public class VedioAdingManager {
* @param bean
* @param bean
*/
*/
public
void
loadAding
(
Activity
activity
,
VedioAdingBean
bean
)
{
public
void
loadAding
(
Activity
activity
,
VedioAdingBean
bean
)
{
this
.
activity
=
activity
;
WeakReference
<
Activity
>
activityWeakReference
=
new
WeakReference
<>(
activity
);
this
.
activity
=
activityWeakReference
.
get
();
isVedioAdDownload
=
false
;
isVedioAdDownload
=
false
;
if
(
AppConfig
.
flVideoFlag
)
{
if
(
AppConfig
.
flVideoFlag
)
{
// 先展示枫岚视频
// 先展示枫岚视频
firstLoadFlVideo
(
bean
);
firstLoadFlVideo
(
bean
);
...
@@ -132,7 +134,9 @@ public class VedioAdingManager {
...
@@ -132,7 +134,9 @@ public class VedioAdingManager {
* @param bean
* @param bean
*/
*/
public
void
loadFailAding
(
Activity
activity
,
VedioAdingBean
bean
)
{
public
void
loadFailAding
(
Activity
activity
,
VedioAdingBean
bean
)
{
this
.
activity
=
activity
;
WeakReference
<
Activity
>
activityWeakReference
=
new
WeakReference
<>(
activity
);
this
.
activity
=
activityWeakReference
.
get
();
isVedioAdDownload
=
false
;
isVedioAdDownload
=
false
;
loadAdVedio
(
getNextAdType
(),
bean
);
loadAdVedio
(
getNextAdType
(),
bean
);
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/YlhVedioAdManager.java
View file @
cdcd5edf
...
@@ -13,8 +13,6 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
...
@@ -13,8 +13,6 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
import
com.qq.e.ads.rewardvideo.RewardVideoADListener
;
import
com.qq.e.ads.rewardvideo.RewardVideoADListener
;
import
com.qq.e.comm.util.AdError
;
import
com.qq.e.comm.util.AdError
;
import
java.util.HashMap
;
/**
/**
* 优量汇视频
* 优量汇视频
*/
*/
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/FeedbackActivity.kt
View file @
cdcd5edf
...
@@ -18,8 +18,7 @@ import kotlinx.android.synthetic.main.header_layout.*
...
@@ -18,8 +18,7 @@ import kotlinx.android.synthetic.main.header_layout.*
* 作者:孟崔广
* 作者:孟崔广
* 时间:2020/11/18 19:19
* 时间:2020/11/18 19:19
*/
*/
class
FeedbackActivity
:
BaseActivity
()
class
FeedbackActivity
:
BaseActivity
(),
View
.
OnClickListener
,
FeedbackView
{
,
View
.
OnClickListener
,
FeedbackView
{
private
val
feedbackPresenter
by
lazy
{
FeedbackPresenter
()
}
private
val
feedbackPresenter
by
lazy
{
FeedbackPresenter
()
}
private
var
typeName
=
"界面"
private
var
typeName
=
"界面"
...
@@ -36,6 +35,10 @@ class FeedbackActivity : BaseActivity()
...
@@ -36,6 +35,10 @@ class FeedbackActivity : BaseActivity()
iv_left_icon
.
visibility
=
View
.
VISIBLE
iv_left_icon
.
visibility
=
View
.
VISIBLE
iv_left_icon
.
setImageResource
(
R
.
mipmap
.
ic_arrow_back
)
iv_left_icon
.
setImageResource
(
R
.
mipmap
.
ic_arrow_back
)
etFeedbackContent
.
isFocusable
=
true
etFeedbackContent
.
isFocusableInTouchMode
=
true
etFeedbackContent
.
requestFocus
()
initListener
()
initListener
()
feedbackPresenter
.
attachView
(
this
)
feedbackPresenter
.
attachView
(
this
)
}
}
...
@@ -55,6 +58,7 @@ class FeedbackActivity : BaseActivity()
...
@@ -55,6 +58,7 @@ class FeedbackActivity : BaseActivity()
etFeedbackContent
.
addTextChangedListener
(
object
:
TextWatcher
{
etFeedbackContent
.
addTextChangedListener
(
object
:
TextWatcher
{
override
fun
beforeTextChanged
(
s
:
CharSequence
,
start
:
Int
,
count
:
Int
,
after
:
Int
)
{}
override
fun
beforeTextChanged
(
s
:
CharSequence
,
start
:
Int
,
count
:
Int
,
after
:
Int
)
{}
@SuppressLint
(
"SetTextI18n"
)
@SuppressLint
(
"SetTextI18n"
)
override
fun
onTextChanged
(
s
:
CharSequence
,
start
:
Int
,
before
:
Int
,
count
:
Int
)
{
override
fun
onTextChanged
(
s
:
CharSequence
,
start
:
Int
,
before
:
Int
,
count
:
Int
)
{
if
(
s
.
toString
().
trim
{
it
<=
' '
}.
length
>
maxLength
)
{
if
(
s
.
toString
().
trim
{
it
<=
' '
}.
length
>
maxLength
)
{
...
...
GoodMoney/app/src/main/res/animator/appbar_elevation.xml
0 → 100644
View file @
cdcd5edf
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<!--折叠状态下的阴影-->
<item
app:state_collapsed=
"true"
>
<objectAnimator
android:propertyName=
"elevation"
android:valueTo=
"1.5dp"
android:valueType=
"floatType"
/>
</item>
<!--展开状态下的阴影-->
<item
app:state_collapsed=
"false"
>
<objectAnimator
android:propertyName=
"elevation"
android:valueTo=
"1.5dp"
android:valueType=
"floatType"
/>
</item>
</selector>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
View file @
cdcd5edf
...
@@ -71,11 +71,9 @@
...
@@ -71,11 +71,9 @@
</RelativeLayout>
</RelativeLayout>
<View
<View
android:layout_width=
"match_parent"
style=
"@style/view_line_E6E6E6"
android:layout_height=
"1px"
android:layout_marginLeft=
"15dp"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
android:layout_marginRight=
"15dp"
/>
android:background=
"@color/color_E6E6E6"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -162,7 +160,7 @@
...
@@ -162,7 +160,7 @@
<!-- android:textSize="14sp"-->
<!-- android:textSize="14sp"-->
<!-- android:visibility="gone" />-->
<!-- android:visibility="gone" />-->
<
TextView
<
Button
android:id=
"@+id/tvDrawcashNext"
android:id=
"@+id/tvDrawcashNext"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:layout_height=
"40dp"
...
...
GoodMoney/app/src/main/res/layout/activity_feekback.xml
View file @
cdcd5edf
<?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=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/white"
...
@@ -87,42 +86,34 @@
...
@@ -87,42 +86,34 @@
</LinearLayout>
</LinearLayout>
<
Linear
Layout
<
Relative
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"235dp"
android:layout_height=
"235dp"
android:layout_marginTop=
"13dp"
android:layout_marginTop=
"13dp"
android:layout_marginBottom=
"10dp"
android:background=
"@color/white"
android:background=
"@color/white"
android:orientation=
"vertical"
android:padding=
"15dp"
>
android:padding=
"15dp"
>
<RelativeLayout
<EditText
android:id=
"@+id/etFeedbackContent"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"match_parent"
android:layout_marginBottom=
"10dp"
android:background=
"@color/transparent"
android:layout_weight=
"1"
>
android:gravity=
"top"
android:hint=
"请留下您的批评、表扬或者建议,我们会虚心听取, 认真改正。(请保持在5-150字内)"
<EditText
android:textSize=
"13sp"
/>
android:id=
"@+id/etFeedbackContent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:gravity=
"top"
android:hint=
"请留下您的批评、表扬或者建议,我们会虚心听取, 认真改正。(请保持在5-150字内)"
android:textSize=
"13sp"
/>
<TextView
android:id=
"@+id/tvFeedbackCount"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
android:text=
"0/150"
android:textSize=
"12sp"
/>
</RelativeLayout>
</LinearLayout>
<TextView
android:id=
"@+id/tvFeedbackCount"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
android:text=
"0/150"
android:textSize=
"12sp"
/>
</RelativeLayout>
<
TextView
<
Button
android:id=
"@+id/btn_feedback_next"
android:id=
"@+id/btn_feedback_next"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
...
@@ -134,7 +125,7 @@
...
@@ -134,7 +125,7 @@
android:gravity=
"center"
android:gravity=
"center"
android:text=
"提交"
android:text=
"提交"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"1
4
sp"
/>
android:textSize=
"1
6
sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
...
...
GoodMoney/app/src/main/res/layout/activity_friends.xml
View file @
cdcd5edf
...
@@ -40,10 +40,7 @@
...
@@ -40,10 +40,7 @@
app:xTabTextColor=
"#666666"
app:xTabTextColor=
"#666666"
app:xTabTextSize=
"15sp"
/>
app:xTabTextSize=
"15sp"
/>
<View
<View
style=
"@style/view_line_E6E6E6"
/>
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@color/color_E6E6E6"
/>
<androidx.viewpager.widget.ViewPager
<androidx.viewpager.widget.ViewPager
android:id=
"@+id/view_pager_friends"
android:id=
"@+id/view_pager_friends"
...
...
GoodMoney/app/src/main/res/layout/activity_guide.xml
View file @
cdcd5edf
...
@@ -3,9 +3,7 @@
...
@@ -3,9 +3,7 @@
xmlns:attrs=
"http://schemas.android.com/apk/res-auto"
xmlns:attrs=
"http://schemas.android.com/apk/res-auto"
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/white"
android:orientation=
"vertical"
>
<!-- Viewpager -->
<!-- Viewpager -->
<androidx.viewpager.widget.ViewPager
<androidx.viewpager.widget.ViewPager
...
...
GoodMoney/app/src/main/res/layout/activity_main.xml
View file @
cdcd5edf
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<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=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:clipChildren=
"false"
>
android:clipChildren=
"false"
>
<FrameLayout
<FrameLayout
...
@@ -9,7 +10,6 @@
...
@@ -9,7 +10,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginBottom=
"50dp"
android:layout_marginBottom=
"50dp"
android:background=
"@color/white"
android:orientation=
"vertical"
/>
android:orientation=
"vertical"
/>
<View
<View
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_height=
"50dp"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:background=
"@color/white"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
...
GoodMoney/app/src/main/res/layout/fragment_main_friends.xml
View file @
cdcd5edf
...
@@ -25,373 +25,354 @@
...
@@ -25,373 +25,354 @@
<com.google.android.material.appbar.AppBarLayout
<com.google.android.material.appbar.AppBarLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:stateListAnimator=
"@animator/appbar_elevation"
android:background=
"@color/color_F8F8F8"
android:background=
"@color/color_F8F8F8"
app:layout_behavior=
".ui.widgets.FlingBehavior"
>
app:layout_behavior=
".ui.widgets.FlingBehavior"
>
<com.google.android.material.appbar.CollapsingToolbarLayout
<LinearLayout
android:id=
"@+id/collapsingToolbarLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"wrap_content"
app:layout_scrollFlags=
"scroll|exitUntilCollapsed"
>
android:orientation=
"vertical"
app:layout_scrollFlags=
"scroll"
>
<
Linear
Layout
<
Relative
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
>
android:orientation=
"vertical"
>
<RelativeLayout
<ImageView
android:id=
"@+id/img_invite"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
android:scaleType=
"fitXY"
<ImageView
android:src=
"@mipmap/bg_invite_friends"
/>
android:id=
"@+id/img_invite"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:scaleType=
"fitXY"
android:src=
"@mipmap/bg_invite_friends"
/>
<ImageView
android:id=
"@+id/img_yellow"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignBottom=
"@id/img_invite"
android:layout_centerHorizontal=
"true"
android:layout_marginStart=
"20dp"
android:layout_marginEnd=
"20dp"
android:layout_marginBottom=
"-50dp"
android:scaleType=
"fitXY"
android:src=
"@mipmap/bg_invite_friends_yellow"
/>
<ImageView
android:id=
"@+id/img_red"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@id/img_yellow"
android:layout_centerHorizontal=
"true"
android:scaleType=
"centerCrop"
android:src=
"@mipmap/bg_invite_friends_red"
/>
<TextView
<ImageView
android:id=
"@+id/tv_bonus_date"
android:id=
"@+id/img_yellow"
android:layout_width=
"wrap_content"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@id/img_yellow"
android:layout_alignBottom=
"@id/img_invite"
android:layout_centerHorizontal=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"4dp"
android:layout_marginStart=
"20dp"
android:text=
"@string/dot"
android:layout_marginEnd=
"20dp"
android:textColor=
"@color/white"
/>
android:layout_marginBottom=
"-50dp"
android:scaleType=
"fitXY"
android:src=
"@mipmap/bg_invite_friends_yellow"
/>
<ImageView
android:id=
"@+id/img_red"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@id/img_yellow"
android:layout_centerHorizontal=
"true"
android:scaleType=
"centerCrop"
android:src=
"@mipmap/bg_invite_friends_red"
/>
<TextView
android:id=
"@+id/tv_bonus_date"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@id/img_yellow"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"4dp"
android:text=
"@string/dot"
android:textColor=
"@color/white"
/>
<TextView
android:id=
"@+id/tv_bonus_sum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/img_red"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"10dp"
android:text=
"@string/dot"
android:textSize=
"14sp"
/>
<TextView
</RelativeLayout>
android:id=
"@+id/tv_bonus_sum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/img_red"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"10dp"
android:text=
"@string/dot"
android:textSize=
"14sp"
/>
</RelativeLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"10dp"
android:layout_marginEnd=
"15dp"
android:layout_marginBottom=
"10dp"
android:background=
"@drawable/shape_gold_card"
android:elevation=
"2dip"
android:padding=
"15dp"
>
<TextView
android:id=
"@+id/tv_bonus_rate"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/dot"
android:textSize=
"14sp"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_bonus_hint"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2dp"
android:text=
"@string/dot"
android:textSize=
"12sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:
layout_width=
"match_parent
"
android:
id=
"@+id/linearLayout2
"
android:layout_
height=
"wrap_content
"
android:layout_
width=
"0dp
"
android:layout_
marginStart=
"15
dp"
android:layout_
height=
"80
dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginEnd=
"15dp"
android:layout_marginEnd=
"5dp"
android:layout_marginBottom=
"10dp"
android:background=
"@mipmap/bg_invite_friends_left"
android:background=
"@drawable/shape_gold_card"
android:orientation=
"horizontal"
android:elevation=
"2dip"
app:layout_constraintBottom_toBottomOf=
"parent"
android:padding=
"15dp"
>
app:layout_constraintEnd_toStartOf=
"@id/rl_wrap"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tv_bonus_rate"
app:layout_constraintVertical_bias=
"0.0"
>
<TextView
<TextView
android:id=
"@+id/tv_bonus_rate"
android:id=
"@+id/textView2"
android:layout_width=
"wrap_content"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"0dp"
android:text=
"@string/dot"
android:gravity=
"center|end"
android:textSize=
"14sp"
android:text=
"昨日贡献值"
android:textColor=
"@color/color_AF6F36"
android:textSize=
"12sp"
app:layout_constraintBottom_toTopOf=
"@id/textView3"
app:layout_constraintEnd_toStartOf=
"@id/tv_yesterday_bonus"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
<TextView
android:id=
"@+id/tv_bonus_hint"
android:id=
"@+id/textView3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2dp"
android:text=
"@string/dot"
android:textSize=
"12sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/linearLayout2"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"
8
0dp"
android:layout_height=
"0dp"
android:
layout_marginTop=
"10dp
"
android:
gravity=
"center|end
"
android:
layout_marginEnd=
"5dp
"
android:
text=
"今日贡献值
"
android:
background=
"@mipmap/bg_invite_friends_left
"
android:
textColor=
"@color/color_912C36
"
android:
orientation=
"horizontal
"
android:
textSize=
"12sp
"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@id/
rl_wrap
"
app:layout_constraintEnd_toStartOf=
"@id/
tv_today_bonus
"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tv_bonus_rate"
app:layout_constraintTop_toBottomOf=
"@+id/textView2"
app:layout_constraintVertical_bias=
"0.0"
>
app:layout_constraintVertical_weight=
"1"
/>
<TextView
<TextView
android:id=
"@+id/textView2"
android:id=
"@+id/tv_yesterday_bonus"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:gravity=
"center|end"
android:text=
"昨日贡献值"
android:textColor=
"@color/color_AF6F36"
android:textSize=
"12sp"
app:layout_constraintBottom_toTopOf=
"@id/textView3"
app:layout_constraintEnd_toStartOf=
"@id/tv_yesterday_bonus"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
android:id=
"@+id/textView3"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:gravity=
"center|end"
android:text=
"今日贡献值"
android:textColor=
"@color/color_912C36"
android:textSize=
"12sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@id/tv_today_bonus"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/textView2"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
android:id=
"@+id/tv_yesterday_bonus"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:gravity=
"center"
android:paddingEnd=
"10dp"
android:text=
"@string/dot"
android:textSize=
"22sp"
app:layout_constraintBottom_toTopOf=
"@id/tv_today_bonus"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toEndOf=
"@id/textView2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
android:id=
"@+id/tv_today_bonus"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:gravity=
"center"
android:paddingEnd=
"10dp"
android:text=
"@string/dot"
android:textSize=
"22sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toEndOf=
"@id/textView3"
app:layout_constraintTop_toBottomOf=
"@id/tv_yesterday_bonus"
app:layout_constraintVertical_weight=
"1"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:id=
"@+id/rl_wrap"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"80dp"
android:layout_height=
"0dp"
android:layout_marginStart=
"5dp"
android:gravity=
"center"
android:layout_marginTop=
"10dp"
android:paddingEnd=
"10dp"
android:background=
"@mipmap/bg_invite_friends_right"
android:text=
"@string/dot"
android:textSize=
"22sp"
app:layout_constraintBottom_toTopOf=
"@id/tv_today_bonus"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toEndOf=
"@id/textView2"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
android:id=
"@+id/tv_today_bonus"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:gravity=
"center"
android:paddingEnd=
"10dp"
android:text=
"@string/dot"
android:textSize=
"22sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toEndOf=
"@id/linearLayout2"
app:layout_constraintStart_toEndOf=
"@id/textView3"
app:layout_constraintTop_toBottomOf=
"@+id/tv_bonus_hint"
>
app:layout_constraintTop_toBottomOf=
"@id/tv_yesterday_bonus"
app:layout_constraintVertical_weight=
"1"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"6dp"
android:layout_marginTop=
"15dp"
android:text=
"分红收益"
android:textColor=
"@color/color_CF7E7E"
/>
<TextView
android:id=
"@+id/tv_bonus_money"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"6dp"
android:layout_marginTop=
"40dp"
android:text=
"@string/dot"
android:textSize=
"22sp"
/>
<Button
android:id=
"@+id/btn_get_bonus"
android:layout_width=
"60dp"
android:layout_height=
"26dp"
android:layout_alignParentEnd=
"true"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"5dp"
android:background=
"@drawable/btn_friends_selectored"
android:text=
"结算中"
android:textColor=
"@drawable/btn_friends_text_color_selectored"
android:textSize=
"12sp"
/>
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:id=
"@+id/rl_wrap"
android:layout_height=
"wrap_content"
android:layout_width=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_height=
"80dp"
android:layout_marginEnd=
"15dp"
android:layout_marginStart=
"5dp"
android:layout_marginBottom=
"10dp"
android:layout_marginTop=
"10dp"
android:background=
"@drawable/shape_gold_card"
android:background=
"@mipmap/bg_invite_friends_right"
android:elevation=
"2dip"
app:layout_constraintBottom_toBottomOf=
"parent"
android:padding=
"15dp"
>
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintStart_toEndOf=
"@id/linearLayout2"
app:layout_constraintTop_toBottomOf=
"@+id/tv_bonus_hint"
>
<TextView
<TextView
android:id=
"@+id/textView"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"5dp"
android:layout_marginStart=
"6dp"
android:text=
"亲友团成员"
android:layout_marginTop=
"15dp"
android:textColor=
"@color/black"
android:text=
"分红收益"
android:textSize=
"18sp"
android:textColor=
"@color/color_CF7E7E"
/>
app:layout_constraintBottom_toTopOf=
"@+id/line"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
<TextView
android:id=
"@+id/tv_
detail
"
android:id=
"@+id/tv_
bonus_money
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"详情 >"
android:layout_marginStart=
"6dp"
app:layout_constraintBottom_toBottomOf=
"@+id/textView"
android:layout_marginTop=
"40dp"
app:layout_constraintEnd_toEndOf=
"parent"
android:text=
"@string/dot"
app:layout_constraintTop_toTopOf=
"@+id/textView"
/>
android:textSize=
"22sp"
/>
<View
android:id=
"@+id/line"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginTop=
"15dp"
android:background=
"@color/color_F8F8F8"
app:layout_constraintTop_toBottomOf=
"@id/textView"
/>
<LinearLayout
android:id=
"@+id/ll1"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
app:layout_constraintEnd_toStartOf=
"@id/ll2"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/line"
>
<TextView
android:id=
"@+id/friends_sum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:text=
"总人数"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll2"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
app:layout_constraintEnd_toStartOf=
"@id/ll3"
app:layout_constraintStart_toEndOf=
"@id/ll1"
app:layout_constraintTop_toBottomOf=
"@id/line"
>
<TextView
android:id=
"@+id/friends_directly_sum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tv_friends_directly"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:drawableEnd=
"@mipmap/ic_question"
android:drawablePadding=
"6dp"
android:text=
"直接亲友"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll3"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/ll2"
app:layout_constraintTop_toBottomOf=
"@id/line"
>
<TextView
android:id=
"@+id/friends_indirect_sum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tv_friends_indirect"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:drawablePadding=
"6dp"
android:text=
"间接亲友"
app:drawableEndCompat=
"@mipmap/ic_question"
/>
</LinearLayout>
<Button
<Button
android:id=
"@+id/btn_invite"
android:id=
"@+id/btn_get_bonus"
android:layout_width=
"160dp"
android:layout_width=
"60dp"
android:layout_height=
"40dp"
android:layout_height=
"26dp"
android:layout_marginTop=
"15dp"
android:layout_alignParentEnd=
"true"
android:layout_marginBottom=
"6dp"
android:layout_centerVertical=
"true"
android:background=
"@drawable/shape_btn_switch"
android:layout_marginEnd=
"5dp"
android:text=
"邀请亲友"
android:background=
"@drawable/btn_friends_selectored"
android:textColor=
"@color/white"
android:text=
"结算中"
android:textSize=
"16sp"
android:textColor=
"@drawable/btn_friends_text_color_selectored"
app:layout_constraintBottom_toBottomOf=
"parent"
android:textSize=
"12sp"
/>
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/ll2"
/>
</
androidx.constraintlayout.widget.Constraint
Layout>
</
Relative
Layout>
</
Linear
Layout>
</
androidx.constraintlayout.widget.Constraint
Layout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"15dp"
android:layout_marginEnd=
"15dp"
android:layout_marginBottom=
"10dp"
android:background=
"@drawable/shape_gold_card"
android:elevation=
"2dip"
android:padding=
"15dp"
>
<TextView
android:id=
"@+id/textView"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"5dp"
android:text=
"亲友团成员"
android:textColor=
"@color/black"
android:textSize=
"18sp"
app:layout_constraintBottom_toTopOf=
"@+id/line"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_detail"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"详情 >"
app:layout_constraintBottom_toBottomOf=
"@+id/textView"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/textView"
/>
<View
android:id=
"@+id/line"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginTop=
"15dp"
android:background=
"@color/color_F8F8F8"
app:layout_constraintTop_toBottomOf=
"@id/textView"
/>
<TextView
android:id=
"@+id/friends_sum"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
app:layout_constraintEnd_toStartOf=
"@id/friends_directly_sum"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/line"
/>
<TextView
android:id=
"@+id/friends_tv"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:text=
"总人数"
app:layout_constraintEnd_toEndOf=
"@+id/friends_sum"
app:layout_constraintStart_toStartOf=
"@+id/friends_sum"
app:layout_constraintTop_toBottomOf=
"@id/friends_sum"
/>
<TextView
android:id=
"@+id/friends_directly_sum"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
app:layout_constraintEnd_toStartOf=
"@id/friends_indirect_sum"
app:layout_constraintStart_toEndOf=
"@id/friends_sum"
app:layout_constraintTop_toBottomOf=
"@id/line"
/>
<TextView
android:id=
"@+id/tv_friends_directly"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:drawableEnd=
"@mipmap/ic_question"
android:drawablePadding=
"6dp"
android:text=
"直接亲友"
app:layout_constraintEnd_toEndOf=
"@+id/friends_directly_sum"
app:layout_constraintStart_toStartOf=
"@+id/friends_directly_sum"
app:layout_constraintTop_toBottomOf=
"@id/friends_directly_sum"
/>
<TextView
android:id=
"@+id/friends_indirect_sum"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"15dp"
android:gravity=
"center"
android:text=
"@string/dot"
android:textColor=
"@color/black"
android:textSize=
"20sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/friends_directly_sum"
app:layout_constraintTop_toBottomOf=
"@id/line"
/>
<TextView
android:id=
"@+id/tv_friends_indirect"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:drawablePadding=
"6dp"
android:text=
"间接亲友"
app:drawableEndCompat=
"@mipmap/ic_question"
app:layout_constraintEnd_toEndOf=
"@+id/friends_indirect_sum"
app:layout_constraintStart_toStartOf=
"@+id/friends_indirect_sum"
app:layout_constraintTop_toBottomOf=
"@id/friends_indirect_sum"
/>
<Button
android:id=
"@+id/btn_invite"
android:layout_width=
"160dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"15dp"
android:layout_marginBottom=
"6dp"
android:background=
"@drawable/shape_btn_switch"
android:text=
"邀请亲友"
android:textColor=
"@color/white"
android:textSize=
"16sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tv_friends_directly"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<com.androidkun.xtablayout.XTabLayout
<com.androidkun.xtablayout.XTabLayout
android:id=
"@+id/tab_friends"
android:id=
"@+id/tab_friends"
...
...
GoodMoney/app/src/main/res/layout/fragment_main_money.xml
View file @
cdcd5edf
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
app:xTabTextColor=
"#000"
app:xTabTextColor=
"#000"
app:xTabTextSize=
"18sp"
/>
app:xTabTextSize=
"18sp"
/>
<View
style=
"@style/view_line_E6E6E6"
/>
<com.mints.goodmoney.ui.widgets.MyViewPager
<com.mints.goodmoney.ui.widgets.MyViewPager
android:id=
"@+id/vpFragmentMoney"
android:id=
"@+id/vpFragmentMoney"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
GoodMoney/app/src/main/res/layout/header_layout.xml
View file @
cdcd5edf
...
@@ -59,9 +59,7 @@
...
@@ -59,9 +59,7 @@
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<View
<View
android:layout_width=
"match_parent"
style=
"@style/view_line_E6E6E6"
android:layout_height=
"1dp"
android:background=
"@color/color_E6E6E6"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/iv_right_icon"
/>
app:layout_constraintEnd_toEndOf=
"@+id/iv_right_icon"
/>
...
...
GoodMoney/app/src/main/res/layout/item_fragment_main_my_title.xml
View file @
cdcd5edf
...
@@ -21,11 +21,11 @@
...
@@ -21,11 +21,11 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginStart=
"10dp"
android:layout_marginTop=
"4dp"
android:text=
"未登录"
android:text=
"未登录"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintBottom_toTopOf=
"@id/item_title_invitecode"
app:layout_constraintStart_toEndOf=
"@id/item_title_avatar"
app:layout_constraintStart_toEndOf=
"@id/item_title_avatar"
app:layout_constraintTop_toTopOf=
"@id/item_title_avatar"
/>
app:layout_constraintTop_toTopOf=
"@id/item_title_avatar"
/>
...
@@ -59,77 +59,77 @@
...
@@ -59,77 +59,77 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<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=
"15dp"
android:layout_marginStart=
"15dp"
android:layout_marginEnd=
"15dp"
android:layout_marginEnd=
"15dp"
android:layout_marginBottom=
"10dp"
android:layout_marginBottom=
"10dp"
android:background=
"@drawable/shape_gold_card"
android:background=
"@drawable/shape_gold_card"
android:elevation=
"2dip"
>
android:elevation=
"2dip"
>
<ImageView
<ImageView
android:id=
"@+id/imageView2"
android:id=
"@+id/imageView2"
android:layout_width=
"32dp"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"10dp"
android:layout_marginStart=
"10dp"
android:src=
"@mipmap/ic_gold"
android:src=
"@mipmap/ic_gold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
<TextView
android:id=
"@+id/item_title_gold_count"
android:id=
"@+id/item_title_gold_count"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginStart=
"10dp"
android:text=
"0"
android:text=
"0"
android:textColor=
"@color/color_FB560C"
android:textColor=
"@color/color_FB560C"
android:textSize=
"26sp"
android:textSize=
"26sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/imageView2"
app:layout_constraintStart_toEndOf=
"@id/imageView2"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
<TextView
android:id=
"@+id/item_title_gold_about"
android:id=
"@+id/item_title_gold_about"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
android:background=
"@mipmap/ic_goldtry_about"
android:background=
"@mipmap/ic_goldtry_about"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"约0.00元"
android:text=
"约0.00元"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"10sp"
android:textSize=
"10sp"
app:layout_constraintEnd_toEndOf=
"@+id/item_title_gold_count"
app:layout_constraintEnd_toEndOf=
"@+id/item_title_gold_count"
app:layout_constraintStart_toEndOf=
"@id/item_title_gold_count"
app:layout_constraintStart_toEndOf=
"@id/item_title_gold_count"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<Button
<Button
android:id=
"@+id/btn_coinRecord"
android:id=
"@+id/btn_coinRecord"
android:layout_width=
"60dp"
android:layout_width=
"60dp"
android:layout_height=
"30dp"
android:layout_height=
"30dp"
android:layout_marginTop=
"6
dp"
android:layout_marginEnd=
"10
dp"
android:layout_marginEnd=
"10dp
"
android:background=
"@drawable/shape_btn_switch
"
android:background=
"@drawable/shape_btn_switch
"
android:text=
"明细
"
android:text=
"明细
"
android:textColor=
"@color/white
"
android:textColor=
"@color/white
"
android:textSize=
"16sp
"
android:textSize=
"16sp
"
app:layout_constraintBottom_toTopOf=
"@id/btn_withdraw
"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<Button
<Button
android:id=
"@+id/btn_withdraw"
android:id=
"@+id/btn_withdraw"
android:layout_width=
"60dp"
android:layout_width=
"60dp"
android:layout_height=
"30dp"
android:layout_height=
"30dp"
android:layout_marginEnd=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_marginBottom=
"6dp
"
android:background=
"@drawable/shape_btn_switch
"
android:background=
"@drawable/shape_btn_switch
"
android:text=
"提现
"
android:text=
"提现
"
android:textColor=
"@color/white
"
android:textColor=
"@color/white
"
android:textSize=
"16sp
"
android:textSize=
"16sp
"
app:layout_constraintBottom_toBottomOf=
"parent
"
app:layout_constraintBottom_toBottom
Of=
"parent"
app:layout_constraintEnd_toEnd
Of=
"parent"
app:layout_constraintEnd_toEndOf=
"parent
"
/>
app:layout_constraintTop_toBottomOf=
"@id/btn_coinRecord
"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</merge>
</merge>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/item_settings.xml
View file @
cdcd5edf
...
@@ -34,8 +34,6 @@
...
@@ -34,8 +34,6 @@
android:visibility=
"gone"
/>
android:visibility=
"gone"
/>
<View
<View
android:layout_width=
"match_parent"
style=
"@style/view_line_E6E6E6"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
/>
android:layout_alignParentBottom=
"true"
android:background=
"@color/color_E6E6E6"
/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/view_title.xml
View file @
cdcd5edf
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
android:id=
"@+id/view_title"
android:id=
"@+id/view_title"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"
10
dp"
android:layout_marginStart=
"
6
dp"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
...
@@ -28,10 +28,8 @@
...
@@ -28,10 +28,8 @@
app:layout_constraintTop_toTopOf=
"@id/view"
/>
app:layout_constraintTop_toTopOf=
"@id/view"
/>
<View
<View
android:layout_width=
"match_parent"
style=
"@style/view_line_E6E6E6"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:background=
"@color/color_E6E6E6"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/values/styles.xml
View file @
cdcd5edf
...
@@ -31,12 +31,6 @@
...
@@ -31,12 +31,6 @@
<item
name=
"android:activityCloseExitAnimation"
>
@anim/out_from_right
</item>
<item
name=
"android:activityCloseExitAnimation"
>
@anim/out_from_right
</item>
</style>
</style>
<style
name=
"line_1"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#d3d3d3
</item>
</style>
<style
name=
"notice_dialog"
parent=
"android:style/Theme.Dialog"
>
<style
name=
"notice_dialog"
parent=
"android:style/Theme.Dialog"
>
<item
name=
"android:background"
>
#00000000
</item>
<item
name=
"android:background"
>
#00000000
</item>
<item
name=
"android:windowBackground"
>
@android:color/transparent
</item>
<item
name=
"android:windowBackground"
>
@android:color/transparent
</item>
...
@@ -77,12 +71,6 @@
...
@@ -77,12 +71,6 @@
<item
name=
"android:textColor"
>
?android:attr/textColorPrimary
</item>
<item
name=
"android:textColor"
>
?android:attr/textColorPrimary
</item>
</style>
</style>
<style
name=
"line_3"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#E8E8F0
</item>
</style>
<style
name=
"main_btn_login_style"
>
<style
name=
"main_btn_login_style"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
...
@@ -131,4 +119,23 @@
...
@@ -131,4 +119,23 @@
<style
name=
"BigTabLayoutTextStyle"
>
<style
name=
"BigTabLayoutTextStyle"
>
<item
name=
"android:textSize"
>
@dimen/font_size_20
</item>
<item
name=
"android:textSize"
>
@dimen/font_size_20
</item>
</style>
</style>
<!--浅灰色line-->
<style
name=
"view_line_E6E6E6"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1dp
</item>
<item
name=
"android:background"
>
@color/color_E6E6E6
</item>
</style>
<style
name=
"line_1"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#d3d3d3
</item>
</style>
<style
name=
"line_3"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
1px
</item>
<item
name=
"android:background"
>
#E8E8F0
</item>
</style>
</resources>
</resources>
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