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
4a5b6586
Commit
4a5b6586
authored
Jan 27, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
1fc24d45
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
55 additions
and
4 deletions
+55
-4
MainActivity.kt
...ain/java/com/mints/goodmoney/ui/activitys/MainActivity.kt
+2
-0
WrapperActivity.kt
.../java/com/mints/goodmoney/ui/activitys/WrapperActivity.kt
+0
-1
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+8
-0
tab_bell_btn.xml
GoodMoney/app/src/main/res/drawable/tab_bell_btn.xml
+7
-0
tab_wz_share_btn.xml
GoodMoney/app/src/main/res/drawable/tab_wz_share_btn.xml
+7
-0
activity_task.xml
GoodMoney/app/src/main/res/layout/activity_task.xml
+17
-3
header_layout.xml
GoodMoney/app/src/main/res/layout/header_layout.xml
+14
-0
ic_home_bell.png
GoodMoney/app/src/main/res/mipmap-xhdpi/ic_home_bell.png
+0
-0
ic_home_bell_nor.png
GoodMoney/app/src/main/res/mipmap-xhdpi/ic_home_bell_nor.png
+0
-0
icon_home_wz.png
GoodMoney/app/src/main/res/mipmap-xhdpi/icon_home_wz.png
+0
-0
icon_home_wz_nor.png
GoodMoney/app/src/main/res/mipmap-xhdpi/icon_home_wz_nor.png
+0
-0
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/MainActivity.kt
View file @
4a5b6586
...
...
@@ -63,8 +63,10 @@ class MainActivity : BaseActivity(), MainView, View.OnClickListener {
}
if
(
AppConfig
.
isMainShowWz
)
{
tab_iv_four
.
setImageResource
(
R
.
drawable
.
tab_wz_share_btn
)
tab_tv_four
.
text
=
"新闻分享"
}
else
{
tab_iv_four
.
setImageResource
(
R
.
drawable
.
tab_bell_btn
)
tab_tv_four
.
text
=
"来电秀"
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/WrapperActivity.kt
View file @
4a5b6586
...
...
@@ -8,7 +8,6 @@ import com.mints.goodmoney.ui.activitys.base.BaseActivity
import
com.mints.goodmoney.ui.fragment.FriendsFragment
import
com.mints.goodmoney.ui.fragment.MyZhangyueFragment
import
com.mints.goodmoney.ui.fragment.RsNewsFragment
import
com.mints.goodmoney.ui.fragment.ZhangyueFragment
import
kotlinx.android.synthetic.main.header_layout.*
/**
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
4a5b6586
...
...
@@ -724,6 +724,11 @@ class MyFragment : BaseFragment(),
readyGo
(
WxLoginActivity
::
class
.
java
)
}
}
R
.
id
.
tv_left_subtitle
->
{
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
}
}
R
.
id
.
iv_right_icon2
->
{
// 跳转QQ客服
jumpQQGroup
()
...
...
@@ -1022,7 +1027,10 @@ class MyFragment : BaseFragment(),
iv_right_icon
.
setImageResource
(
R
.
mipmap
.
ic_settings
)
iv_right_icon2
.
visibility
=
View
.
VISIBLE
iv_right_icon2
.
setImageResource
(
R
.
mipmap
.
icon_customer_service
)
tv_left_subtitle
.
visibility
=
View
.
VISIBLE
tv_left_subtitle
.
text
=
"团长攻略"
tv_left_subtitle
.
setOnClickListener
(
this
)
iv_right_icon2
.
setOnClickListener
(
this
)
item_title_id
.
setOnClickListener
(
this
)
iv_right_icon
.
setOnClickListener
(
this
)
...
...
GoodMoney/app/src/main/res/drawable/tab_bell_btn.xml
0 → 100755
View file @
4a5b6586
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@mipmap/ic_home_bell"
android:state_selected=
"true"
/>
<item
android:drawable=
"@mipmap/ic_home_bell_nor"
/>
</selector>
\ No newline at end of file
GoodMoney/app/src/main/res/drawable/tab_wz_share_btn.xml
0 → 100755
View file @
4a5b6586
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@mipmap/icon_home_wz"
android:state_selected=
"true"
/>
<item
android:drawable=
"@mipmap/icon_home_wz_nor"
/>
</selector>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/activity_task.xml
View file @
4a5b6586
...
...
@@ -19,10 +19,24 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/recy_task"
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"match_parent"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/recy_task"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<ImageView
android:id=
"@+id/iv_empty"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:src=
"@mipmap/ic_record_empty"
android:visibility=
"gone"
/>
</FrameLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</LinearLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/header_layout.xml
View file @
4a5b6586
...
...
@@ -15,6 +15,20 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_left_subtitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:lines=
"1"
android:maxLength=
"12"
android:padding=
"10dp"
android:textColor=
"@color/color_121B32"
android:textSize=
"16sp"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_title"
android:layout_width=
"wrap_content"
...
...
GoodMoney/app/src/main/res/mipmap-xhdpi/ic_home_bell.png
0 → 100644
View file @
4a5b6586
1.25 KB
GoodMoney/app/src/main/res/mipmap-xhdpi/ic_home_bell_nor.png
0 → 100644
View file @
4a5b6586
1.2 KB
GoodMoney/app/src/main/res/mipmap-xhdpi/icon_home_wz.png
0 → 100644
View file @
4a5b6586
1.45 KB
GoodMoney/app/src/main/res/mipmap-xhdpi/icon_home_wz_nor.png
0 → 100644
View file @
4a5b6586
1.41 KB
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