Profile cover photo
Profile photo
Vignaraj RR
39 followers -
I'm Vignaraj from Madurai, Tamilnadu, India.
I'm Vignaraj from Madurai, Tamilnadu, India.

39 followers
About
Posts

Post has attachment
Using Button Selectors in Android
If you do somethings in Buttons like background changing, stroke color means, Just follow up the xml. Button_Selector.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android">     <item android:state_fo...

Post has attachment
Show the Ad in ListView Footer
In ListView, If you want to show your Ad(Advertisement) on Footer view. Just Add this lines in your code: View footerView = ((LayoutInflater) getActivity().getSystemService( Context.LAYOUT_INFLATER_SERVICE)).inflate( R.layout.ads_banner_layout, null, false)...

Post has attachment
Get the Size of display in android
To get the current screen's width and height, just using DisplayMetrics  and WindowManager DisplayMetrics displayMetrics = new DisplayMetrics(); WindowManager wm = (WindowManager) getApplicationContext().getSystemService(Context.WINDOW_SERVICE); wm.getDefau...

Post has attachment
Email Address Validation
Lot of peoples validate their field by using field length or Regular Expressions . In this way, Email Addresses validation has been difficult some times. Format of Email Address: The format of email addresses is local-part@domain where the local-part may be...
Email Address Validation
Email Address Validation
vignarajj.blogspot.com

Post has attachment
Float Label Edit Text in android
Last few days, i search some new UI on Edittext. Finally i found it  and its very awesome. Float Label EditText Meanwhile, some of jquery components only do this, but now android achieved it.  In android, such big form shows the hint text, but after text ch...
Float Label Edit Text in android
Float Label Edit Text in android
vignarajj.blogspot.com

Post has attachment
Set the height and width of layout, programmatically in android
Create the layout LinearLayout linearLayout= (LinearLayout)findViewById(R.id.numberPadLayout); Gets the layout params that will allow you to resize the layout LayoutParams Lparams =  linearLayout.getLayoutParams(); Changes the height and width by specified ...

Post has attachment
Clear the app data programmatically in android
Clear the App Data Programmatically in Android Application data has been created due to use shared preference data, databases and network caches data. This data has been manually clear on Settings -- > Apps (or) Application Manager --> Select the app you wa...

Post has attachment
Image Downloading Library - Picasso
Picasso is best image downloading and caching library using in android. It's very fast to show the image from the URL. Using picasso is very simple to do it. From Gradle       compile 'com.squareup.picasso:picasso:2.4.0' Maven    <dependency>   <groupId>com...

Post has attachment
Shake Detection Library
If you want to detect the shake sensor, Implement like this,  SensorManager   public class Demo extends Activity implements ShakeDetector . Listener Class Implementation,   SensorManager sensorManager = ( SensorManager ) getSystemService( SENSOR_SERVICE ); ...
Shake Detection Library
Shake Detection Library
vignarajj.blogspot.com

Post has attachment
Make a Marquee Textview in android
Made change like that, In main.xml <TextView         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:text="@string/text_content"         android:singleLine="true"          android:ellipsize="marquee"         ...
Wait while more posts are being loaded