Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
Super PDF Reader
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 PDF Reader
Commits
37a71e33
Commit
37a71e33
authored
Jul 03, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...logo...
parent
5fc1cae3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
1 deletion
+6
-1
SplashActivity.kt
...n/java/com/base/superpdfreader/activity/SplashActivity.kt
+1
-0
DocumentListFragment.kt
.../com/base/superpdfreader/fragment/DocumentListFragment.kt
+5
-0
fragment_document_list.xml
app/src/main/res/layout/fragment_document_list.xml
+0
-1
logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
+0
-0
qdylogo.png
app/src/main/res/mipmap-xxhdpi/qdylogo.png
+0
-0
No files found.
app/src/main/java/com/base/superpdfreader/activity/SplashActivity.kt
View file @
37a71e33
...
@@ -82,6 +82,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
...
@@ -82,6 +82,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
lifecycleScope
.
launch
{
lifecycleScope
.
launch
{
progressFlow
.
collectLatest
{
progressFlow
.
collectLatest
{
if
(
it
>=
100
)
{
if
(
it
>=
100
)
{
job
?.
cancel
()
startActivity
(
Intent
(
this
@SplashActivity
,
MainActivity
::
class
.
java
))
startActivity
(
Intent
(
this
@SplashActivity
,
MainActivity
::
class
.
java
))
finish
()
finish
()
}
}
...
...
app/src/main/java/com/base/superpdfreader/fragment/DocumentListFragment.kt
View file @
37a71e33
package
com.base.superpdfreader.fragment
package
com.base.superpdfreader.fragment
import
android.annotation.SuppressLint
import
android.app.Dialog
import
android.app.Dialog
import
android.net.Uri
import
android.net.Uri
import
android.os.Bundle
import
android.os.Bundle
...
@@ -34,7 +35,11 @@ class DocumentListFragment() : BaseFragment<FragmentDocumentListBinding>() {
...
@@ -34,7 +35,11 @@ class DocumentListFragment() : BaseFragment<FragmentDocumentListBinding>() {
FragmentDocumentListBinding
.
inflate
(
layoutInflater
)
FragmentDocumentListBinding
.
inflate
(
layoutInflater
)
}
}
@SuppressLint
(
"SetTextI18n"
)
override
fun
setView
()
{
override
fun
setView
()
{
val
appName
=
requireContext
().
resources
.
getString
(
R
.
string
.
app_name
)
binding
.
tvPermissionTip
.
text
=
"To read and edit your files, please allow $appName to access your files"
when
(
UI_MODE
)
{
when
(
UI_MODE
)
{
MODE_PDF
->
{
MODE_PDF
->
{
binding
.
tvAllow
.
background
=
binding
.
tvAllow
.
background
=
...
...
app/src/main/res/layout/fragment_document_list.xml
View file @
37a71e33
...
@@ -80,7 +80,6 @@
...
@@ -80,7 +80,6 @@
android:layout_marginHorizontal=
"48dp"
android:layout_marginHorizontal=
"48dp"
android:layout_marginTop=
"24dp"
android:layout_marginTop=
"24dp"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"To read and edit your files, please allowSuper PDF Reader to ac"
tools:ignore=
"HardcodedText"
/>
tools:ignore=
"HardcodedText"
/>
<TextView
<TextView
...
...
app/src/main/res/mipmap-xxhdpi/logo.png
View replaced file @
5fc1cae3
View file @
37a71e33
49.5 KB
|
W:
|
H:
49.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app/src/main/res/mipmap-xxhdpi/qdylogo.png
View replaced file @
5fc1cae3
View file @
37a71e33
37.7 KB
|
W:
|
H:
39.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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