Android Studio Zoom Image View


Build Gradle Project

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }

Android Studio Design Animation


Build Gradle Module

implementation 'com.github.chrisbanes:PhotoView:2.3.0'

Android Studio Design Animation


Main Activity

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".design6part15">

    <com.github.chrisbanes.photoview.PhotoView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:src="@drawable/bitcoin"/>


</androidx.constraintlayout.widget.ConstraintLayout>

Android Studio Design Animation


Subscribe to receive free email updates:

0 Response to "Android Studio Zoom Image View"

Post a Comment