Hi,

Is your background a state-list drawable? If not, the behavior you're
witnessing is normal.

On Fri, Mar 20, 2009 at 9:35 AM, zeeshan <genx...@gmail.com> wrote:
>
> Hi Android Experts,
>
> i have a login button as below:
>
> <Button android:id="@+id/loginBtn"
>                android:layout_width="wrap_content"
>                android:layout_height="wrap_content"
>                android:layout_gravity="center"
>                android:background="@drawable/enter_button"
>                android:text="Login"
>                android:clickable="true"
>
>                />
>
> it doesn't show press state when i click on it, i also used
> ImageButton with same background image but same result
> any solution?
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to