1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to customize a ScrollView

Discussion in 'Android Development' started by D2R2, Feb 2, 2011.

  1. D2R2

    D2R2 Newbie
    Thread Starter

    Hello,
    I'm trying to customize a ScrollView, to have the scrolling stop at some precise positions. For example, when I release the finger, I want the view to scroll the Y position to the closest multiple of 100 pixels.
    I don't know what method to override, if any. Do you have an idea please?
    Thanks in advance,
    Patrick
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - customize ScrollView
  1. Jyotimoy Kashyap
    Replies:
    1
    Views:
    188
  2. athegn
    Replies:
    2
    Views:
    215
  3. cidea
    Replies:
    3
    Views:
    358
  4. Dennis ingate
    Replies:
    4
    Views:
    557
  5. Ravikmr
    Replies:
    2
    Views:
    1,424
  6. SpanDragon18
    Replies:
    2
    Views:
    1,598
  7. Nathan Sokalski
    Replies:
    0
    Views:
    674
  8. samaspotion
    Replies:
    4
    Views:
    1,374
  9. mangoboy92
    Replies:
    2
    Views:
    660
  10. stymiee
    Replies:
    7
    Views:
    6,537

Share This Page

Loading...