TextView Hyperlink is not working?

fred128

New Member
Why \[code\]TextView\[/code\] Hyperlink is not working.Using hyperlink as inside the custom \[code\]dialog box\[/code\].The hyperlink is not appear.Where i am mistaken. How do solve it. Give me guidance.XML code is\[code\]<TextViewandroid:id="@+id/google_Link"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_gravity="center"android:gravity="center"android:padding="10dip"android:textSize="20dip"android:linksClickable="true" android:autoLink="all"android:textColorLink="#306EFF"android:text="" />\[/code\]Android Code is\[code\]TextView googleLink = ( TextView ) layout.findViewById( R.id.google_Link );googleLink.setClickable(true);googleLink.setMovementMethod(LinkMovementMethod.getInstance());googleLink.setText( Html.fromHtml( "<a href=http://stackoverflow.com/questions/11413372/`http://www.google.co.in`>Google</a>" ) );\[/code\]Android Manifest Code is\[code\]<action android:name="android.intent.action.VIEW" /><category android:name="android.intent.category.DEFAULT" /><category android:name="android.intent.category.BROWSABLE" />\[/code\]Thank in advance.
 
Back
Top