Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
C
clean master
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
clean master
Commits
2f3c5cd4
Commit
2f3c5cd4
authored
May 16, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除无用activity
parent
e8e27197
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
108 additions
and
1803 deletions
+108
-1803
OpenNotificationsUtil.kt
...xhyis/toolss/common/notification/OpenNotificationsUtil.kt
+8
-7
dianchi_reminder.png
app/src/main/res/drawable-xxhdpi/dianchi_reminder.png
+0
-0
guanli_reminder.png
app/src/main/res/drawable-xxhdpi/guanli_reminder.png
+0
-0
qinli_reminder.png
app/src/main/res/drawable-xxhdpi/qinli_reminder.png
+0
-0
saomiao_reminder.png
app/src/main/res/drawable-xxhdpi/saomiao_reminder.png
+0
-0
shoudiantong_reminder.png
app/src/main/res/drawable-xxhdpi/shoudiantong_reminder.png
+0
-0
activity_all_files.xml
app/src/main/res/layout/activity_all_files.xml
+0
-225
activity_app_manager.xml
app/src/main/res/layout/activity_app_manager.xml
+0
-92
activity_audio.xml
app/src/main/res/layout/activity_audio.xml
+0
-202
activity_documents.xml
app/src/main/res/layout/activity_documents.xml
+0
-159
activity_garbage.xml
app/src/main/res/layout/activity_garbage.xml
+0
-8
activity_layout_guest.xml
app/src/main/res/layout/activity_layout_guest.xml
+0
-52
activity_layout_virusapp.xml
app/src/main/res/layout/activity_layout_virusapp.xml
+0
-66
activity_picture.xml
app/src/main/res/layout/activity_picture.xml
+0
-194
activity_recently.xml
app/src/main/res/layout/activity_recently.xml
+0
-189
activity_video.xml
app/src/main/res/layout/activity_video.xml
+0
-189
activity_zip_file.xml
app/src/main/res/layout/activity_zip_file.xml
+0
-156
item_files.xml
app/src/main/res/layout/item_files.xml
+0
-71
item_layout_risk_app.xml
app/src/main/res/layout/item_layout_risk_app.xml
+0
-64
layout_no_menu2.xml
app/src/main/res/layout/layout_no_menu2.xml
+0
-40
reminder_layout_notification.xml
app/src/main/res/layout/reminder_layout_notification.xml
+40
-69
reminder_layout_notification_big.xml
app/src/main/res/layout/reminder_layout_notification_big.xml
+60
-20
No files found.
app/src/main/java/com/zxhyis/toolss/common/notification/OpenNotificationsUtil.kt
View file @
2f3c5cd4
...
@@ -19,6 +19,7 @@ import com.zxhyis.toolss.ui.home.MainActivity
...
@@ -19,6 +19,7 @@ import com.zxhyis.toolss.ui.home.MainActivity
import
com.zxhyis.toolss.ui.page.BatteryInfoActivity
import
com.zxhyis.toolss.ui.page.BatteryInfoActivity
import
com.zxhyis.toolss.ui.page.PrepareScanActivity
import
com.zxhyis.toolss.ui.page.PrepareScanActivity
import
com.zxhyis.toolss.ui.page.VirusActivity
import
com.zxhyis.toolss.ui.page.VirusActivity
import
com.zxhyis.toolss.ui.page.appmanager.AppManager2Activity
import
com.zxhyis.toolss.ui.start.FlashlightService
import
com.zxhyis.toolss.ui.start.FlashlightService
...
@@ -119,7 +120,7 @@ object OpenNotificationsUtil {
...
@@ -119,7 +120,7 @@ object OpenNotificationsUtil {
val
notificationManager
=
val
notificationManager
=
context
.
getSystemService
(
Context
.
NOTIFICATION_SERVICE
)
as
NotificationManager
context
.
getSystemService
(
Context
.
NOTIFICATION_SERVICE
)
as
NotificationManager
val
contentView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
reminder_layout_notification
)
val
contentView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
reminder_layout_notification
)
val
expendView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
reminder_layout_notification
2
)
val
expendView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
reminder_layout_notification
_big
)
val
intent0
=
Intent
(
context
,
PrepareScanActivity
::
class
.
java
)
val
intent0
=
Intent
(
context
,
PrepareScanActivity
::
class
.
java
)
val
pendingIntent0
=
val
pendingIntent0
=
PendingIntent
.
getActivity
(
context
,
0
,
intent0
,
PendingIntent
.
FLAG_IMMUTABLE
)
PendingIntent
.
getActivity
(
context
,
0
,
intent0
,
PendingIntent
.
FLAG_IMMUTABLE
)
...
@@ -134,15 +135,15 @@ object OpenNotificationsUtil {
...
@@ -134,15 +135,15 @@ object OpenNotificationsUtil {
val
pendingIntent2
=
val
pendingIntent2
=
PendingIntent
.
getActivity
(
context
,
0
,
intent2
,
PendingIntent
.
FLAG_IMMUTABLE
)
PendingIntent
.
getActivity
(
context
,
0
,
intent2
,
PendingIntent
.
FLAG_IMMUTABLE
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_battery
,
pendingIntent2
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_battery
,
pendingIntent2
)
val
serviceComponet
=
ComponentName
(
context
,
FlashlightService
::
class
.
java
)
val
serviceComponet
=
ComponentName
(
context
,
FlashlightService
::
class
.
java
)
val
intent3
=
Intent
()
val
intent3
=
Intent
()
intent3
.
component
=
serviceComponet
intent3
.
component
=
serviceComponet
val
pendingIntent3
=
val
pendingIntent3
=
PendingIntent
.
getService
(
context
,
0
,
intent3
,
PendingIntent
.
FLAG_IMMUTABLE
)
PendingIntent
.
getService
(
context
,
0
,
intent3
,
PendingIntent
.
FLAG_IMMUTABLE
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_lighit
,
pendingIntent3
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_lighit
,
pendingIntent3
)
expendView
.
setOnClickPendingIntent
(
R
.
id
.
id_lighit
,
pendingIntent3
)
expendView
.
setOnClickPendingIntent
(
R
.
id
.
id_lighit
,
pendingIntent3
)
val
intent4
=
Intent
(
context
,
AppManagerActivity
::
class
.
java
)
val
intent4
=
Intent
(
context
,
AppManager
2
Activity
::
class
.
java
)
val
pendingIntent4
=
val
pendingIntent4
=
PendingIntent
.
getActivity
(
context
,
0
,
intent4
,
PendingIntent
.
FLAG_IMMUTABLE
)
PendingIntent
.
getActivity
(
context
,
0
,
intent4
,
PendingIntent
.
FLAG_IMMUTABLE
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_app_manager
,
pendingIntent4
)
contentView
.
setOnClickPendingIntent
(
R
.
id
.
id_app_manager
,
pendingIntent4
)
...
@@ -152,10 +153,10 @@ object OpenNotificationsUtil {
...
@@ -152,10 +153,10 @@ object OpenNotificationsUtil {
PendingIntent
.
getActivity
(
context
,
0
,
nfIntent
,
PendingIntent
.
FLAG_IMMUTABLE
)
PendingIntent
.
getActivity
(
context
,
0
,
nfIntent
,
PendingIntent
.
FLAG_IMMUTABLE
)
val
builder
=
NotificationCompat
.
Builder
(
context
,
channelId
)
val
builder
=
NotificationCompat
.
Builder
(
context
,
channelId
)
.
setCustomContentView
(
expend
View
)
.
setCustomContentView
(
content
View
)
.
setCustomBigContentView
(
content
View
)
.
setCustomBigContentView
(
expend
View
)
.
setContentIntent
(
pendingIntent
)
//设置PendingIntent
.
setContentIntent
(
pendingIntent
)
//设置PendingIntent
.
setSmallIcon
(
R
.
drawable
.
ic_logo24
)
//设置状态栏内的小图标
.
setSmallIcon
(
R
.
mipmap
.
logo_small
)
//设置状态栏内的小图标
.
setVisibility
(
NotificationCompat
.
VISIBILITY_PRIVATE
)
//设置通知公开可见
.
setVisibility
(
NotificationCompat
.
VISIBILITY_PRIVATE
)
//设置通知公开可见
.
setOngoing
(
isOngoing
)
//设置持续(不消失的常驻通知)
.
setOngoing
(
isOngoing
)
//设置持续(不消失的常驻通知)
.
setCategory
(
category
)
//设置类别
.
setCategory
(
category
)
//设置类别
...
...
app/src/main/res/drawable-xxhdpi/dianchi_reminder.png
0 → 100644
View file @
2f3c5cd4
3.48 KB
app/src/main/res/drawable-xxhdpi/guanli_reminder.png
0 → 100644
View file @
2f3c5cd4
4.43 KB
app/src/main/res/drawable-xxhdpi/qinli_reminder.png
0 → 100644
View file @
2f3c5cd4
3.67 KB
app/src/main/res/drawable-xxhdpi/saomiao_reminder.png
0 → 100644
View file @
2f3c5cd4
4.11 KB
app/src/main/res/drawable-xxhdpi/shoudiantong_reminder.png
0 → 100644
View file @
2f3c5cd4
2.77 KB
app/src/main/res/layout/activity_all_files.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_include"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:src=
"@drawable/iv_return"
android:visibility=
"visible"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_img_sel_all"
android:layout_width=
"20dp"
android:layout_height=
"20dp"
android:layout_marginStart=
"15dp"
android:src=
"@drawable/iamge_unselected_all"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_all"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"5dp"
android:text=
"@string/tv_all"
android:textColor=
"#ff666666"
android:textSize=
"16sp"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/id_img_sel_all"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/id_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/tv_picture"
android:textColor=
"#ff000000"
android:textSize=
"19sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/ic_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"10dp"
android:src=
"@drawable/ic_share"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/id_title"
app:layout_constraintTop_toTopOf=
"parent"
app:tint=
"#ff000000"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/tv_menu"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:src=
"@drawable/sheizhi"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_close"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:src=
"@drawable/img_close"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"1"
>
<TextView
android:id=
"@+id/id_tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:drawableTop=
"@drawable/ic_no_file"
android:drawablePadding=
"20dp"
android:gravity=
"center"
android:text=
"File not found"
android:textColor=
"#999999"
android:textSize=
"13sp"
android:visibility=
"gone"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/id_ll_no_permisson"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:visibility=
"gone"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_set"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_marginHorizontal=
"40dp"
android:layout_marginTop=
"30dp"
android:background=
"@drawable/bg_shape_set"
android:gravity=
"center"
android:text=
"@string/tv_set"
android:textColor=
"#fff"
android:textSize=
"19sp"
android:textStyle=
"bold"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/id_rl_list"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_procebar"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
app:lottie_autoPlay=
"true"
app:lottie_loop=
"true"
app:lottie_rawRes=
"@raw/big_file_scan"
/>
<ProgressBar
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:visibility=
"gone"
/>
<com.noober.background.view.BLLinearLayout
android:id=
"@+id/id_ll_ad_loading"
android:layout_width=
"200dp"
android:layout_height=
"200dp"
android:layout_gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
android:visibility=
"gone"
app:bl_corners_radius=
"20dp"
app:bl_solid_color=
"#CC000000"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_img_load"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"18dp"
android:src=
"@drawable/jhz"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"11dp"
android:text=
"AD Loading..."
android:textColor=
"@color/white"
android:textSize=
"14sp"
/>
</com.noober.background.view.BLLinearLayout>
</FrameLayout>
<com.noober.background.view.BLTextView
android:id=
"@+id/id_delete"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginHorizontal=
"46dp"
android:layout_marginVertical=
"20dp"
android:gravity=
"center"
android:text=
"Delete"
android:textColor=
"@color/white"
android:textSize=
"16sp"
android:textStyle=
"bold"
android:visibility=
"gone"
app:bl_corners_radius=
"24dp"
app:bl_enabled_solid_color=
"#6A30F2"
app:bl_enabled_textColor=
"@color/white"
app:bl_unEnabled_solid_color=
"#C0C6D4"
app:bl_unEnabled_textColor=
"@color/white"
tools:visibility=
"visible"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/activity_app_manager.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/tool_top"
tools:context=
".ui.page.AppManagerActivity"
>
<include
android:id=
"@+id/in_app"
layout=
"@layout/layout_no_menu2"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cls_app"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_app"
>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"gone"
android:layout_marginBottom=
"20dp"
android:layout_marginStart=
"15dp"
android:layout_marginEnd=
"15dp"
android:id=
"@+id/rv_delete"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
app:layout_constraintBottom_toTopOf=
"@+id/bt_uninstall"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatButton
android:visibility=
"gone"
android:layout_marginBottom=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:id=
"@+id/bt_uninstall"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:background=
"@drawable/bg_shape_recovery"
android:text=
"Uninstall"
android:textAllCaps=
"false"
android:textColor=
"#ffffffff"
android:textSize=
"19sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:id=
"@+id/lv_scan"
android:layout_marginStart=
"50dp"
android:layout_marginEnd=
"50dp"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
app:layout_constraintBottom_toTopOf=
"@+id/app_scan"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:lottie_fileName=
"app_search.json"
/>
<androidx.appcompat.widget.AppCompatTextView
app:fontFamily=
"sans-serif-medium"
android:visibility=
"visible"
android:layout_marginBottom=
"200dp"
android:id=
"@+id/app_scan"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Scanning apps..."
android:textColor=
"#fff"
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/activity_audio.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#fff"
tools:context=
".ui.page.ApkListActivity"
>
<include
android:id=
"@+id/in_audio"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
app:layout_constraintVertical_bias=
"0.3"
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textColor=
"#fff"
android:gravity=
"center"
android:id=
"@+id/tv_set"
android:text=
"@string/tv_set"
android:background=
"@drawable/bg_shape_set"
android:layout_marginTop=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/total_size"
android:layout_marginTop=
"10dp"
android:layout_marginEnd=
"20dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"25.2MB"
android:textColor=
"#ff666666"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"visible"
android:layout_marginBottom=
"15dp"
android:id=
"@+id/rv_audio"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"15dp"
app:layout_constraintBottom_toTopOf=
"@+id/ll_bottom"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/total_size"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:visibility=
"gone"
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
app:lottie_fileName=
"loading.json"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_load"
android:gravity=
"center"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
android:id=
"@+id/ic_no_file"
app:layout_constraintVertical_bias=
"0.3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:visibility=
"gone"
android:layout_marginStart=
"30dp"
android:layout_marginEnd=
"30dp"
android:id=
"@+id/ll_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_share"
android:padding=
"10dp"
android:src=
"@drawable/ic_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_share"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_share"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_delete"
android:padding=
"10dp"
android:src=
"@drawable/ic_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_delete"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_delete"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_documents.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#fff"
tools:context=
".ui.page.DocumentsActivity"
>
<include
android:id=
"@+id/in_doc"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
app:layout_constraintVertical_bias=
"0.3"
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_doc"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textColor=
"#fff"
android:gravity=
"center"
android:id=
"@+id/tv_set"
android:text=
"@string/tv_set"
android:background=
"@drawable/bg_shape_set"
android:layout_marginTop=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/total_size"
android:layout_marginTop=
"10dp"
android:layout_marginEnd=
"20dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"25.2MB"
android:textColor=
"#ff666666"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_doc"
/>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"visible"
android:layout_marginBottom=
"15dp"
android:id=
"@+id/rv_doc"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"15dp"
app:layout_constraintBottom_toTopOf=
"@+id/bt_delete"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/total_size"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:visibility=
"gone"
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
app:lottie_fileName=
"loading.json"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_load"
android:gravity=
"center"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
android:id=
"@+id/ic_no_file"
app:layout_constraintVertical_bias=
"0.3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_doc"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.AppCompatButton
android:visibility=
"gone"
android:gravity=
"center"
android:textAllCaps=
"false"
android:textStyle=
"bold"
android:text=
"@string/tv_delete"
android:textColor=
"#ffffffff"
android:textSize=
"19sp"
android:background=
"@drawable/bg_shape_delete_no"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_marginBottom=
"65dp"
android:id=
"@+id/bt_delete"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_garbage.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".ui.page.GarbageActivity"
>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_layout_guest.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
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:orientation=
"vertical"
>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/id_lottie"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
app:lottie_autoPlay=
"true"
app:lottie_loop=
"true"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom"
android:orientation=
"vertical"
>
<ProgressBar
android:id=
"@+id/id_s_jindu"
style=
"@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width=
"match_parent"
android:layout_height=
"16dp"
android:layout_marginHorizontal=
"65dp"
android:progressDrawable=
"@drawable/shape_splash_s"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginVertical=
"20dp"
android:text=
"Scanning the phone......"
android:textColor=
"#333333"
android:textSize=
"15sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginHorizontal=
"40dp"
android:layout_marginBottom=
"50dp"
android:gravity=
"center"
android:text=
"Attention:To find junk files completely,the first scan may take a little time"
android:textColor=
"#999999"
android:textSize=
"14sp"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/activity_layout_virusapp.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#6A30F2"
android:orientation=
"vertical"
>
<RelativeLayout
android:id=
"@+id/id_rl_top"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"17dp"
app:layout_constraintTop_toTopOf=
"parent"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_yd_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"11dp"
android:src=
"@drawable/iv_return"
android:tint=
"@color/white"
/>
<TextView
android:id=
"@+id/id_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:text=
"Virus Scan"
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
</RelativeLayout>
<androidx.appcompat.widget.AppCompatImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"42dp"
android:layout_marginBottom=
"44dp"
android:src=
"@drawable/saomiao_icon"
/>
<TextView
android:id=
"@+id/id_tv_risks"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginBottom=
"38dp"
android:textColor=
"@color/white"
android:textSize=
"14sp"
tools:text=
"2 application is a security risk"
/>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginTop=
"16dp"
android:layout_weight=
"1"
android:background=
"@color/white"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/id_rl_app"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</FrameLayout>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/activity_picture.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#fff"
tools:context=
".ui.page.PictureActivity"
>
<include
android:id=
"@+id/in_picture"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/image_per"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:adjustViewBounds=
"true"
android:scaleType=
"centerCrop"
android:src=
"@drawable/ic_permission"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
app:layout_constraintVertical_bias=
"0.3"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
android:visibility=
"gone"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_set"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginTop=
"50dp"
android:layout_marginEnd=
"43dp"
android:background=
"@drawable/bg_shape_set"
android:gravity=
"center"
android:text=
"@string/tv_set"
android:textColor=
"#fff"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:visibility=
"gone"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_image"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"30dp"
android:layout_marginEnd=
"15dp"
android:layout_marginBottom=
"15dp"
android:visibility=
"visible"
app:layout_constraintBottom_toTopOf=
"@+id/ll_bottom"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
/>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
app:lottie_fileName=
"loading.json"
app:lottie_loop=
"false"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_load"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
android:visibility=
"gone"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/ic_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
app:layout_constraintVertical_bias=
"0.3"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
android:visibility=
"gone"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:id=
"@+id/ll_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
android:layout_marginStart=
"30dp"
android:layout_marginEnd=
"30dp"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:src=
"@drawable/ic_share"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"-10dp"
android:text=
"@string/tv_share"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:src=
"@drawable/ic_delete"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"-10dp"
android:text=
"@string/tv_delete"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_recently.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".ui.page.RecentlyActivity"
>
<include
android:id=
"@+id/in_recent"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
app:layout_constraintVertical_bias=
"0.3"
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_recent"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textColor=
"#fff"
android:gravity=
"center"
android:id=
"@+id/tv_set"
android:text=
"@string/tv_set"
android:background=
"@drawable/bg_shape_set"
android:layout_marginTop=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"visible"
android:layout_marginBottom=
"15dp"
android:id=
"@+id/rv_audio"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"15dp"
app:layout_constraintBottom_toTopOf=
"@+id/ll_bottom"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_recent"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:visibility=
"gone"
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
app:lottie_fileName=
"loading.json"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_load"
android:gravity=
"center"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
android:id=
"@+id/ic_no_file"
app:layout_constraintVertical_bias=
"0.3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_recent"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:visibility=
"gone"
android:layout_marginStart=
"30dp"
android:layout_marginEnd=
"30dp"
android:id=
"@+id/ll_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_share"
android:padding=
"10dp"
android:src=
"@drawable/ic_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_share"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_share"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_delete"
android:padding=
"10dp"
android:src=
"@drawable/ic_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_delete"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_delete"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_video.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#fff"
tools:context=
".ui.page.VideoActivity"
>
<include
android:id=
"@+id/in_picture"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
app:layout_constraintVertical_bias=
"0.3"
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textColor=
"#fff"
android:gravity=
"center"
android:id=
"@+id/tv_set"
android:text=
"@string/tv_set"
android:background=
"@drawable/bg_shape_set"
android:layout_marginTop=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"visible"
android:layout_marginBottom=
"15dp"
android:id=
"@+id/rv_video"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"30dp"
android:layout_marginEnd=
"15dp"
app:layout_constraintBottom_toTopOf=
"@+id/ll_bottom"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:visibility=
"gone"
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
app:lottie_fileName=
"loading.json"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_load"
android:gravity=
"center"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
android:id=
"@+id/ic_no_file"
app:layout_constraintVertical_bias=
"0.3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_picture"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:visibility=
"gone"
android:layout_marginStart=
"30dp"
android:layout_marginEnd=
"30dp"
android:id=
"@+id/ll_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_share"
android:padding=
"10dp"
android:src=
"@drawable/ic_share"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_share"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_share"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:gravity=
"top|center_horizontal"
android:orientation=
"vertical"
android:layout_weight=
"1"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_delete"
android:padding=
"10dp"
android:src=
"@drawable/ic_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_delete"
android:layout_marginTop=
"-10dp"
android:textStyle=
"bold"
android:text=
"@string/tv_delete"
android:textColor=
"#ff666666"
android:textSize=
"12sp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_zip_file.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#fff"
tools:context=
".ui.page.ApkListActivity"
>
<include
android:id=
"@+id/in_audio"
layout=
"@layout/layout_title"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
app:layout_constraintVertical_bias=
"0.3"
android:id=
"@+id/image_per"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_permission"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_des"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"There are no permissions We need to get\npermission to read all files."
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_per"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:textSize=
"19sp"
android:textStyle=
"bold"
android:textColor=
"#fff"
android:gravity=
"center"
android:id=
"@+id/tv_set"
android:text=
"@string/tv_set"
android:background=
"@drawable/bg_shape_set"
android:layout_marginTop=
"50dp"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_des"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/total_size"
android:layout_marginTop=
"10dp"
android:layout_marginEnd=
"20dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"25.2MB"
android:textColor=
"#ff666666"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.recyclerview.widget.RecyclerView
android:visibility=
"visible"
android:layout_marginBottom=
"15dp"
android:id=
"@+id/rv_audio"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_marginStart=
"15dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"15dp"
app:layout_constraintBottom_toTopOf=
"@+id/bt_delete"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/total_size"
/>
<com.airbnb.lottie.LottieAnimationView
app:lottie_loop=
"false"
android:visibility=
"gone"
android:id=
"@+id/image_load"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
app:lottie_fileName=
"loading.json"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.4"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_load"
android:gravity=
"center"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"This process may take a few seconds,\nplease wait a moment"
android:textColor=
"#ff999999"
android:textSize=
"15sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_load"
/>
<androidx.appcompat.widget.AppCompatImageView
android:visibility=
"gone"
android:id=
"@+id/ic_no_file"
app:layout_constraintVertical_bias=
"0.3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_no_file"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/in_audio"
/>
<androidx.appcompat.widget.AppCompatTextView
android:visibility=
"gone"
android:id=
"@+id/tv_no_file"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/file_not_found"
android:textColor=
"#ff999999"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/ic_no_file"
app:layout_constraintStart_toStartOf=
"@+id/ic_no_file"
app:layout_constraintTop_toBottomOf=
"@+id/ic_no_file"
/>
<androidx.appcompat.widget.AppCompatButton
android:visibility=
"gone"
android:gravity=
"center"
android:textAllCaps=
"false"
android:textStyle=
"bold"
android:text=
"@string/tv_delete"
android:textColor=
"#ffffffff"
android:textSize=
"19sp"
android:background=
"@drawable/bg_shape_delete_no"
android:layout_marginStart=
"43dp"
android:layout_marginEnd=
"43dp"
android:layout_marginBottom=
"65dp"
android:id=
"@+id/bt_delete"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/item_files.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"15dp"
android:layout_marginVertical=
"10dp"
android:gravity=
"center_vertical"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_img_sel"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/iamge_unselected_all"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/iv_image"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
android:layout_marginEnd=
"11dp"
android:scaleType=
"centerCrop"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/id_file_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"middle"
android:singleLine=
"true"
android:textColor=
"#000000"
android:textSize=
"15sp"
android:textStyle=
"bold"
tools:text=
"Word"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/id_file_time"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"#999999"
android:textSize=
"13sp"
tools:text=
"January 22, 2024"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"-"
android:layout_marginHorizontal=
"2dp"
android:textSize=
"13sp"
android:textColor=
"#999999"
/>
<TextView
android:id=
"@+id/id_file_size"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"#999999"
android:textSize=
"13sp"
tools:text=
"8 item"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
app/src/main/res/layout/item_layout_risk_app.xml
deleted
100644 → 0
View file @
e8e27197
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"15dp"
android:layout_marginVertical=
"9dp"
android:orientation=
"vertical"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical"
>
<androidx.cardview.widget.CardView
android:layout_width=
"48dp"
android:layout_height=
"48dp"
app:cardCornerRadius=
"7dp"
>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_app_icon"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
</androidx.cardview.widget.CardView>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"11dp"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/id_app_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:includeFontPadding=
"false"
android:lines=
"1"
android:textColor=
"#000000"
android:textSize=
"15sp"
tools:text=
"Clean Junk"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"7dp"
android:includeFontPadding=
"false"
android:text=
"risk"
android:textColor=
"#FCAD45"
android:textSize=
"12sp"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/id_sc"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/del"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/layout_no_menu2.xml
deleted
100644 → 0
View file @
e8e27197
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:id=
"@+id/cl_include"
android:layout_height=
"60dp"
>
<androidx.appcompat.widget.AppCompatImageView
app:tint=
"#fff"
android:visibility=
"visible"
android:id=
"@+id/iv_back"
android:padding=
"10dp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/iv_return"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/tv_picture"
android:textColor=
"#fff"
android:textSize=
"19sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/reminder_layout_notification.xml
View file @
2f3c5cd4
<?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:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"60dp"
android:paddingVertical=
"12dp"
android:gravity=
"center"
android:background=
"@drawable/shape_white_r8"
>
tools:ignore=
"DisableBaselineAlignment"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/id_ll_clean"
android:id=
"@+id/id_ll_clean"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
...
@@ -13,18 +15,13 @@
...
@@ -13,18 +15,13 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/qingchu"
/>
android:src=
"@drawable/qinli_reminder"
tools:ignore=
"ContentDescription,ImageContrastCheck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Clean"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:id=
"@+id/id_ll_virus"
android:id=
"@+id/id_ll_virus"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
...
@@ -34,17 +31,11 @@
...
@@ -34,17 +31,11 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/bingdu"
/>
android:src=
"@drawable/saomiao_reminder"
tools:ignore=
"ContentDescription,ImageContrastCheck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Virus"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -56,17 +47,11 @@
...
@@ -56,17 +47,11 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/dianchi"
/>
android:src=
"@drawable/dianchi_reminder"
tools:ignore=
"ContentDescription,ImageContrastCheck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Battery"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -74,22 +59,17 @@
...
@@ -74,22 +59,17 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:visibility=
"gone"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:visibility=
"gone"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/dawenjian"
/>
android:src=
"@drawable/dawenjian"
tools:ignore=
"ContentDescription"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Large file"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -101,38 +81,29 @@
...
@@ -101,38 +81,29 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/yingyong"
/>
android:src=
"@drawable/guanli_reminder"
tools:ignore=
"ContentDescription,ImageContrastCheck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Manager"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:id=
"@+id/id_lighit"
android:id=
"@+id/id_lighit"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:visibility=
"visible"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:visibility=
"visible"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"4dp"
android:src=
"@drawable/shoudiantong"
/>
android:src=
"@drawable/shoudiantong_reminder"
tools:ignore=
"ContentDescription,ImageContrastCheck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Flash Light"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/reminder_layout_notification
2
.xml
→
app/src/main/res/layout/reminder_layout_notification
_big
.xml
View file @
2f3c5cd4
<?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"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"75dp"
android:background=
"@drawable/shape_white_r8"
android:gravity=
"center"
>
android:paddingVertical=
"10dp"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/id_ll_clean"
android:id=
"@+id/id_ll_clean"
...
@@ -14,10 +13,17 @@
...
@@ -14,10 +13,17 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:src=
"@drawable/qinli_reminder"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:text=
"Clean"
android:src=
"@drawable/qingchu"
/>
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -29,10 +35,17 @@
...
@@ -29,10 +35,17 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:src=
"@drawable/saomiao_reminder"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:text=
"Virus"
android:src=
"@drawable/bingdu"
/>
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -44,10 +57,17 @@
...
@@ -44,10 +57,17 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:src=
"@drawable/dianchi_reminder"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:text=
"Battery"
android:src=
"@drawable/dianchi"
/>
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -55,16 +75,22 @@
...
@@ -55,16 +75,22 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:visibility=
"gone"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:visibility=
"gone"
>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"
4
dp"
android:layout_marginBottom=
"
8
dp"
android:src=
"@drawable/dawenjian"
/>
android:src=
"@drawable/dawenjian"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Large file"
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
...
@@ -76,25 +102,39 @@
...
@@ -76,25 +102,39 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:src=
"@drawable/guanli_reminder"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
layout_marginBottom=
"4dp
"
android:
text=
"Manager
"
android:
src=
"@drawable/yingyong"
/>
android:
textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:id=
"@+id/id_lighit"
android:id=
"@+id/id_lighit"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1.2"
android:visibility=
"visible"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:visibility=
"visible"
>
<ImageView
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"8dp"
android:src=
"@drawable/shoudiantong_reminder"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:text=
"Flash Light"
android:src=
"@drawable/shoudiantong"
/>
android:textColor=
"#666666"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
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