Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
Super Cleaner Max
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Super Cleaner Max
Commits
7e96c280
Commit
7e96c280
authored
Jun 07, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
=====移除扬声器功能======
parent
a503e5e4
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
52 additions
and
398 deletions
+52
-398
mapping.json
app/mapping.json
+0
-6
PreviewCompressionManager.kt
...activity/photocompress/photo/PreviewCompressionManager.kt
+31
-39
StartCompressionPhotoActivity.kt
...vity/photocompress/photo/StartCompressionPhotoActivity.kt
+2
-2
SplashJumpUtils.kt
...t/basd/supercleanermax/activity/splash/SplashJumpUtils.kt
+0
-1
ConfigBean.kt
...ain/java/com/test/basd/supercleanermax/bean/ConfigBean.kt
+0
-7
FIleBean.kt
.../main/java/com/test/basd/supercleanermax/bean/FIleBean.kt
+2
-1
NotificationHelper.kt
...m/test/basd/supercleanermax/display/NotificationHelper.kt
+0
-11
FcmHelper.kt
...va/com/test/basd/supercleanermax/display/fcm/FcmHelper.kt
+0
-5
activity_app_manager.xml
app/src/main/res/layout/activity_app_manager.xml
+3
-2
activity_layout_large_file.xml
app/src/main/res/layout/activity_layout_large_file.xml
+2
-3
activity_layout_parepre_scan.xml
app/src/main/res/layout/activity_layout_parepre_scan.xml
+4
-2
activity_layout_speaker_clean.xml
app/src/main/res/layout/activity_layout_speaker_clean.xml
+0
-79
activity_layout_speaker_cleaning.xml
app/src/main/res/layout/activity_layout_speaker_cleaning.xml
+0
-117
activity_layout_speed.xml
app/src/main/res/layout/activity_layout_speed.xml
+0
-75
activity_start_compression_photo.xml
app/src/main/res/layout/activity_start_compression_photo.xml
+7
-43
fragment_layout_home.xml
app/src/main/res/layout/fragment_layout_home.xml
+1
-4
speaker_home.png
app/src/main/res/mipmap-xxhdpi/speaker_home.png
+0
-0
strings.xml
app/src/main/res/values/strings.xml
+0
-1
No files found.
app/mapping.json
View file @
7e96c280
...
@@ -76,14 +76,10 @@
...
@@ -76,14 +76,10 @@
"Reddit"
:
"
\u
0786
\u
07a0
\u
07a2
\u
07a5
\u
0794_D"
,
"Reddit"
:
"
\u
0786
\u
07a0
\u
07a2
\u
07a5
\u
0794_D"
,
"Tiktok"
:
"
\u
0798
\u
0792
\u
0784
\u
0784
\u
079a_D"
,
"Tiktok"
:
"
\u
0798
\u
0792
\u
0784
\u
0784
\u
079a_D"
,
"1"
:
"
\u
078b
\u
0795
\u
0791
\u
0787
\u
0787_D"
,
"1"
:
"
\u
078b
\u
0795
\u
0791
\u
0787
\u
0787_D"
,
"Speaker Cleaner"
:
"
\u
078c
\u
0787
\u
079c
\u
07a4
\u
078c_D"
,
"Click the button to start cleaning"
:
"
\u
0784
\u
078a
\u
079b
\u
0780
\u
0788_D"
,
"Click the button to start cleaning"
:
"
\u
0784
\u
078a
\u
079b
\u
0780
\u
0788_D"
,
"There will be vibration and sound during speaker cleaning,which is normal!"
:
"
\u
0791
\u
07a0
\u
078d
\u
0799
\u
079e_D"
,
"Clean Dust"
:
"
\u
079d
\u
079d
\u
0799
\u
07a2
\u
0790_D"
,
"Clean Dust"
:
"
\u
079d
\u
079d
\u
0799
\u
07a2
\u
0790_D"
,
"Cleaning"
:
"
\u
0793
\u
0788
\u
079d
\u
07a3
\u
078d_D"
,
"Cleaning"
:
"
\u
0793
\u
0788
\u
079d
\u
07a3
\u
078d_D"
,
"Wait a moment please"
:
"
\u
0786
\u
079e
\u
0793
\u
078d
\u
078b_D"
,
"Wait a moment please"
:
"
\u
0786
\u
079e
\u
0793
\u
078d
\u
078b_D"
,
"There will be vibration and sound during speaker cleaning, which is normal!"
:
"
\u
078d
\u
07a3
\u
07a5
\u
078b
\u
0789_D"
,
"Speaker cleaning completed"
:
"
\u
07a2
\u
0795
\u
0799
\u
079d
\u
0799_D"
,
"Scanning"
:
"
\u
079b
\u
0799
\u
07a0
\u
079e
\u
0794_D"
,
"Scanning"
:
"
\u
079b
\u
0799
\u
07a0
\u
079e
\u
0794_D"
,
"Optimization completed"
:
"
\u
079f
\u
079a
\u
079d
\u
0786
\u
0785_D"
,
"Optimization completed"
:
"
\u
079f
\u
079a
\u
079d
\u
0786
\u
0785_D"
,
"Loading..."
:
"
\u
0795
\u
078f
\u
07a5
\u
0789
\u
07a0_D"
,
"Loading..."
:
"
\u
0795
\u
078f
\u
07a5
\u
0789
\u
07a0_D"
,
...
@@ -421,7 +417,6 @@
...
@@ -421,7 +417,6 @@
"Manage"
:
"
\u
0799
\u
079b
\u
0787
\u
0781
\u
07a2_D"
,
"Manage"
:
"
\u
0799
\u
079b
\u
0787
\u
0781
\u
07a2_D"
,
"View network traffic usage and stop traffic-consuming apps."
:
"
\u
0790
\u
0796
\u
0789
\u
078c
\u
0785_D"
,
"View network traffic usage and stop traffic-consuming apps."
:
"
\u
0790
\u
0796
\u
0789
\u
078c
\u
0785_D"
,
"View"
:
"
\u
07a1
\u
078f
\u
07a5
\u
0791
\u
07a2_D"
,
"View"
:
"
\u
07a1
\u
078f
\u
07a5
\u
0791
\u
07a2_D"
,
"Clean the speaker dust and fix the low volume problem"
:
"
\u
0797
\u
0787
\u
0787
\u
079e
\u
0784_D"
,
"Installation successful. Delete useless APKs"
:
"
\u
079d
\u
0789
\u
0788
\u
0783
\u
0785_D"
,
"Installation successful. Delete useless APKs"
:
"
\u
079d
\u
0789
\u
0788
\u
0783
\u
0785_D"
,
"Scan"
:
"
\u
078b
\u
0797
\u
078d
\u
07a3
\u
0785_D"
,
"Scan"
:
"
\u
078b
\u
0797
\u
078d
\u
07a3
\u
0785_D"
,
"Uninstalled successfully, clean residual files from your device"
:
"
\u
079d
\u
07a3
\u
078b
\u
0789
\u
079c_D"
,
"Uninstalled successfully, clean residual files from your device"
:
"
\u
079d
\u
07a3
\u
078b
\u
0789
\u
079c_D"
,
...
@@ -634,7 +629,6 @@
...
@@ -634,7 +629,6 @@
"App Manager"
:
"
\u
07a5
\u
07a5
\u
0784
\u
07a3
\u
079a_D"
,
"App Manager"
:
"
\u
07a5
\u
07a5
\u
0784
\u
07a3
\u
079a_D"
,
"Battery Info"
:
"
\u
079b
\u
079c
\u
0792
\u
0780
\u
0787_D"
,
"Battery Info"
:
"
\u
079b
\u
079c
\u
0792
\u
0780
\u
0787_D"
,
"Empty File Cleaner"
:
"
\u
0787
\u
079e
\u
079e
\u
078f
\u
0781_D"
,
"Empty File Cleaner"
:
"
\u
0787
\u
079e
\u
079e
\u
078f
\u
0781_D"
,
"Speaker Cleaner"
:
"
\u
0785
\u
0783
\u
079a
\u
0781
\u
079a_D"
,
"Photo Compress"
:
"
\u
079f
\u
0781
\u
079e
\u
0791
\u
079f_D"
,
"Photo Compress"
:
"
\u
079f
\u
0781
\u
079e
\u
0791
\u
079f_D"
,
"App Lock"
:
"
\u
0794
\u
07a4
\u
0780
\u
0793
\u
0790_D"
,
"App Lock"
:
"
\u
0794
\u
07a4
\u
0780
\u
0793
\u
0790_D"
,
"App Speed"
:
"
\u
078a
\u
078c
\u
0783
\u
0799
\u
0793_D"
,
"App Speed"
:
"
\u
078a
\u
078c
\u
0783
\u
0799
\u
0793_D"
,
...
...
app/src/main/java/com/test/basd/supercleanermax/activity/photocompress/photo/PreviewCompressionManager.kt
View file @
7e96c280
package
com.test.basd.supercleanermax.activity.photocompress.photo
package
com.test.basd.supercleanermax.activity.photocompress.photo
import
android.annotation.SuppressLint
import
android.app.Activity
import
android.app.Activity
import
android.graphics.Bitmap
import
android.graphics.Bitmap
import
android.util.Log
import
android.util.Log
...
@@ -15,10 +16,10 @@ import com.bumptech.glide.Glide
...
@@ -15,10 +16,10 @@ import com.bumptech.glide.Glide
import
com.test.basd.supercleanermax.R
import
com.test.basd.supercleanermax.R
class
PreviewCompressionManager
:
GalleryLayoutManager
.
OnItemSelectedListener
,
CompressionImageUtils
.
BitmapCallback
,
class
PreviewCompressionManager
(
private
val
mContext
:
Activity
)
:
GalleryLayoutManager
.
OnItemSelectedListener
,
CompressionImageUtils
.
BitmapCallback
,
OnSeekBarChangeListener
{
OnSeekBarChangeListener
{
private
val
mContext
:
Activity
private
var
galleryRecyclerView
:
RecyclerView
?
=
null
private
var
galleryRecyclerView
:
RecyclerView
?
=
null
private
var
galleryAdapter
:
GalleryAdapter
?
=
null
private
var
galleryAdapter
:
GalleryAdapter
?
=
null
private
val
mList
:
List
<
PhotoBean
>
private
val
mList
:
List
<
PhotoBean
>
...
@@ -37,21 +38,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
...
@@ -37,21 +38,6 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
private
var
mIndex
=
0
private
var
mIndex
=
0
constructor
(
mContext
:
Activity
)
{
this
.
mContext
=
mContext
mList
=
PhotoCache
.
getInstance
().
photoList
galleryRecyclerView
=
mContext
.
findViewById
(
R
.
id
.
galleryRecyclerView
)
mPreviewView
=
mContext
.
findViewById
(
R
.
id
.
preview_view
)
mLoadingView
=
mContext
.
findViewById
(
R
.
id
.
img_loading
)
mBeforeImage
=
mContext
.
findViewById
(
R
.
id
.
before_image
)
mAfterImage
=
mContext
.
findViewById
(
R
.
id
.
after_image
)
mBeforeSize
=
mContext
.
findViewById
(
R
.
id
.
before_size
)
mAfterSize
=
mContext
.
findViewById
(
R
.
id
.
after_size
)
mTitleView
=
mContext
.
findViewById
(
R
.
id
.
title
)
mSeekBar
=
mContext
.
findViewById
(
R
.
id
.
seekBar
)
initView
()
}
private
fun
initView
()
{
private
fun
initView
()
{
galleryAdapter
=
GalleryAdapter
(
mContext
,
mList
)
galleryAdapter
=
GalleryAdapter
(
mContext
,
mList
)
val
manager
=
GalleryLayoutManager
(
GalleryLayoutManager
.
HORIZONTAL
)
val
manager
=
GalleryLayoutManager
(
GalleryLayoutManager
.
HORIZONTAL
)
...
@@ -76,8 +62,7 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
...
@@ -76,8 +62,7 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
lastRefreshTime
=
currentTime
lastRefreshTime
=
currentTime
mIndex
=
position
mIndex
=
position
Log
.
d
(
"glc"
,
""
)
refreshPreviewImage
(
true
,
50
)
refreshPreviewImage
(
true
)
}
}
override
fun
onBitmapReady
(
bitmap
:
Bitmap
?,
size
:
Long
,
position
:
Int
)
{
override
fun
onBitmapReady
(
bitmap
:
Bitmap
?,
size
:
Long
,
position
:
Int
)
{
...
@@ -89,17 +74,14 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
...
@@ -89,17 +74,14 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
val
entity
=
mList
[
position
]
val
entity
=
mList
[
position
]
mPreviewView
?.
visibility
=
View
.
VISIBLE
mPreviewView
?.
visibility
=
View
.
VISIBLE
mLoadingView
?.
visibility
=
View
.
GONE
mLoadingView
?.
visibility
=
View
.
GONE
if
(
mBeforeImage
!=
null
)
{
Glide
.
with
(
mContext
).
load
(
entity
.
src
).
into
(
mBeforeImage
)
Glide
.
with
(
mContext
).
load
(
entity
.
src
).
into
(
mBeforeImage
)
}
mBeforeSize
?.
text
=
entity
.
sizeText
mBeforeSize
?.
text
=
entity
.
sizeText
mAfterSize
?.
text
=
ImagesMediaUtils
.
formatFileSize
(
size
)
mAfterSize
?.
text
=
ImagesMediaUtils
.
formatFileSize
(
size
)
if
(
mAfterImage
!=
null
)
{
Glide
.
with
(
mContext
).
load
(
bitmap
).
into
(
mAfterImage
)
Glide
.
with
(
mContext
).
load
(
bitmap
).
into
(
mAfterImage
)
}
}
}
}
}
@SuppressLint
(
"SetTextI18n"
)
private
fun
loading
(
boolean
:
Boolean
)
{
private
fun
loading
(
boolean
:
Boolean
)
{
mPreviewView
?.
visibility
=
View
.
GONE
mPreviewView
?.
visibility
=
View
.
GONE
mLoadingView
?.
visibility
=
View
.
VISIBLE
mLoadingView
?.
visibility
=
View
.
VISIBLE
...
@@ -110,40 +92,50 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
...
@@ -110,40 +92,50 @@ class PreviewCompressionManager : GalleryLayoutManager.OnItemSelectedListener, C
}
}
override
fun
onProgressChanged
(
seekBar
:
SeekBar
?,
progress
:
Int
,
fromUser
:
Boolean
)
{
override
fun
onProgressChanged
(
seekBar
:
SeekBar
?,
progress
:
Int
,
fromUser
:
Boolean
)
{
when
{
progress
<=
25
->
seekBar
?.
progress
=
0
progress
in
26
..
75
->
seekBar
?.
progress
=
50
progress
>
75
->
seekBar
?.
progress
=
100
}
}
}
override
fun
onStartTrackingTouch
(
seekBar
:
SeekBar
?)
{
override
fun
onStartTrackingTouch
(
seekBar
:
SeekBar
?)
{
}
}
private
var
lastProgress
=
50
private
var
lastProgress
=
50
override
fun
onStopTrackingTouch
(
seekBar
:
SeekBar
?)
{
override
fun
onStopTrackingTouch
(
seekBar
:
SeekBar
?)
{
val
progress
=
seekBar
?.
progress
?:
0
val
progress
=
seekBar
?.
progress
?:
0
var
mode
:
Int
=
0
when
{
when
{
seekBar
?.
progress
?:
0
<=
1
->
seekBar
?.
progress
=
0
(
seekBar
?.
progress
?:
0
)
<=
1
->
mode
=
0
(
seekBar
?.
progress
?:
0
)
>
1
&&
(
seekBar
?.
progress
?:
0
)
<=
50
->
seekBar
?.
progress
=
(
seekBar
?.
progress
?:
0
)
>
1
&&
(
seekBar
?.
progress
?:
0
)
<=
50
->
mode
=
50
50
(
seekBar
?.
progress
?:
0
)
>
50
->
mode
=
100
seekBar
?.
progress
?:
0
>
50
->
seekBar
?.
progress
=
100
}
}
if
(
progress
!=
lastProgress
)
{
if
(
progress
!=
lastProgress
)
{
refreshPreviewImage
(
false
)
refreshPreviewImage
(
false
,
mode
)
lastProgress
=
progress
lastProgress
=
progress
}
}
}
}
private
fun
refreshPreviewImage
(
boolean
:
Boolean
)
{
@SuppressLint
(
"SetTextI18n"
)
private
fun
refreshPreviewImage
(
boolean
:
Boolean
,
mode
:
Int
)
{
loading
(
boolean
)
loading
(
boolean
)
val
entity
=
mList
[
mIndex
]
val
entity
=
mList
[
mIndex
]
mTitleView
?.
text
=
"Preview ("
+
(
mIndex
+
1
)
+
"/${mList.size})"
mTitleView
?.
text
=
"Preview ("
+
(
mIndex
+
1
)
+
"/${mList.size})"
CompressionImageUtils
.
compressImage
(
entity
.
src
,
m
SeekBar
.
progress
,
mIndex
,
this
)
CompressionImageUtils
.
compressImage
(
entity
.
src
,
m
ode
,
mIndex
,
this
)
}
}
fun
getMode
()
=
mSeekBar
.
progress
fun
getMode
()
=
mSeekBar
.
progress
init
{
mList
=
PhotoCache
.
getInstance
().
photoList
galleryRecyclerView
=
mContext
.
findViewById
(
R
.
id
.
galleryRecyclerView
)
mPreviewView
=
mContext
.
findViewById
(
R
.
id
.
preview_view
)
mLoadingView
=
mContext
.
findViewById
(
R
.
id
.
img_loading
)
mBeforeImage
=
mContext
.
findViewById
(
R
.
id
.
before_image
)
mAfterImage
=
mContext
.
findViewById
(
R
.
id
.
after_image
)
mBeforeSize
=
mContext
.
findViewById
(
R
.
id
.
before_size
)
mAfterSize
=
mContext
.
findViewById
(
R
.
id
.
after_size
)
mTitleView
=
mContext
.
findViewById
(
R
.
id
.
title
)
mSeekBar
=
mContext
.
findViewById
(
R
.
id
.
seekBar
)
initView
()
}
}
}
\ No newline at end of file
app/src/main/java/com/test/basd/supercleanermax/activity/photocompress/photo/StartCompressionPhotoActivity.kt
View file @
7e96c280
...
@@ -41,13 +41,13 @@ class StartCompressionPhotoActivity : BaseActivity<ActivityStartCompressionPhoto
...
@@ -41,13 +41,13 @@ class StartCompressionPhotoActivity : BaseActivity<ActivityStartCompressionPhoto
if
(
isGranted
)
{
if
(
isGranted
)
{
isplay
+=
1
isplay
+=
1
if
(
isplay
==
1
)
{
if
(
isplay
==
1
)
{
play
l
ottie
()
play
L
ottie
()
}
}
}
else
{
}
else
{
finishToMain
()
finishToMain
()
}
}
}
}
private
fun
play
l
ottie
(){
private
fun
play
L
ottie
(){
binding
.
idLottie1
.
imageAssetsFolder
=
"ya_smax_suo/images/"
binding
.
idLottie1
.
imageAssetsFolder
=
"ya_smax_suo/images/"
binding
.
idLottie1
.
setAnimation
(
"ya_smax_suo/data.json"
)
binding
.
idLottie1
.
setAnimation
(
"ya_smax_suo/data.json"
)
binding
.
idLottie1
.
playAnimation
()
binding
.
idLottie1
.
playAnimation
()
...
...
app/src/main/java/com/test/basd/supercleanermax/activity/splash/SplashJumpUtils.kt
View file @
7e96c280
...
@@ -15,7 +15,6 @@ import com.test.basd.supercleanermax.activity.photocompress.photo.StartCompressi
...
@@ -15,7 +15,6 @@ import com.test.basd.supercleanermax.activity.photocompress.photo.StartCompressi
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_APP_MANAGER
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_APP_MANAGER
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CHARGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CHARGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_NOTIFICATION
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_NOTIFICATION
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_SPEAKER
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_INSTALL_PACKAGE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_INSTALL_PACKAGE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_JUNK_CLEAN_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_JUNK_CLEAN_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LARGE_FILE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LARGE_FILE_PUSH
...
...
app/src/main/java/com/test/basd/supercleanermax/bean/ConfigBean.kt
View file @
7e96c280
...
@@ -53,8 +53,6 @@ data class ConfigBean(
...
@@ -53,8 +53,6 @@ data class ConfigBean(
const
val
ID_CLEAN_NOTIFICATION
=
11013
//清理通知栏
const
val
ID_CLEAN_NOTIFICATION
=
11013
//清理通知栏
const
val
ID_RECENT_USE_APP
=
11014
//最近使用APP
const
val
ID_RECENT_USE_APP
=
11014
//最近使用APP
const
val
ID_SIMILAR_IMAGE
=
11015
//清理相似图片
const
val
ID_SIMILAR_IMAGE
=
11015
//清理相似图片
const
val
ID_CLEAN_SPEAKER
=
11016
//清理扬声器
// const val ID_BATTERY_OPTIMIZATION = 11017//电池优化,目前是虚假功能
//场景触发push actionId 被动发送
//场景触发push actionId 被动发送
const
val
ID_WIFI_PUSH
=
22001
//连接wifi时
const
val
ID_WIFI_PUSH
=
22001
//连接wifi时
...
@@ -63,13 +61,11 @@ data class ConfigBean(
...
@@ -63,13 +61,11 @@ data class ConfigBean(
const
val
ID_CHARGE
=
22004
//充电
const
val
ID_CHARGE
=
22004
//充电
const
val
ID_LOW_BATTERY_PUSH
=
22005
//电量低于阈值时
const
val
ID_LOW_BATTERY_PUSH
=
22005
//电量低于阈值时
const
val
ID_LOW_RAM_PUSH
=
22007
//内存低于阈值
const
val
ID_LOW_RAM_PUSH
=
22007
//内存低于阈值
// const val ID_PHONE_ACCELERATE = 22011//手机加速,目前是虚假功能
fun
ConfigBean
.
getActionPushInterval
(
actionId
:
Int
):
Int
{
fun
ConfigBean
.
getActionPushInterval
(
actionId
:
Int
):
Int
{
val
interval
=
when
(
actionId
)
{
val
interval
=
when
(
actionId
)
{
ID_JUNK_CLEAN_PUSH
->
push_interval_11001
ID_JUNK_CLEAN_PUSH
->
push_interval_11001
ID_BOOST_PUSH
->
push_interval_11002
ID_BOOST_PUSH
->
push_interval_11002
// ID_VIRUS_PUSH -> push_interval_11003
ID_BATTERY_PUSH
->
push_interval_11004
ID_BATTERY_PUSH
->
push_interval_11004
ID_COOL_PUSH
->
push_interval_11005
ID_COOL_PUSH
->
push_interval_11005
ID_LARGE_FILE_PUSH
->
push_interval_11006
ID_LARGE_FILE_PUSH
->
push_interval_11006
...
@@ -82,15 +78,12 @@ data class ConfigBean(
...
@@ -82,15 +78,12 @@ data class ConfigBean(
ID_CLEAN_NOTIFICATION
->
push_interval_11013
ID_CLEAN_NOTIFICATION
->
push_interval_11013
ID_RECENT_USE_APP
->
push_interval_11014
ID_RECENT_USE_APP
->
push_interval_11014
ID_SIMILAR_IMAGE
->
push_interval_11015
ID_SIMILAR_IMAGE
->
push_interval_11015
ID_CLEAN_SPEAKER
->
push_interval_11016
// ID_BATTERY_OPTIMIZATION -> push_interval_11017
ID_WIFI_PUSH
->
push_interval_22001
ID_WIFI_PUSH
->
push_interval_22001
ID_INSTALL_PACKAGE_PUSH
->
push_interval_22002
ID_INSTALL_PACKAGE_PUSH
->
push_interval_22002
ID_UNINSTALL_PACKAGE_PUSH
->
push_interval_22003
ID_UNINSTALL_PACKAGE_PUSH
->
push_interval_22003
ID_CHARGE
->
push_interval_22004
ID_CHARGE
->
push_interval_22004
ID_LOW_BATTERY_PUSH
->
push_interval_22005
ID_LOW_BATTERY_PUSH
->
push_interval_22005
ID_LOW_RAM_PUSH
->
push_interval_22007
ID_LOW_RAM_PUSH
->
push_interval_22007
// ID_PHONE_ACCELERATE -> push_interval_22011
else
->
0
else
->
0
}
}
return
interval
return
interval
...
...
app/src/main/java/com/test/basd/supercleanermax/bean/FIleBean.kt
View file @
7e96c280
...
@@ -28,5 +28,6 @@ data class FileBean(
...
@@ -28,5 +28,6 @@ data class FileBean(
fun
isOther
()
=
!
isImage
()
&&
!
isVideo
()
&&
!
isAudio
()
&&
!
isZip
()
&&
!
isApk
()
fun
isOther
()
=
!
isImage
()
&&
!
isVideo
()
&&
!
isAudio
()
&&
!
isZip
()
&&
!
isApk
()
fun
isJunk
()
=
!
isDir
&&
type
in
listOf
(
"tmp"
,
"cache"
,
"temp"
)
fun
isJunk
()
=
!
isDir
&&
type
in
listOf
(
"tmp"
,
"cache"
,
"temp"
)
fun
isOtherTrash
()
=
!
isDir
&&
type
in
listOf
(
"log"
,
"bak"
,
"old"
,
"chk"
,
"gid"
,
"dmp"
,
"thumb"
,
"crdownload"
,
"part"
,
"trash"
,
"trashes"
)
fun
isOtherTrash
()
=
!
isDir
&&
type
in
listOf
(
"log"
,
"bak"
,
"old"
,
"chk"
,
"gid"
,
"dmp"
,
"thumb"
,
"crdownload"
,
"part"
,
"trash"
,
"trashes"
)
}
}
\ No newline at end of file
app/src/main/java/com/test/basd/supercleanermax/display/NotificationHelper.kt
View file @
7e96c280
...
@@ -17,22 +17,18 @@ import com.google.gson.reflect.TypeToken
...
@@ -17,22 +17,18 @@ import com.google.gson.reflect.TypeToken
import
com.test.basd.supercleanermax.R
import
com.test.basd.supercleanermax.R
import
com.test.basd.supercleanermax.activity.splash.NewSplashActivity
import
com.test.basd.supercleanermax.activity.splash.NewSplashActivity
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_APP_MANAGER
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_APP_MANAGER
//import com.test.basd.cleanmaster.bean.ConfigBean.Companion.ID_BATTERY_OPTIMIZATION
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_BATTERY_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_BATTERY_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CHARGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CHARGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_NOTIFICATION
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_NOTIFICATION
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_CLEAN_SPEAKER
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_INSTALL_PACKAGE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_INSTALL_PACKAGE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_JUNK_CLEAN_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_JUNK_CLEAN_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LARGE_FILE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LARGE_FILE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LOW_BATTERY_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_LOW_BATTERY_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_NETWORK_TRAFFIC
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_NETWORK_TRAFFIC
//import com.test.basd.cleanmaster.bean.ConfigBean.Companion.ID_PHONE_ACCELERATE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_PHOTO_COMPRESS
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_PHOTO_COMPRESS
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_RECENT_USE_APP
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_RECENT_USE_APP
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_SIMILAR_IMAGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_SIMILAR_IMAGE
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_UNINSTALL_PACKAGE_PUSH
import
com.test.basd.supercleanermax.bean.ConfigBean.Companion.ID_UNINSTALL_PACKAGE_PUSH
//import com.test.basd.cleanmaster.bean.ConfigBean.Companion.ID_VIRUS_PUSH
import
com.test.basd.supercleanermax.helps.BaseApplication
import
com.test.basd.supercleanermax.helps.BaseApplication
import
com.test.basd.supercleanermax.helps.ComUtils
import
com.test.basd.supercleanermax.helps.ComUtils
import
com.test.basd.supercleanermax.helps.EventHelper
import
com.test.basd.supercleanermax.helps.EventHelper
...
@@ -64,7 +60,6 @@ object NotificationHelper {
...
@@ -64,7 +60,6 @@ object NotificationHelper {
ID_CLEAN_NOTIFICATION
,
ID_CLEAN_NOTIFICATION
,
ID_RECENT_USE_APP
,
ID_RECENT_USE_APP
,
ID_SIMILAR_IMAGE
,
ID_SIMILAR_IMAGE
,
ID_CLEAN_SPEAKER
,
)
)
/**
/**
...
@@ -174,12 +169,6 @@ object NotificationHelper {
...
@@ -174,12 +169,6 @@ object NotificationHelper {
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
"Clean up"
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
"Clean up"
)
}
}
ID_CLEAN_SPEAKER
->
{
remoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
speaker_home
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
"Clean the speaker dust and fix the low volume problem"
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
"Clean up"
)
}
//==================================下面是被动推送的情况===============================================
//==================================下面是被动推送的情况===============================================
ID_INSTALL_PACKAGE_PUSH
->
{
ID_INSTALL_PACKAGE_PUSH
->
{
...
...
app/src/main/java/com/test/basd/supercleanermax/display/fcm/FcmHelper.kt
View file @
7e96c280
package
com.test.basd.supercleanermax.display.fcm
package
com.test.basd.supercleanermax.display.fcm
import
android.annotation.SuppressLint
import
android.app.AlarmManager
import
android.app.PendingIntent
import
android.content.Context
import
android.content.Intent
import
android.util.Log
import
android.util.Log
import
com.google.android.gms.tasks.OnCompleteListener
import
com.google.android.gms.tasks.OnCompleteListener
import
com.google.android.gms.tasks.Task
import
com.google.android.gms.tasks.Task
...
...
app/src/main/res/layout/activity_app_manager.xml
View file @
7e96c280
...
@@ -312,13 +312,14 @@
...
@@ -312,13 +312,14 @@
android:layout_marginBottom=
"190dp"
android:layout_marginBottom=
"190dp"
android:gravity=
"center"
android:gravity=
"center"
android:lineHeight=
"20dp"
android:lineHeight=
"20dp"
android:text=
"
Scan app
\n..."
android:text=
"
Wait a moment please.
\n..."
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"19sp"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
app:layout_constraintStart_toStartOf=
"parent"
tools:ignore=
"HardcodedText,UnusedAttribute"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
...
...
app/src/main/res/layout/activity_layout_large_file.xml
View file @
7e96c280
...
@@ -205,6 +205,7 @@
...
@@ -205,6 +205,7 @@
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</FrameLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
...
@@ -218,7 +219,6 @@
...
@@ -218,7 +219,6 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
app:layout_constraintTop_toTopOf=
"parent"
>
<com.airbnb.lottie.LottieAnimationView
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/lottie"
android:id=
"@+id/lottie"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"40dp"
android:layout_marginTop=
"40dp"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"
Scan large file\n..
."
android:text=
"
Wait a moment please
."
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"19sp"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
...
@@ -249,7 +249,6 @@
...
@@ -249,7 +249,6 @@
app:layout_constraintTop_toBottomOf=
"@id/lottie"
app:layout_constraintTop_toBottomOf=
"@id/lottie"
tools:ignore=
"HardcodedText"
/>
tools:ignore=
"HardcodedText"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_layout_parepre_scan.xml
View file @
7e96c280
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -54,9 +55,10 @@
...
@@ -54,9 +55,10 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
android:text=
"
Scanning..
."
android:text=
"
Wait a moment please
."
android:textColor=
"#666666"
android:textColor=
"#666666"
android:textSize=
"16sp"
/>
android:textSize=
"16sp"
tools:ignore=
"HardcodedText"
/>
<androidx.appcompat.widget.LinearLayoutCompat
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_layout_speaker_clean.xml
deleted
100644 → 0
View file @
a503e5e4
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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_height=
"match_parent"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_back_speak_cleaner"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"14dp"
android:paddingHorizontal=
"12dp"
android:src=
"@mipmap/fanhui"
android:tint=
"@color/black"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Speaker Cleaner"
android:textColor=
"#000000"
android:textSize=
"18sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"@+id/id_back_speak_cleaner"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/id_back_speak_cleaner"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
app:layout_constraintBottom_toTopOf=
"@+id/id_clean_dust"
app:layout_constraintTop_toBottomOf=
"@+id/id_back_speak_cleaner"
>
<androidx.appcompat.widget.AppCompatImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@mipmap/speakertu"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"40dp"
android:text=
"Click the button to start cleaning"
android:textColor=
"#000000"
android:textSize=
"15sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"28dp"
android:layout_marginTop=
"12dp"
android:gravity=
"center"
android:text=
"There will be vibration and sound during speaker cleaning,which is normal!"
android:textColor=
"#999999"
android:textSize=
"13sp"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<com.noober.background.view.BLTextView
android:id=
"@+id/id_clean_dust"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginHorizontal=
"41dp"
android:layout_marginBottom=
"36dp"
android:gravity=
"center"
android:text=
"Clean Dust"
android:textColor=
"@color/white"
android:textSize=
"14sp"
android:textStyle=
"bold"
app:bl_corners_radius=
"24dp"
app:bl_gradient_angle=
"180"
app:bl_gradient_endColor=
"@color/color_655afd"
app:bl_gradient_startColor=
"#8720eb"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_layout_speaker_cleaning.xml
deleted
100644 → 0
View file @
a503e5e4
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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_height=
"match_parent"
android:background=
"@color/color_655afd"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/id_ll_p1"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:visibility=
"visible"
>
<View
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:layout_weight=
"1"
/>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_speak_clean_lottie"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
app:lottie_autoPlay=
"true"
app:lottie_loop=
"true"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:layout_weight=
"1"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Cleaning"
android:textColor=
"@color/white"
android:textSize=
"21sp"
android:textStyle=
"bold"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"18dp"
android:layout_marginBottom=
"19dp"
>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
android:layout_marginHorizontal=
"2dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Wait a moment please"
android:textColor=
"@color/white"
android:textSize=
"13sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"50dp"
android:layout_marginTop=
"54dp"
android:layout_marginBottom=
"96dp"
android:gravity=
"center"
android:text=
"There will be vibration and sound during speaker cleaning, which is normal!"
android:textColor=
"#80FFFFFF"
android:textSize=
"12sp"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/id_ll_p2"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:visibility=
"gone"
>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_lottie_complete"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:adjustViewBounds=
"true"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:lottie_rawRes=
"@raw/new_complete"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"290dp"
android:text=
"Speaker cleaning completed"
android:textColor=
"@color/white"
android:textSize=
"14sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_layout_speed.xml
deleted
100644 → 0
View file @
a503e5e4
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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_height=
"match_parent"
android:background=
"#0ec897"
>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_rocket"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_one_lottie"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"46dp"
android:layout_marginTop=
"182dp"
app:layout_constraintBottom_toTopOf=
"@+id/id_scaning"
app:layout_constraintTop_toTopOf=
"parent"
app:lottie_autoPlay=
"true"
app:lottie_loop=
"true"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_speed_icon"
android:layout_width=
"42dp"
android:layout_height=
"42dp"
android:layout_marginBottom=
"15dp"
android:visibility=
"gone"
app:layout_constraintBottom_toTopOf=
"@+id/id_scaning"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
<TextView
android:id=
"@+id/id_scaning"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"19dp"
android:text=
"Scanning"
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toTopOf=
"@+id/id_scan"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/id_scan"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"18dp"
android:layout_marginBottom=
"140dp"
android:gravity=
"center"
app:layout_constraintBottom_toBottomOf=
"parent"
>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
android:layout_marginHorizontal=
"2dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_start_compression_photo.xml
View file @
7e96c280
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#4772ff"
>
android:background=
"#4772ff"
>
...
@@ -20,53 +21,16 @@
...
@@ -20,53 +21,16 @@
android:id=
"@+id/id_scaning"
android:id=
"@+id/id_scaning"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"19dp"
android:layout_marginBottom=
"100dp"
android:text=
"Scanning"
android:gravity=
"center"
android:text=
"Wait a moment please."
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintBottom_to
TopOf=
"@+id/id_scan
"
app:layout_constraintBottom_to
BottomOf=
"parent
"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
app:layout_constraintStart_toStartOf=
"parent"
tools:ignore=
"HardcodedText"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/id_scan"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"18dp"
android:gravity=
"center"
android:layout_marginBottom=
"20dp"
app:layout_constraintBottom_toTopOf=
"@+id/id_tv_b_1"
>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
android:layout_marginHorizontal=
"2dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
<com.noober.background.view.BLView
android:layout_width=
"4dp"
android:layout_height=
"4dp"
app:bl_shape=
"oval"
app:bl_solid_color=
"@color/white"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<TextView
android:id=
"@+id/id_tv_b_1"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"140dp"
android:text=
"Wait a moment please"
android:textColor=
"@color/white"
android:textSize=
"16sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_layout_home.xml
View file @
7e96c280
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
android:layout_marginHorizontal=
"41dp"
android:layout_marginHorizontal=
"41dp"
android:layout_marginTop=
"11dp"
android:layout_marginTop=
"11dp"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"Clean
Up
"
android:text=
"Clean
Junk
"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"19sp"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
...
@@ -366,7 +366,6 @@
...
@@ -366,7 +366,6 @@
</com.noober.background.view.BLConstraintLayout>
</com.noober.background.view.BLConstraintLayout>
<com.noober.background.view.BLLinearLayout
<com.noober.background.view.BLLinearLayout
android:id=
"@+id/id_speak_clean"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"85dp"
android:layout_height=
"85dp"
android:layout_margin=
"4dp"
android:layout_margin=
"4dp"
...
@@ -387,7 +386,6 @@
...
@@ -387,7 +386,6 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@mipmap/speaker_home"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
...
@@ -406,7 +404,6 @@
...
@@ -406,7 +404,6 @@
android:layout_marginBottom=
"20dp"
android:layout_marginBottom=
"20dp"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:singleLine=
"true"
android:singleLine=
"true"
android:text=
"Speaker Cleaner"
android:textColor=
"#000000"
android:textColor=
"#000000"
android:textSize=
"12sp"
android:textSize=
"12sp"
tools:ignore=
"HardcodedText"
/>
tools:ignore=
"HardcodedText"
/>
...
...
app/src/main/res/mipmap-xxhdpi/speaker_home.png
deleted
100644 → 0
View file @
a503e5e4
2.05 KB
app/src/main/res/values/strings.xml
View file @
7e96c280
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<string
name=
"more"
>
More
</string>
<string
name=
"more"
>
More
</string>
<string
name=
"large_file_cleaner"
>
Large File Cleaner
</string>
<string
name=
"large_file_cleaner"
>
Large File Cleaner
</string>
<string
name=
"app_manager"
>
App Manager
</string>
<string
name=
"app_manager"
>
App Manager
</string>
<string
name=
"speaker_cleaner"
>
Speaker Cleaner
</string>
<string
name=
"network_traffic"
>
Network Traffic
</string>
<string
name=
"network_traffic"
>
Network Traffic
</string>
<string
name=
"notification_cleaner"
>
Notification Cleaner
</string>
<string
name=
"notification_cleaner"
>
Notification Cleaner
</string>
<string
name=
"recent_app_usage"
>
Recent App Usage
</string>
<string
name=
"recent_app_usage"
>
Recent App Usage
</string>
...
...
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