android - List View Item Scroll able vertical -
currently i'm using listview
, it's working fine. have text in listview
paragraph , want show 2 lines of text , make rest of text scrollable, i'm having issue if make textview
scrollable inside of listview
, textview
focus of parent (listview
) , won't let scrolled.
so can achieve scrollable textview
functionality won't disturb scrolling property of listview
?
thank you.
i able in following way:
into getview method of listadapter obtain textview object of line, , write
textview.setontouchlistener(new view.ontouchlistener() { @override public boolean ontouch(view v, motionevent event) { v.getparent().getparent().requestdisallowintercepttouchevent(true); return false ; } });
when touch textview, take control of scrolling