inserting textview inside edittext in android?
android, android-custom-view, android-edittext, textview
Solution
I think you cannot set `TextView` inside `EditText`. But alternatively you can make it look that way. Here are the steps
- convert textview to `BitmapDrawable`
- convert bitmap drawable into `SpanableString` (`ImageSpan`)
- then set this returned `SpannableString` to your `EditText`
I have recently completed this kind of ui and i have explained in my blog Making GoSmsPro/Evernote like EditText
Problem
I am trying to insert a textview inside a Edittext as in below can anyone pls give me ideas about how to implement it or something. thanks :) update: the textviews in the edittext will vary dynamically.