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
Expand all
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
This diff is collapsed.
Click to expand it.
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