Android programming - Multiline EditText inside ListView?

I thing problem is with your xml , because you does not defined in xml that editText should not go above textView so it will take maximum length . Try this : android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="16sp" android:singleLine="false" android:layout_alignParentLeft="true" android:layout_toLeftOf="" android:layout_centerVertical="true" android:inputType="textMultiLine.

Don't know wats wrong with stackOverFlow . Unable to paste my code . – Shailendra Rajawat Aug 29 at 9:31.

I have a ListView, in which each row contains a TextView and an EditText. I find that I can't get multiline with this EditText. Whatever I type in it, the string doesn't wrap to next line.

Besides, the soft keyboard doesn't show "Enter key" -- instead, it shows a "Done" key. If I copy the block to outside ListView, it works as multiline. But it doesn't work inside ListView.

I'll appreciate it if anyone can shed some light.

I solved a problem equal to this, but changing my OnKeyListener to return false.

I thing problem is with your xml , because you does not defined in xml that editText should not go above textView so it will take maximum length .

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions