Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
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_flowbox
Commits
2c28a1e3
Commit
2c28a1e3
authored
Jul 23, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
插屏上送代码优化
parent
86733952
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
InterstitialGroManager.java
...com/mints/flowbox/ad/inscreen/InterstitialGroManager.java
+3
-3
CleanActivity.kt
...main/java/com/mints/flowbox/ui/activitys/CleanActivity.kt
+1
-1
HomeFragment.kt
...c/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
+2
-1
activity_award.xml
app/src/main/res/layout/activity_award.xml
+4
-2
No files found.
app/src/main/java/com/mints/flowbox/ad/inscreen/InterstitialGroManager.java
View file @
2c28a1e3
...
...
@@ -133,9 +133,9 @@ public class InterstitialGroManager {
vo
.
put
(
"adSource"
,
mInterstitialAd
.
getAdNetworkPlatformId
());
vo
.
put
(
"adType"
,
Constant
.
GRO_MORE_ADTYPE3
);
if
(
isMain
)
{
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_IN_
MAIN_AD_UNIT
_INTERSTITIAL_ID
());
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_IN_
COMMON_AD_UNIT_NEW
_INTERSTITIAL_ID
());
}
else
{
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_
IN_MAIN_AD_UNIT
_INTERSTITIAL_ID
());
vo
.
put
(
"adid"
,
CsjGroMoreManager
.
INSTANCE
.
getAPP_
OUT_AD_UNIT_NEW
_INTERSTITIAL_ID
());
}
TrackManager
.
getInstance
().
cmtGroMoreInfo
(
vo
);
}
else
{
...
...
@@ -144,7 +144,7 @@ public class InterstitialGroManager {
}
}
public
void
showInteractionAd
(
Activity
_activity
,
WifiAdStatusListener
wifiAdStatusListener
)
{
public
void
showInteractionAd
(
Activity
_activity
,
WifiAdStatusListener
wifiAdStatusListener
)
{
if
(
wifiAdStatusListener
!=
null
)
{
this
.
wifiAdStatusListener
=
wifiAdStatusListener
;
}
...
...
app/src/main/java/com/mints/flowbox/ui/activitys/CleanActivity.kt
View file @
2c28a1e3
...
...
@@ -415,7 +415,7 @@ class CleanActivity : BaseActivity(), View.OnClickListener {
headerContainer
.
setBackgroundColor
(
Color
.
parseColor
(
"#8278DC"
))
line
.
visibility
=
View
.
GONE
if
(
scanMax
==
1
)
{
tv_title
.
text
=
"一键
清理
"
tv_title
.
text
=
"一键
加速
"
}
else
{
tv_title
.
text
=
"垃圾清理"
}
...
...
app/src/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
View file @
2c28a1e3
...
...
@@ -15,7 +15,6 @@ import androidx.recyclerview.widget.DividerItemDecoration
import
com.mints.flowbox.R
import
com.mints.flowbox.ad.express.ExpressManager
import
com.mints.flowbox.ad.video.PreCsjGroMoreVideoAdManager
import
com.mints.flowbox.ad.wifi.WifiAdManager
import
com.mints.flowbox.common.AppConfig
import
com.mints.flowbox.common.Constant
import
com.mints.flowbox.keepalive.appswitch.AntiAuditManager
...
...
@@ -137,6 +136,8 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
refreshData
()
tvContent
.
text
=
"连续签到可得${AppConfig.HOME_BANNER_SIGN_GIVECASH}元红包"
DownloadApkManager
.
instance
.
tryOnceInstallApk
()
// gromore激励视频预加载
PreCsjGroMoreVideoAdManager
.
getInstance
().
preLoadAd
(
requireActivity
())
}
...
...
app/src/main/res/layout/activity_award.xml
View file @
2c28a1e3
...
...
@@ -106,6 +106,7 @@
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"4dp"
android:textSize=
"12sp"
android:textColor=
"@color/white"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/tvAwardHigh"
...
...
@@ -119,6 +120,7 @@
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"4dp"
android:textSize=
"12sp"
android:textColor=
"@color/white"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/tvAwardNext"
...
...
@@ -134,7 +136,7 @@
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"10dp"
android:textColor=
"@color/
color_333
"
android:textColor=
"@color/
white
"
android:textSize=
"14sp"
/>
</LinearLayout>
...
...
@@ -160,7 +162,7 @@
android:background=
"@drawable/shape_back"
android:gravity=
"center"
android:text=
"3"
android:textColor=
"
#9F9F9F
"
android:textColor=
"
@color/white
"
android:textSize=
"16sp"
/>
<ImageView
...
...
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