How to add border for the buttons in android
Hi I am using buttons in my list view. I would like to add border to my button. How can i do that. My XML code for creating开发者_如何转开发 button look like this. android:text="Search" >
Please suggest me some solution or provide me some source code for doing this.
Thanks in advance.
One way is to create the background new (9patch drawable) and then set it to the background. How to do this is explained here: http://developerlife.com/tutorials/?p=1239
精彩评论