Cool, let me know if u run into problems. Jiri
Atif Gulzar wrote: > Thanks Jiri, > > That is exactly what I was looking for. Thanks again. > > > -- > Best Regards, > Atif Gulzar > > I ◘◘◘◘ Unicode, É¹É zlnƃ ÉŸÄ±Ê‡É > > > > On Wed, Aug 12, 2009 at 12:52 PM, Jiri <[email protected] > <mailto:[email protected]>> wrote: > > > Maybe this will help you: > > > http://www.anddev.org/tinytutcustom_button_backgrounds-better_imagebutton-t4298.html > > regards, > > Jiri > > Atif wrote: > > The default button turns yellow|orange when it is pressed. > > > > I just replaced the background through Drawable given below. But now > > it stop changing the color on press. Sure I have to provide another > > drawable (lets call it pressedButton) for that. But how and on which > > even I should apply this pressedButton Drawable. Thanks > > > > > > > > <?xml version="1.0" encoding="utf-8"?> > > <shape xmlns:android="http://schemas.android.com/apk/res/android" > >    android:shape="rectangle"> > >    <gradient android:startColor="#FF505050" > > android:centerColor="#FFFFFFFF" > >        android:endColor="#FF505050" /> > >    <padding android:left="5dp" android:top="5dp" > android:right="5dp" > >        android:bottom="5dp" /> > > > > </shape> > > > > > > -- > > Best Regards, > > Atif Gulzar > > > > I ◘◘◘◘ Unicode, É¹É zlnƃ ÉŸÄ±Ê‡É > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

