Having trouble to make custom edittext in android? - android

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.

Related

I want to add selected listview item in searchbox horizontally ?Is it possible in android?

I want like this
currently i am getting this.
Please help if this is possible.thanks in advance.
Yes, this is possible. You can create a custom view or you can look for github project for this kind of view.

How to create the chip UI inside a auto-complete-text-view in android?

Can anyone give me the xml or any way to implement this kind of UI in android auto complete textview. Chip UI like this.
https://www.google.co.in/design/spec/components/chips.html#
Please note that I want to use CustomAdapter with the autocomplete textview.
Thank you.

How to make an EditText Box in android?

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

TimePicker-like widget

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 ;)

Custom EditText with ScrollView like behaviour?

i need to make a Custom EditText which scrolls as fast, or has the same scroll-behaviour like a scrollView.
Can someone give me some instructions how i can make this, or has someone made it already?
I would really appreciate if someone could post some Code, or a whole CustomEditText with this function.
I'm sure a lots of people search for this.
I tried to do the EditText into a ScrollView but this causes lots of problems with the selection, ...
Perhaps someone knows how to add line-numbers too?
I hope to get an answer from someone out there ;).
Thanks in advance.
Regards,
Mike
Do you have a listview for this custom edittext? If you do have, you can try using this setFastScrollEnabled(true);

Categories

Resources