Commit 8557f6d2 authored by wanglei's avatar wanglei

...

parent 43a5f119
...@@ -16,6 +16,7 @@ import com.base.pdfreader2.ui.main.DocumentPresenter ...@@ -16,6 +16,7 @@ import com.base.pdfreader2.ui.main.DocumentPresenter
import com.base.pdfreader2.ui.pdf.PdfView import com.base.pdfreader2.ui.pdf.PdfView
import com.base.pdfreader2.ui.view.DialogView.showDeleteDialog import com.base.pdfreader2.ui.view.DialogView.showDeleteDialog
import com.base.pdfreader2.ui.view.DocumentDialog.showDocumentDetail import com.base.pdfreader2.ui.view.DocumentDialog.showDocumentDetail
import com.base.pdfreader2.ui.view.DocumentDialog.showJumpPageNumberDialog
import com.base.pdfreader2.ui.view.NameDialog.showDocumentRenameDialog import com.base.pdfreader2.ui.view.NameDialog.showDocumentRenameDialog
import com.base.pdfreader2.ui.view.PwdDialog.showPdfPwdDialog import com.base.pdfreader2.ui.view.PwdDialog.showPdfPwdDialog
import com.base.pdfreader2.utils.IntentShareUtils import com.base.pdfreader2.utils.IntentShareUtils
...@@ -139,10 +140,10 @@ object PdfDialog { ...@@ -139,10 +140,10 @@ object PdfDialog {
behavior.state = BottomSheetBehavior.STATE_EXPANDED behavior.state = BottomSheetBehavior.STATE_EXPANDED
binding.llJump.setOnClickListener { binding.llJump.setOnClickListener {
// showJumpPageNumberDialog(pageNumber) { pageIndex -> showJumpPageNumberDialog(pageNumber) { pageIndex ->
// dialog.dismiss() dialog.dismiss()
// pdfView.jumpPage(pageIndex) pdfView.jumpPage(pageIndex)
// } }
} }
binding.llSplit.setOnClickListener { binding.llSplit.setOnClickListener {
dialog.dismiss() dialog.dismiss()
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="2dp" /> <corners android:radius="2dp" />
<!-- <solid android:color="@color/colorPrimary" />--> <solid android:color="@color/white" />
<gradient <!-- <gradient-->
android:endColor="#FAF8D1" <!-- android:endColor="#FAF8D1"-->
android:startColor="#FAD4E7" <!-- android:startColor="#FAD4E7"-->
android:type="linear" /> <!-- android:type="linear" />-->
</shape> </shape>
\ No newline at end of file
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginTop="-50dp" android:layout_marginTop="-50dp"
android:src="@mipmap/h_pdfiocn" android:src="@mipmap/pdficon"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
......
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