9 May 2012

Underline a textview in android.


SpannableString contentUnderline = new SpannableString("http://hasmukhbhadani.blogspot.in/");
        contentUnderline.setSpan(new UnderlineSpan(), 0, contentUnderline.length(), 0);
        TextView mPage = (TextView) findViewById(R.id.page);
        mPage.setText(contentUnderline);


I will be happy if you will provide your feedback or follow this blog. Any suggestion and help will be appreciated.
Thank you :)

No comments:

Post a Comment