Skip to main content

Posts

Showing posts from June, 2011

iPhone like Tabs in Android.

Hi all! While developing Android application we needed Iphone like tab bar at the bottom of the screen, so Googled and find usefull links but having some issues. Some of the usefull links I found were. iPhone Tabs for Android!   iPhone-Like Tab bar in Android iPhonish Tabs   and so many links. These posts are good and useful also. But I was curious about having TabWidget and TabHost not using any other controller like some of authors have used RadioButtonGroup and Repeated Image Background. So I searched about customizing android TabIndicator and found a solution. The files which will be needed are as follows: in res/drawable directory:     tab_selected.xml    (will be used to show effect while selected)     tab_pressed.xml    (will be used to show effect while pressed)     tab_unselected.xml    (will be used to show effect while unselected)     tab_focus.xml    (will be used to show effect while focused)     tab_indicator.xml    (will be used to show effect whi