1. Download our Official Android App: Forums for Android!

Android CustomSpinner Component

Discussion in 'Android Apps & Games' started by vittar, Nov 18, 2010.

  1. vittar

    vittar Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Nov 18, 2010

    Nov 18, 2010
    3
    0
    5
    I've created a custom component which works like a lock of a safe.

    customspinner - Project Hosting on Google Code

    [​IMG]
    on picture you see two different objects of my component.

    If you need to create UI when user need to choose some element of a list, using this non standard component will be more intresting for user. And it is usefull - user can scroll and find a needed value very quickly.
     

    Advertisement

  2. inssane

    inssane Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,851
    Joined:
    Dec 17, 2009

    Dec 17, 2009
    1,851
    156
    163
    Chi-Town
    What does this do???
     
  3. vittar

    vittar Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Nov 18, 2010

    Nov 18, 2010
    3
    0
    5
    It have ability to scroll inner views, but one an inner view always will be centered. After scrolling, the component will do own smooth scrolling to set spinner in a correct position.

    So if you use it, you can set some own views, set different backgrounds for any view, and for header and footer of CustomSpinner.
     
  4. inssane

    inssane Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,851
    Joined:
    Dec 17, 2009

    Dec 17, 2009
    1,851
    156
    163
    Chi-Town
    Sorry, still don't get the function
     
  5. vittar

    vittar Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Nov 18, 2010

    Nov 18, 2010
    3
    0
    5
    It is easy to create UI - a some setter where you can enter a value, or chose a value you need via buttons like "-" and "+", or "prev" and "next". But it is more intresting for user to scroll to value she want.
    So I think, if you need to create UI when user need to choose some element of a list, using this non standard component will be more intresting for user. And it is usefull - user can scroll and find needed value very quickly.
     

Share This Page

Loading...