2

I am having a lot of trouble getting an EditText within a ListView row to behave correctly. Does anyone know of any tutorials that walk you through the process?

Thanks!

w.donahue
  • 10,790
  • 13
  • 56
  • 78

2 Answers2

2

As of Android 4.1.0, these two components seem not working together as expected, something is buggy there. There are various proposed work arounds but all look like a low level hacks that may stop working or even cause they own problems in the future versions.

It is possible to use LinearLayout to simulate a list with comparable effort. EditText talks much better with LinearLayout.

Audrius Meškauskas
  • 20,936
  • 12
  • 75
  • 93
2

This answers can help you out

Focusable EditText inside ListView

How to correctly handle Android EditText input inside a ListView?

Community
  • 1
  • 1
Tanmay Mandal
  • 39,873
  • 12
  • 51
  • 48