Android Button

android tab example

This article will show you two examples. One is a Tab example which implemented by android selector and layer-list drawable object. The other is a shadow button implemented by layer-list.

button selector drawable xml file

This example will show you how to use android selector drawable to make a button to show different background color in different button states(disable, pressed, unpressed).