https://github.com/artembotnev/scalablescrollview
This library is modification of android.widget.ScrollView and allows user to resize TextView, placed into it, by two fingers.
https://github.com/artembotnev/scalablescrollview
android androidview gesture scrollview
Last synced: 7 months ago
JSON representation
This library is modification of android.widget.ScrollView and allows user to resize TextView, placed into it, by two fingers.
- Host: GitHub
- URL: https://github.com/artembotnev/scalablescrollview
- Owner: ArtemBotnev
- License: apache-2.0
- Created: 2019-08-14T18:48:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-19T05:56:21.000Z (almost 7 years ago)
- Last Synced: 2024-04-17T23:51:45.335Z (about 2 years ago)
- Topics: android, androidview, gesture, scrollview
- Language: Kotlin
- Homepage:
- Size: 2.65 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://jitpack.io/#ArtemBotnev/ScalableScrollView)
## Scalable ScrollView
This library is modification of android.widget.ScrollView and allows user to resize TextView,
placed into it, by two fingers.

#### To use this, add dependensies to your project:
Jitpack repository to your root build.gradle at the end of repositories
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
and to module level build.gradle
```groovy
dependencies {
implementation 'com.github.ArtemBotnev:ScalableScrollView:1.0.1'
}
```
#### Just replace your ScrollView with ScalableScrollView in layout.xml
```xml
```
You can also specify maxScale attribute to define maximum scale for text