uiview - how to disable the button glow when clicked android -


i trying implement disabling of button glow when clicked in android. hope not lost cause. there way of implementing this? appreciate helping hand.

first create normal_button.xml in res/drawable folder. in normal_button.xml write code given below.  set normal_button.xml background button properties.  `

<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" > <color android:color="@android:color/white" /> </item> <item > <color android:color="@android:color/white" /> </item> </selector>

`


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -