is it any possibility to get a spin box like the ones used in Time or DatePickers? I want to set my own data using those.
Thanks in advance
More precisely, I think you are looking for this: http://developer.android.com/reference/android/widget/NumberPicker.html.
EDIT:
Or if you're looking into other options, it already has been discussed here: Android Number Picker Dialog.
Hope it helps!
it is possible via a custom view... http://developer.android.com/guide/topics/ui/custom-components.html
happy coding ;)
Related
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.
i want to make custom edit text like this
I searched google fot it but get any solution to my desire.
So please give me some advise how to do it or give a documentation link that will help me.
Thanks in advance.... :)
Create a class that extends EditText. Override the onDraw method to draw it however you want.
We're making an app that can make surveys which is to be answered, of course.
But i'm not sure if it is possible that, for example, we will display all the list of inserted survey topics
and that in every topic, there'll be 1 button for each, generated individually ( sorry for the term. not really good in English. ) so that they can select it.
I'm also hoping to use it in the list of questions so that they can select from given answers using those buttons.
If it is possible, can you please give me some hints/starting lines how to make it?
Thanks in advance.
I think you need to overview ListView widget of Android first.
It helps to show lists you want.
And after you need to research Adapter you need. It is interface you must implement to use with ListView.
Hi, I'm trying to get my preference area to have scrollable text as most of the titles are too long. Is this something thats possible? I have seen posts regarding TextViews, and even those need a bit of encouragement to get going...
any help appreciated.
thanks
Not with standard PreferenceActivity you are most likely use there. Shorten your labels and use `description filed to clarify. Or just create help or manual for your app
I would like to make my application ask the user some informations via something similar to VB.NET's inputbox. How can I do this??? I don't want to have a permanent control on the screen, I just want to make it appear when I need it. Actually, just as an inputbox.
dude see this link u will get use of EditText http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-edittext-controls/
Use an edittext box, very similar to a textview. examples can be easily found