Support pdf files in file viewer #259

Merged
mmarif merged 4 commits from 181-pdf-support into master 2020-01-30 18:00:34 +00:00
Showing only changes of commit ef67b47004 - Show all commits

View File

@ -71,13 +71,21 @@
</LinearLayout>
<com.github.barteksc.pdfviewer.PDFView
android:id="@+id/pdfView"
<LinearLayout
android:layout_marginTop="50dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:layout_marginTop="42dp"
android:visibility="gone" />
android:background="@color/colorPrimary"
android:orientation="vertical">
<com.github.barteksc.pdfviewer.PDFView
android:id="@+id/pdfView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:visibility="visible" />
</LinearLayout>
<com.pddstudio.highlightjs.HighlightJsView
android:id="@+id/singleCodeContents"