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

Apps how to limit the height for a spinner dropdown list?

Discussion in 'Android Development' started by Rishi123, Feb 21, 2016.

  1. Rishi123

    Rishi123 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 19, 2016

    Feb 19, 2016
    2
    0
    5
    Male
    How should I go about limiting the height of a spinner drop down ?
    Suppose for example:
    If I have a spinner drop down with total of 10 rows,
    I would like to display only the first 3 rows,
    and the rest of the content should be scrollable.
     

    Advertisement

  2. The_Chief

    The_Chief Accept no imitations!
    VIP Member
    Rank:
    None
    Points:
    2,118
    Posts:
    13,886
    Joined:
    Nov 17, 2009

    Nov 17, 2009
    13,886
    14,062
    2,118
    Male
    I'm retired: every day's a Monday :P
    Manchester, TN
    Hi Rishi and welcome to Android Forums!

    If this is an Android Development question, I will be happy to move your question to the Android Development Forum, where other developers will see it and help you. Just let me know and I'll make the move :)

    It's great to have you here :)
     
  3. Rishi123

    Rishi123 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 19, 2016

    Feb 19, 2016
    2
    0
    5
    Male
    Yes please ..kindly move it to the Android Development Forum. That would be the right place for this question.
    Thanks The_Chief
     
  4. The_Chief

    The_Chief Accept no imitations!
    VIP Member
    Rank:
    None
    Points:
    2,118
    Posts:
    13,886
    Joined:
    Nov 17, 2009

    Nov 17, 2009
    13,886
    14,062
    2,118
    Male
    I'm retired: every day's a Monday :P
    Manchester, TN
    Done. I moved it to the Application Development Forum. Good luck!
     
    Rishi123 likes this.
  5. LV426

    LV426 I say we take off and nuke this place from orbit
    Recognized Developer
    Rank:
     #12
    Points:
    1,988
    Posts:
    9,176
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    9,176
    13,681
    1,988
    Male
    Software developer
    South West of England

Share This Page

Loading...