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

Apps Number selector

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

  1. fouldsc

    fouldsc Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Aug 5, 2010

    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    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 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Aug 5, 2010

    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...