Hi I have this CustomRelativeLayout in a PDFViewerCtrl in an Android Xamarin project:
<pdftron.PDF.Tools.CustomRelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="250dp"
android:layout_height="250dp"
app:posX="50"
app:posY="150"
app:pageNum="1"
android:background="#33AFAFFF"
app:zoomWithParent="true">
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/holo_red_dark" />
</pdftron.PDF.Tools.CustomRelativeLayout>
When it gets rendered I see this:
A 50*150 rectangle in pos x=50 y=150. But what I'd expect is to draw a 250x250 rectangle at page position x=50 y=150. Is there anything I'm not considering or I'm doing wrong? I'd like to expand the RelativeLayout to match the Parent PDFPage ideally.
Thanks.