1

I have used table layout and given vertical scrollbar to it. the table layout is having a table row of edittext whose input type is textMultiLine i want to add vertical scrollbar to it. For this i have used,

   edittext_level_desc.setScroller(new Scroller(getApplicationContext()));
   edittext_level_desc.setVerticalScrollBarEnabled(true);

But its not working.

NewUser
  • 3,471
  • 7
  • 48
  • 74
Surabhi Pandey
  • 3,688
  • 4
  • 16
  • 24

1 Answers1

0

Check out these:

If any of them work, but it is quite difficult and annoying to apply scrollers in scrollers you may need a custom view, and also a custom scroll based on gestures or touch events.

I suggest change your layout in order to avoid that. It may be more helpful to have an EditText not scrolling expanding.

Community
  • 1
  • 1
madlymad
  • 5,902
  • 6
  • 32
  • 60