See my answer here with a complete example:
http://stackoverflow.com/a/18541955/534471
On Thursday, March 24, 2011 5:11:48 AM UTC-4, asher wrote:
Hi Abhilash,
Can you give an example of the code you wrote in order to do that?
Thx.
--
You received this message because you are subscribed to
Hi Abhilash,
Can you give an example of the code you wrote in order to do that?
Thx.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
Answering my own post.
This can be done like:
mText.setMovementMethod(new ArrowKeyMovementMethod() {
public boolean onTouchEvent(TextView widget, Spannable buffer,
MotionEvent event) {
// Code in onTouchEvent() of LinkMovementMethod except code to
change selection
}
});
~Abhilash
On
*bump*
On Sep 25, 9:13 am, Abhilash abhilash.ramakris...@gmail.com wrote:
Is there a way to make URLs in a EditText clickable when the
MovementMethod is set to ArrowKeyMovementMethod?
~Abhilash
--~--~-~--~~~---~--~~
You received this message because you are
4 matches
Mail list logo