mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
* MediaDetailFragment: add zoom feature * fragment_media_detail: add SimpleDrawee for Scroll picture * ZoomableActivity: activity which facilitates zoom in * activity_zoomable: xml for zoom activity * zoomControllers: controllers for handling gesture and zooming * MediaDetailFragment: fixing name of image variable * MediaDetailFragment: display as per the aspect ratio of image * add zoom activity to AndroidManifest * fix travis ci faliure * fix resizing of image
17 lines
749 B
XML
17 lines
749 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black"
|
|
tools:context="fr.free.nrw.commons.media.ZoomableActivity">
|
|
|
|
<fr.free.nrw.commons.media.zoomControllers.zoomable.ZoomableDraweeView
|
|
android:id="@+id/zoomable"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
app:actualImageScaleType="fitCenter"
|
|
/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|