Hello,
I want to include a Reader in my Activity with own Buttons like below but the example I found is written with an old PDFReader class.
I always get the error message: error: cannot find symbol class PDFReader.
How can I do that with your new classes?
JAVA
public class EditPDF extends Activity implements PDFReaderListener,
OnClickListener {
private RelativeLayout layout;
private PDFReader reader = null;
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.radaee.reader.PDFReader
android:id="@+id/view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" >
</com.radaee.reader.PDFReader>
<LinearLayout
android:id="@+id/bar_find"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_alignParentBottom="true"
android:layout_alignParentTop="false"
android:layout_centerInParent="false" >
<Button
android:id="@+id/btn_ink"
android:layout_width="wrap_content"
android:layout_height="80dp"
android:text="Unterschreiben"
android:textStyle="bold" />
<Button
android:id="@+id/btn_loeschen"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:enabled="true"
android:text="Löschen"
android:textStyle="bold" />
</LinearLayout>
</RelativeLayout>