Reputation: 7626
I have a problem with the underlining the textfield used for showing it as the link.
I am using the following code:
final String Email1 = new String("http://myURL/");
Email.setText("W : "+Email1);
Email.setPaintFlags(Email.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
I am getting the output as below :
I am getting the underline for W: also... Please help with the code to omit the underline to W:
Upvotes: 1
Views: 304
Reputation: 3399
You need to use two TextViews alongside each other. One containing the "W : ", the other with the email address.
Upvotes: 1