Use a png image, that has transparent padding. Your image seems to have a opaque padding background.
*Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Fri, Aug 26, 2011 at 1:01 PM, Ratheesh Valamchuzhy <android...@gmail.com>wrote: > > > > Hi All > > In the below fig, the corner image button have some white image , i want > to change it > how can i do it...... > plse help me > > > <?xml version="1.0" encoding="utf-8"?> > <RelativeLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:screenOrientation="portrait" > android:orientation="vertical" > > > > <TextView > android:layout_height="44dip" > android:id="@+id/toolbar" > android:layout_alignParentTop="true" > android:background="@drawable/toolbar" > android:text="SIGN IN" > android:gravity="center" > android:textSize="18px" > android:textColor="#000" > android:layout_width="fill_parent"> > </TextView> > > <ImageButton > android:layout_alignParentRight="true" > android:layout_alignParentTop="true" > android:id="@+id/skridttaellerHome" > android:src="@drawable/signup" > android:focusable="true" > android:background="#fff" > > android:scaleType="fitXY" > android:layout_width="62dip" > android:layout_height="32dip" > android:layout_marginTop="6dip" > android:layout_marginBottom="6dip" > android:layout_marginRight="6dip"> > </ImageButton> > </RelativeLayout> > [image: device1.png] > > > > the button image i use is > > > [image: sign up.png] > > > > > > > > -- > -- > ωιтн яєgαя∂ѕ > Ratheesh * *........... > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
<<sign up.png>>
<<device1.png>>