Images support in file viewer. Android Q support.

This commit is contained in:
M M Arif
2019-10-30 19:04:49 +05:00
parent fdc1514f5f
commit 15b320f4bd
3 changed files with 63 additions and 30 deletions

View File

@ -49,7 +49,8 @@
android:layout_marginTop="50dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/toastBackground">
android:background="@color/black"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
@ -69,6 +70,13 @@
</LinearLayout>
<com.github.chrisbanes.photoview.PhotoView
android:id="@+id/imageView"
android:layout_centerInParent="true"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ProgressBar
android:id="@+id/progress_bar"
style="@style/Base.Widget.AppCompat.ProgressBar"