I have taken a button in my xml and set its background img1 now on the click of that button i want white glow around that button edges . I have refereed this links http://developer.android.com/guide/topics/ui/controls/button.html Android ImageButton with a selected state? Standard Android Button with a different color
Asked
Active
Viewed 3,238 times
1 Answers
0
You can add a white border to the button. please enter this question to see how to add border: Android - border for button
Store the xml in
res/drawable/filename.xml
And then you can access it like this:
In Java: R.drawable.filename
In XML: @[package:]drawable/filename
-
Hey Omar.... Where to store that xml file and how to access it please reply soon.. – Abhi Mar 10 '14 at 08:43
-
waiting for your reply – Abhi Mar 10 '14 at 08:55