android - Is it possible to hold a ScrollView to be always scrollable? -


i want make scrollview scrollable though has no element in it.

i tried extend linearlayout out of screen, not work.

    csv=(scrollview) findviewbyid(r.id.scrview);     csv.getviewtreeobserver().addonscrollchangedlistener(new viewtreeobserver.onscrollchangedlistener() {         @override         public void onscrollchanged() {             int scrolly= csv.getscrolly();             txtview.settext(string.valueof(scrolly));          } 

i want because want see image position 1 element in scrollview.
this, can move image , see y position.

it can thought vertical viewpager.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -