修改字体
This commit is contained in:
parent
038c1bc46b
commit
e03830a6a6
@ -94,6 +94,9 @@ class PdfViewActivity : BaseActivity(), OnLoadCompleteListener, OnPageChangeList
|
|||||||
supportFragmentManager, "ViewModelDialogFragment"
|
supportFragmentManager, "ViewModelDialogFragment"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
binding.bookmarksBtn.setOnClickListener {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun loadPdf() {
|
private fun loadPdf() {
|
||||||
|
|||||||
@ -0,0 +1,78 @@
|
|||||||
|
package com.all.pdfreader.pro.app.ui.dialog
|
||||||
|
|
||||||
|
import android.animation.ValueAnimator
|
||||||
|
import android.graphics.PorterDuff
|
||||||
|
import android.os.Bundle
|
||||||
|
import android.view.LayoutInflater
|
||||||
|
import android.view.View
|
||||||
|
import android.view.ViewGroup
|
||||||
|
import android.view.animation.AccelerateDecelerateInterpolator
|
||||||
|
import android.widget.ImageView
|
||||||
|
import android.widget.TextView
|
||||||
|
import android.widget.Toast
|
||||||
|
import androidx.fragment.app.activityViewModels
|
||||||
|
import com.all.pdfreader.pro.app.R
|
||||||
|
import com.all.pdfreader.pro.app.databinding.DialogBookmarksBinding
|
||||||
|
import com.all.pdfreader.pro.app.databinding.DialogViewModelBinding
|
||||||
|
import com.all.pdfreader.pro.app.room.entity.PdfDocumentEntity
|
||||||
|
import com.all.pdfreader.pro.app.sp.AppStore
|
||||||
|
import com.all.pdfreader.pro.app.ui.view.CustomSwitchButton
|
||||||
|
import com.all.pdfreader.pro.app.ui.view.CustomSwitchButton.OnCheckedChangeListener
|
||||||
|
import com.all.pdfreader.pro.app.viewmodel.PdfViewModel
|
||||||
|
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
|
||||||
|
|
||||||
|
class BookmarksDialogFragment(val filePath: String) : BottomSheetDialogFragment() {
|
||||||
|
|
||||||
|
private lateinit var binding: DialogBookmarksBinding
|
||||||
|
private val viewModel: PdfViewModel by activityViewModels()//为PdfViewActivity的PdfViewModel
|
||||||
|
private lateinit var pdfDocument: PdfDocumentEntity
|
||||||
|
private val appstore by lazy { AppStore(requireActivity()) }
|
||||||
|
|
||||||
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 让 BottomSheetDialogFragment 覆盖底部导航栏
|
||||||
|
* 原理:
|
||||||
|
* 1.自定义样式,并继承自 @style/Theme.Design.BottomSheetDialog
|
||||||
|
* 2.xml布局设置fitsSystemWindows
|
||||||
|
*/
|
||||||
|
setStyle(STYLE_NORMAL, R.style.CustomBottomSheetDialogTheme)
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun onCreateView(
|
||||||
|
inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
|
||||||
|
): View? {
|
||||||
|
binding = DialogBookmarksBinding.inflate(layoutInflater)
|
||||||
|
return binding.root
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun onStart() {
|
||||||
|
super.onStart()
|
||||||
|
dialog?.window?.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
|
||||||
|
?.setBackgroundResource(R.drawable.dr_rc_top_12_bg_white)
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
|
super.onViewCreated(view, savedInstanceState)
|
||||||
|
viewModel.pdfDocument.value?.let {
|
||||||
|
pdfDocument = it
|
||||||
|
initUi()
|
||||||
|
setupOnClick()
|
||||||
|
} ?: run {
|
||||||
|
showToast(getString(R.string.file_not))
|
||||||
|
dismiss()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun initUi() {
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun setupOnClick() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun showToast(message: String) {
|
||||||
|
Toast.makeText(requireActivity(), message, Toast.LENGTH_SHORT).show()
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -115,7 +115,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/notice"
|
android:text="@string/notice"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -124,7 +124,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:maxLines="2"
|
android:maxLines="2"
|
||||||
android:text="@string/permission_notice"
|
android:text="@string/permission_notice"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
@ -142,7 +142,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/dr_click_btn_bg"
|
android:background="@drawable/dr_click_btn_bg"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="24dp"
|
||||||
android:paddingTop="4dp"
|
android:paddingTop="4dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="24dp"
|
||||||
@ -175,7 +175,7 @@
|
|||||||
android:id="@+id/home_tv"
|
android:id="@+id/home_tv"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/home"
|
android:text="@string/home"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -199,7 +199,7 @@
|
|||||||
android:id="@+id/recently_tv"
|
android:id="@+id/recently_tv"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/recently"
|
android:text="@string/recently"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -223,7 +223,7 @@
|
|||||||
android:id="@+id/favorite_tv"
|
android:id="@+id/favorite_tv"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/favorite"
|
android:text="@string/favorite"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -247,7 +247,7 @@
|
|||||||
android:id="@+id/tools_tv"
|
android:id="@+id/tools_tv"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/tools"
|
android:text="@string/tools"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|||||||
@ -89,7 +89,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/view_model"
|
android:text="@string/view_model"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -114,7 +114,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/eye_protect"
|
android:text="@string/eye_protect"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -137,12 +137,35 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/bookmarks"
|
android:text="@string/bookmarks"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/shareBtn"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center_horizontal|bottom"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:src="@drawable/share" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
style="@style/TextViewFont_PopRegular"
|
||||||
|
android:text="@string/share_file"
|
||||||
|
android:textColor="@color/black"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="28sp" />
|
android:textSize="28sp" />
|
||||||
@ -31,7 +31,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:alpha="0.8"
|
android:alpha="0.8"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/splash_desc"
|
android:text="@string/splash_desc"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
@ -71,7 +71,7 @@
|
|||||||
android:id="@+id/tvFileDate"
|
android:id="@+id/tvFileDate"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="2月27,2025"
|
android:text="2月27,2025"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -81,7 +81,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="8.1MB"
|
android:text="8.1MB"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|||||||
38
app/src/main/res/layout/dialog_bookmarks.xml
Normal file
38
app/src/main/res/layout/dialog_bookmarks.xml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?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"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:paddingBottom="16dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:gravity="center">
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="32dp"
|
||||||
|
android:layout_height="4dp"
|
||||||
|
android:background="@drawable/dr_dialog_indicator_bg" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvTitle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
|
android:text="@string/bookmarks"
|
||||||
|
android:textColor="@color/black"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="24dp"
|
android:layout_margin="24dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/delete_file_title"
|
android:text="@string/delete_file_title"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
@ -20,7 +20,7 @@
|
|||||||
android:layout_marginStart="24dp"
|
android:layout_marginStart="24dp"
|
||||||
android:layout_marginEnd="24dp"
|
android:layout_marginEnd="24dp"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/delete_file_desc"
|
android:text="@string/delete_file_desc"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/delete"
|
android:text="@string/delete"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/file_information"
|
android:text="@string/file_information"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/file_information_desc"
|
android:text="@string/file_information_desc"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/file_name"
|
android:text="@string/file_name"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -59,7 +59,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/file_name"
|
android:text="@string/file_name"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -67,7 +67,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/path"
|
android:text="@string/path"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -77,7 +77,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/path"
|
android:text="@string/path"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -85,7 +85,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/last_modified"
|
android:text="@string/last_modified"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -95,7 +95,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/last_modified"
|
android:text="@string/last_modified"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -103,7 +103,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/last_viewed"
|
android:text="@string/last_viewed"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -113,7 +113,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/last_viewed"
|
android:text="@string/last_viewed"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -121,7 +121,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/size"
|
android:text="@string/size"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
@ -131,7 +131,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:text="@string/size"
|
android:text="@string/size"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|||||||
@ -66,7 +66,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textColor="@color/grey_text_color"
|
android:textColor="@color/grey_text_color"
|
||||||
@ -82,7 +82,7 @@
|
|||||||
android:id="@+id/tvFileDate"
|
android:id="@+id/tvFileDate"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -92,7 +92,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -140,7 +140,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/rename_file"
|
android:text="@string/rename_file"
|
||||||
android:textColor="@color/grey_text_color"
|
android:textColor="@color/grey_text_color"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -163,7 +163,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/file_details"
|
android:text="@string/file_details"
|
||||||
android:textColor="@color/grey_text_color"
|
android:textColor="@color/grey_text_color"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -186,7 +186,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/share_file"
|
android:text="@string/share_file"
|
||||||
android:textColor="@color/grey_text_color"
|
android:textColor="@color/grey_text_color"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -209,7 +209,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/print_pdf"
|
android:text="@string/print_pdf"
|
||||||
android:textColor="@color/grey_text_color"
|
android:textColor="@color/grey_text_color"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/password_protection"
|
android:text="@string/password_protection"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="20sp" />
|
android:textSize="20sp" />
|
||||||
@ -22,7 +22,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/password_protection_dialog_desc"
|
android:text="@string/password_protection_dialog_desc"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -44,7 +44,7 @@
|
|||||||
android:id="@+id/etPassword"
|
android:id="@+id/etPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black_80" />
|
android:textColor="@color/black_80" />
|
||||||
@ -73,7 +73,7 @@
|
|||||||
android:id="@+id/tvConfirm"
|
android:id="@+id/tvConfirm"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/ok"
|
android:text="@string/ok"
|
||||||
android:textColor="@color/black" />
|
android:textColor="@color/black" />
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/remove_password"
|
android:text="@string/remove_password"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="20sp" />
|
android:textSize="20sp" />
|
||||||
@ -22,7 +22,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/remove_password_dialog_desc"
|
android:text="@string/remove_password_dialog_desc"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -45,7 +45,7 @@
|
|||||||
android:id="@+id/etPassword"
|
android:id="@+id/etPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
@ -74,7 +74,7 @@
|
|||||||
android:id="@+id/tvConfirm"
|
android:id="@+id/tvConfirm"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/ok"
|
android:text="@string/ok"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/set_pdf_password"
|
android:text="@string/set_pdf_password"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="20sp" />
|
android:textSize="20sp" />
|
||||||
@ -22,7 +22,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/set_pdf_password_dialog_desc"
|
android:text="@string/set_pdf_password_dialog_desc"
|
||||||
android:textColor="@color/black_60"
|
android:textColor="@color/black_60"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
@ -45,7 +45,7 @@
|
|||||||
android:id="@+id/etPassword"
|
android:id="@+id/etPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -71,7 +71,7 @@
|
|||||||
android:id="@+id/etConfirmPassword"
|
android:id="@+id/etConfirmPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -90,7 +90,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
@ -100,7 +100,7 @@
|
|||||||
android:id="@+id/tvConfirm"
|
android:id="@+id/tvConfirm"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/ok"
|
android:text="@string/ok"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/permission_required"
|
android:text="@string/permission_required"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
@ -50,7 +50,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/permission_required_desc_1"
|
android:text="@string/permission_required_desc_1"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
@ -76,7 +76,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/permission_required_desc_2"
|
android:text="@string/permission_required_desc_2"
|
||||||
android:textColor="@color/black_80"
|
android:textColor="@color/black_80"
|
||||||
@ -106,7 +106,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/allow_access"
|
android:text="@string/allow_access"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
android:id="@+id/tvTitle"
|
android:id="@+id/tvTitle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/processing"
|
android:text="@string/processing"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:text="@string/rename_file"
|
android:text="@string/rename_file"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="20sp" />
|
android:textSize="20sp" />
|
||||||
@ -35,7 +35,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="text"
|
android:inputType="text"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black_80" />
|
android:textColor="@color/black_80" />
|
||||||
@ -63,7 +63,7 @@
|
|||||||
android:id="@+id/tvConfirm"
|
android:id="@+id/tvConfirm"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/poppins_medium"
|
style="@style/TextViewFont_PopMedium"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:text="@string/ok"
|
android:text="@string/ok"
|
||||||
android:textColor="@color/black" />
|
android:textColor="@color/black" />
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
android:text="@string/sort_by"
|
android:text="@string/sort_by"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:fontFamily="@font/poppins_semibold"/>
|
style="@style/TextViewFont_PopSemiBold"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="@string/created_date"
|
android:text="@string/created_date"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -68,7 +68,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="@string/file_name"
|
android:text="@string/file_name"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
@ -101,7 +101,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/file_size"
|
android:text="@string/file_size"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
@ -146,7 +146,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:text="@string/ascending"
|
android:text="@string/ascending"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
@ -179,7 +179,7 @@
|
|||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="@string/descending"
|
android:text="@string/descending"
|
||||||
android:fontFamily="@font/poppins_regular"
|
style="@style/TextViewFont_PopRegular"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
@ -214,7 +214,7 @@
|
|||||||
android:text="@string/cancel"
|
android:text="@string/cancel"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:fontFamily="@font/poppins_semibold" />
|
style="@style/TextViewFont_PopSemiBold" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -232,7 +232,7 @@
|
|||||||
android:text="@string/ok"
|
android:text="@string/ok"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:fontFamily="@font/poppins_semibold" />
|
style="@style/TextViewFont_PopSemiBold" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@ -26,10 +26,10 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvTitle"
|
android:id="@+id/tvTitle"
|
||||||
|
style="@style/TextViewFont_PopSemiBold"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:fontFamily="@font/poppins_semibold"
|
|
||||||
android:text="@string/view_model"
|
android:text="@string/view_model"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user