Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

How to create Bounce Text animation function in android

In the below example I have created a Bounce Text animation function. Here I have added Button and TextView in activity_main.xml layout then I have created new directory (anim). In anim directory I have created bounce.xml layout and in MainActivi...

How to make animation TextView android

In the below example I have created animation TextView. Here first I have created a animation.xml layout, in animation layoout I have set scale property after then I have added TextView in activity_main.xml and finaly at last In MainActivity I h...

Make Textview underline

Sample code to make a textview underline - tvPrivacy3.setPaintFlags(tvPrivacy3.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); And sample code to make textview strike line tvPrivacy3.setPaintFlags(tvPrivacy3.getPaintFlags() | Paint.ST...

Freeze TextView text while restore fragment from Backstack/ onOrientationChange

Some time TextView lost text while getting fragment from Back-stack or when screen orientation changed. I also faced that problem. Here is the solution for save state of TextView forcefully. Add Tag android:freezesText="true...

How to give look and feel to TextView like EditText

In many applications we have to create form that contains both EditText and TextView. The look and feel of EditText and TextView are completely different. So for making the TextView appearance similar to EdiText we have to specified its style att...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: