Please give a brief summary of your issue:How to add a Button/view above on PdfViewCtrl overlayview?
(Think of this as an email subject)
I am trying to add a view above on PdfViewCtrl. View is not visible.
Here is the code sample,
val view = View(requireContext())
val pagePos = mPdfViewCtrl!!.convScreenPtToPagePt(point.x, point.y)
val param = LinearLayout.LayoutParams(100,100)
view.layoutParams = param
view.x = pagePos.toFloat()
view.y = pagePos.toFloat()
Please help what i need to make correction?
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible: