Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
B
Browser White
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
Browser White
Commits
e6b293fc
Commit
e6b293fc
authored
Sep 06, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
e6d6b140
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
5 deletions
+46
-5
NotificationUiUtil.kt
...main/java/com/base/browserwhite/fcm/NotificationUiUtil.kt
+1
-0
activity_web_browser.xml
app/src/main/res/layout/activity_web_browser.xml
+29
-2
notification_junk_small.xml
app/src/main/res/layout/notification_junk_small.xml
+15
-2
notification_un_install_small.xml
app/src/main/res/layout/notification_un_install_small.xml
+1
-1
guanbi_page_search.png
app/src/main/res/mipmap-xxhdpi/guanbi_page_search.png
+0
-0
left_page_search.png
app/src/main/res/mipmap-xxhdpi/left_page_search.png
+0
-0
No files found.
app/src/main/java/com/base/browserwhite/fcm/NotificationUiUtil.kt
View file @
e6b293fc
...
...
@@ -94,6 +94,7 @@ object NotificationUiUtil {
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_size
,
size
.
toFormatSize
())
val
smallRemoteViews
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notification_junk_small
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_size
,
size
.
toFormatSize
())
sendNotificationUI
(
context
,
actionId
,
bigRemoteViews
,
smallRemoteViews
)
}
...
...
app/src/main/res/layout/activity_web_browser.xml
View file @
e6b293fc
...
...
@@ -132,7 +132,7 @@
android:id=
"@+id/cl_bottom"
android:layout_width=
"match_parent"
android:layout_height=
"56dp"
app:layout_constraintBottom_to
BottomOf=
"parent
"
>
app:layout_constraintBottom_to
TopOf=
"@id/ll_page_search
"
>
<ImageView
android:id=
"@+id/iv_left"
...
...
@@ -168,10 +168,10 @@
tools:ignore=
"ContentDescription"
/>
<ImageView
android:src=
"@mipmap/weixuan_wuhen"
android:id=
"@+id/iv_privacy"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@mipmap/weixuan_wuhen"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@id/iv_more"
app:layout_constraintStart_toEndOf=
"@id/iv_home"
...
...
@@ -192,4 +192,31 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:id=
"@+id/ll_page_search"
android:layout_width=
"match_parent"
android:layout_height=
"56dp"
android:orientation=
"horizontal"
app:layout_constraintBottom_toBottomOf=
"parent"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_marginStart=
"15dp"
android:src=
"@mipmap/guanbi_page_search"
/>
<FrameLayout
android:layout_width=
"0dp"
android:layout_height=
"40dp"
android:layout_gravity=
"center_vertical"
android:layout_weight=
"1"
>
</FrameLayout>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/notification_junk_small.xml
View file @
e6b293fc
...
...
@@ -2,8 +2,8 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:
background=
"@drawable/bg_ffffff_15
"
android:
layout_height=
"60dp
"
>
android:
layout_height=
"60dp
"
android:
background=
"@drawable/bg_ffffff_15
"
>
<ImageView
android:layout_width=
"34dp"
...
...
@@ -13,12 +13,25 @@
android:src=
"@mipmap/clean"
tools:ignore=
"ContentDescription"
/>
<TextView
android:id=
"@+id/tv_size"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_marginStart=
"2dp"
android:textColor=
"#FF3722"
android:textSize=
"15sp"
android:textStyle=
"bold"
tools:text=
"1000MB"
/>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_marginHorizontal=
"6dp"
android:layout_weight=
"1"
android:ellipsize=
"end"
android:singleLine=
"true"
android:text=
"Found a lot of junk files"
android:textColor=
"@color/black"
android:textSize=
"14sp"
...
...
app/src/main/res/layout/notification_un_install_small.xml
View file @
e6b293fc
...
...
@@ -37,7 +37,7 @@
android:layout_height=
"wrap_content"
android:textColor=
"#898989"
android:textSize=
"12sp"
tools
:text=
"App installation successful"
/>
android
:text=
"App installation successful"
/>
</LinearLayout>
<TextView
...
...
app/src/main/res/mipmap-xxhdpi/guanbi_page_search.png
0 → 100644
View file @
e6b293fc
6.33 KB
app/src/main/res/mipmap-xxhdpi/left_page_search.png
0 → 100644
View file @
e6b293fc
5.24 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment