Enable zooming on Notes

This commit is contained in:
sebastian 2024-10-31 21:05:40 +01:00
parent f5291e290f
commit 6a7eb2f8ca
3 changed files with 6 additions and 2 deletions

View File

@ -43,6 +43,7 @@ dependencies {
implementation(libs.navigation.ui)
implementation(libs.room.common)
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation("com.github.chrisbanes:PhotoView:2.3.0")
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)

View File

@ -3,7 +3,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
<com.github.chrisbanes.photoview.PhotoView
android:id="@+id/fullscreen_image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -8,6 +8,7 @@ pluginManagement {
}
}
mavenCentral()
gradlePluginPortal()
}
}
@ -16,6 +17,7 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url = uri("https://www.jitpack.io") }
}
}