Corner Radius

Sometime we need a professional look our application. corner Radius is the best part of best look of any view of apps.

Code gd = new;

This block code is used to set redius corner of any view(textview,editext,linear, button etc.)

To use this code replace _color to hex color code. and replace _value to int value (1 to 360). paste this code on oncreate section.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.