Number selector


Last Updated:

  1. fouldsc

    fouldsc Member This Topic's Starter

    Joined:
    Aug 5, 2010
    Messages:
    6
    Likes Received:
    0
    Hi,
    I am new to Android development so please be easy on me !

    As part of an application I am 2/3rd's of the way through the need to for a Dialog to pop up for the user to select values in a predefined range has been reached.

    What I would like to do is recreate the look and feel of the datepicker/timepicker with the big + / - buttons above a field and pressing them moves them up and down a pre-selected list.

    Looking through android.widget I can't see an obvious type that does that, but no doubt there is.

    Will be very grateful if someone can point me in the correct location.
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    There is no pre-defined dialog for that. Your best bet is to use the DialogBuilder to make your own using a custom layout file.
     
  3. fouldsc

    fouldsc Member This Topic's Starter

    Joined:
    Aug 5, 2010
    Messages:
    6
    Likes Received:
    0
    hmmm, that a bit rubbish Mr Google !

    I will get writing - nabbed the icons so shouldn't be to hard.
     

Share This Page

Loading...