1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android application problem

Discussion in 'Android Development' started by Ben Richard, Mar 22, 2016.

  1. Ben Richard

    Ben Richard Lurker
    Thread Starter

    Hey,

    How do I create a editTextView, which allows the user to enter a number, which outputs listview so for example:

    1).editTextView: please enter how many answers you are looking for, i.e lets say he is looking for 20

    2).User enters the number of answers he is looking for[20]

    3). Output: shows 20 user inputs as editText

     


  2. Best Answer:
    Post #7 by Deleted User, Mar 22, 2016 (1 points)
  3. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    Application Development thread moved to the Development forum for better exposure.:)
     
  4. Deleted User

    Deleted User Guest

    Your question is not clear. Do you want to display a Listview containing 20 items?
     
    Ben Richard likes this.
  5. Ben Richard

    Ben Richard Lurker
    Thread Starter

    No I need a user to enter how much he wants so it could be any
     
  6. Deleted User

    Deleted User Guest

    Have you read a Listview tutorial?
     
  7. Ben Richard

    Ben Richard Lurker
    Thread Starter

    Could I use listview for user input?
     
  8. Deleted User

    Deleted User Guest

    Yes you can specify a custom layout for the rows, this may include an EditText box for example.
     
  9. milvus

    milvus Lurker

    You can create array of buttons, create it dynamically and programmatically add to layout (view.addView(button)), or create it dynamically, add to arraylist and write own ArrayAdapter for listview.
     
Loading...
Similar Threads - Android application problem
  1. Leyna
    Replies:
    4
    Views:
    656
  2. Anaya Omkar Joshi
    Replies:
    0
    Views:
    295
  3. Bayberw
    Replies:
    0
    Views:
    231
  4. UndefinedN00B
    Replies:
    7
    Views:
    837
  5. chinnar
    Replies:
    0
    Views:
    714
  6. Senchi007
    Replies:
    3
    Views:
    446
  7. izabelle221
    Replies:
    6
    Views:
    514
  8. muhammadzohaibsattar
    Replies:
    1
    Views:
    555
  9. Uday Makam
    Replies:
    0
    Views:
    448
  10. gil_happy
    Replies:
    4
    Views:
    541

Share This Page

Loading...