Android : How to display a contact number in android

on Tuesday, August 5, 2014


I need to display a Contact Number in android.So far I done it in textView.But I couldn't able to get the result.


For Eg: If Contact Number is 86081***20.


I need to display this number in android.xml.Anybody can help me with these.Thank you.


contact.xml



<TextView android:id="@+id/textView9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/number1" />


strings.xml:


86081***20


I done it like these.


Finally output shows like @String/number1


0 comments:

Post a Comment