Android Selector

android tabhost example

android.widget.TabHost is a widget that can add more tabs in android app. Each tab can has it’s own content. This article will show you examples about how to use it.

android seekbar example new

SeekBar is similar to ProgressBar. The difference is that seekbar has a slider that can be used by user to adjust the progress value manually. This example will show you […]

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

android shape gradient example

Shape, selector and layer-list are usually used to create custom drawable resources in android development. Those three xml elements can save a lot of UI resources and time if being […]