I  have one screen with some image buttons and image view. when user
click on these buttons or image view i need to show selected effect
not replace any image instead of these. only selected dark shade
effect on button or imageview same as iphone. How it's possible ?

i have not any selected image source , i checked these code ...

 <?xml version="1.0" encoding="utf-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android";>
     <item android:state_pressed="true"
           android:drawable="@drawable/button_pressed" /> <!-- pressed
-->
     <item android:state_focused="true"
           android:drawable="@drawable/button_focused" /> <!-- focused
-->
     <item android:drawable="@drawable/button_normal" /> <!-- default
-->
 </selector>

But for these code need to set another image on pressed event.

Anyone know any property of android to directly set select dark shadow
effect without image ?
Please anyone suggest how its possible ?

Thanks

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