I have made an Android application in that I want to put a value picker as shown in the image below. Can anyone help me how to make it? I want a picker with 4 values "100","110","125","150" and the selected value should be set in an EditText.
This is the closest thing I know: Android wheel
another solution is to define a numberpicker with values-> setDisplayedValues.
this maybe will help http://androidpp.wordpress.com/2013/11/07/numberpicker-als-valuepicker-mit-eigenen-werten/
Related
I would like to know how to make the user select some value on line like the example I show you in the attachment.
settings from tinder app
I would like to know too how to make the user select values between 2 values (like in the pic I'm showing you)
I thank you in advance for your help
Try to use SeekBar controller.
To select from a range of values like the attachment that you provided, consider using SeekBar
To select one of two values, consider using Switch
I am new to Android Studio programming and I have 0 experience. I need some help and any help will be very much appreciated!
I'm trying to make the datepicker and timepicker show on the main screen textview but I have absolutely no idea how to do it. I did check on the questions section but it didn't help.
Basically now I only have the date and time picker on the main screen with the textview below.
How can I go about doing it? I'm sorry if it sounds to newbie but I really want to do it as I want to help my friend and at the same time learn.
please help. Thank bunches!
screen capture
You need to use WheelView, please check below refrences.
android-aresanal
Picker view
Wheel View
Wheel View
Do you mean actually you have date and time picker, and a textView. Your problem is do not know how to add Listener which can set data to textView after choose date and time.
I need to create a ListView with items that are continuously coming like in WhatsApp .
I want to display ListView with Date as SectionHeader.
I am using ListView from SQLite database using custom Adapter.
Now i need to display date of conversions like date in WhatsAPP
i found 1 link that look like some how usefull but i am not getting how to make it possible with date?
This is Link
Please help me to solve this problem
Use any stick header list view.
For reference you can use this one.
https://github.com/emilsjolander/StickyListHeaders.
and you can customize the section header view xml as your desire even like whatsapp containing date or any other way you want.
If it helps you, mark my ans. as up.
Yes you can do that using the same library what they used in that link you gave.Just try differentiating things with date where they did with alphabats.
Let me know if you need any assistance. Please mark this up if this helps.
HI Every One. I am new to android Developmemt . Actually my project requires to show Timepicker but i doesnot want to show AM or PM option and also not in the header of the picker, There is any way to do this ?
Please reply ASAP
You can remove the AM/PM selector using the setIs24HourView(true) method of TimePicker. I've not tried it myself, but I think this should also remove the AM/PM caption from the header.
Hope that helps, bye
I have a range say,1-100 and i want the user to select a value from this range.Ofcourse showing this with a spinner will be awful.I want to use the functionality of date widget,where we can pick a date by pressing a +/- sign,the longer the press ,higher the iteration speed.
I found numberpicker.java that has the code the date widget uses to get this functionality, but do i have to paste that entire code to achieve this functionality!
Here is a tutorial on how to pull out NumberPicker; I've followed it myself: http://www.quietlycoding.com/?p=5
I found numberpicker.java that has the
code the date widget uses to get this
functionality, but do i have to paste
that entire code to achieve this
functionality!
Unfortunately, yes, plus perhaps some resources as well (I have not looked at that code recently). I am not aware of anyone who has pulled that out to make a reusable component, and it is not a widget in the SDK.
Sorry!