
Search In
How to create Custom Button in Android
In Android it is very easy to use buttons , eclipse Ide provides you with drag and drop functionality.But we can use different approach and create our own custom button.
create an android project, in its
New studio version 2.2 has many features that provide developers vast range of functionality.
1. Layout Editor
Drag and drop from widget palette ,new blue print of your layout,tools like auto correction.
Properties panel shows
In the below example I have created Ripple Drawable clickable button. Here first I have created RelativeLayout In Relative layout I have added a Button, after then I have created two xml layout in drawable folder first is one.xml layout in that
Animation is generally used to make user interface more attractive and pleasant.
In android, we can have the animation from many ways.
We call a static function loadAnimation() of the class AnimationUtils. to perform animation in android.
An
1. Coordinator Layout: Coordinator layout is the super set of frame layout. Expanding and contracting of header/toolbar to gain more view for the main content. As per the property of frame layout it can have multiple child views but the additional fe
If you are looking to create Sliding menu in android below example will help you.In android Sliding menu is used to hide and show menu items. In below example I have create multi layouts here like fragment layout using for dividing menu item . fragme
In the below example I have created vector drawable function. For this first I have created vectordrawable.xml, animvectordrawable.xml , anim/rotation.xml and path_morph.xml layout. In activity_main.xml layout I have added TextView and ImageView. An
This tutorial will help you to give percentage based layout width and height. As now the Android have introduce percentage support library. It will helps to run your applications for multiple screen sizes.
So far this support library support for som
This blog will help you to Create shapes,Border,selector and Drawable using xml in Android.
1.Selector for a button: Create xml file named background_selector.xml in res/drawable and write the bellow code in that
<?xml version="1.0" encoding="ut
To repackage android app for blackberry phones you need to convert the APK file to BAR file which is compatible with the blackberry phones.
To convert APK file you can either use Blackberry plug-in tool or Blackberry command line tools.
In t