1. Check out our app, Forums for Android! Download and leave feedback here!

Number selector

Discussion in 'Application Development' started by fouldsc, Aug 5, 2010.

  1. fouldsc

    fouldsc Member
    Thread Starter
    5

    Aug 5, 2010
    6
    0
    5
    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
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    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
    Thread Starter
    5

    Aug 5, 2010
    6
    0
    5
    hmmm, that a bit rubbish Mr Google !

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

Share This Page

Loading...