Featured
-
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
An Overview of Android Activity - Video Tutorial
As far as Android platform is concerned, the funda
by amit.rai -
How to get IMEI number,serial number and software version of your phone
Hello... Sometimes we need to know the country
by shahbaz.ahmmod -
Search location by using place on google map
Here below is the code for searching places by usi
by shahbaz.ahmmod -
How to know free space in sdcard android
I have written code to know free space in sdcard
by shahbaz.ahmmod
Tags
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...