Здравствуйте. Есть изображение вида 10000 на 600, как можно сделать скролл?
Пытался сделать скролл с помощью ScrollView и добавлял атрибут scaleType centerCrop, но изображение переставало скролиться, но было с хорошим качеством.
В итоге сделал вот такой вот скролл, но качество очень сильно упало, как-то можно сделать скролл по другому, но с сохранением качества? Куда копать?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".MainActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/v"
android:adjustViewBounds="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</ScrollView>
</LinearLayout>
Само изображение:
https://imgur.com/a/4PaMxkK