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.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.
SeekBar is similar to ProgressBar. The difference is that SeekBar has a slider that can be used by users to adjust the progress value manually. This example will show you how to use and customize the android SeekBar.
This article will show you two examples. One is a Tab example which is implemented by an android selector and layer-list drawable object. The other is a shadow button implemented by layer-list.
This example will show you how to use an android selector drawable resource to make a button to show different background colors in different button states(disable, pressed, unpressed).
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 used properly. This article will show you how to use them correctly.