vijay

welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Monday, July 30, 2012

Download button in png format for android


Here you can use the below button image in your android application.
It’s very easy process to set button image style as we like it.Just you can download the any png type buttons and set image as background for button control.
Here I gave some type of image, if you like these below images then follow the below steps to set background image.
Download the below image:

 
Steps:
First import the images into application drawable folder.
In xml design set the background image from the drawable folder.
Also set the button text
Code:
<Button
        android:id="@+id/button2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Enter"
        android:textColor="#ffffff"
        android:layout_gravity="center"
         android:background="@drawable/btnorange" />
    <Button
        android:id="@+id/button3"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Enter"
        android:textColor="#ffffff"
        android:layout_gravity="center"
         android:background="@drawable/btnbluee" />
    <Button
        android:id="@+id/button1"
        android:layout_width="150dp"
        android:layout_height="wrap_content"
        android:text="Enter"
        android:textColor="#ffffff"
        android:layout_gravity="center"
        android:background="@drawable/btnblack" />


0 comments:

Post a Comment