Commit 37a71e33 authored by wanglei's avatar wanglei

...logo...

parent 5fc1cae3
...@@ -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()
} }
......
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 =
......
...@@ -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

49.5 KB | W: | H:

app/src/main/res/mipmap-xxhdpi/logo.png

49.3 KB | W: | H:

app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
app/src/main/res/mipmap-xxhdpi/logo.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment