资 源 简 介
Custom implementation of android tabs, that overcomes some of the shortcoming of build in tabs.
Due to limitation of Android Tab component I created a custom TabWidget that I am using in couple different projects already. The widget allows us to add custom background and use custom icons, tabs can be Top/Bottom aligned.
Currently tabs can launch new Activity and Dialog , when starting new Activity we can use "startActivityForResult" so our tab will get a notification when other activity have finished.
This is not a perfect solution as there are some drawbacks to it but it suits me well so I will stick to it till something better comes along; Hint Android gurus we need to be able to start new activities inside existing tab with more customization.
Creating a Tab
There a two thing that a tab needs
con: either R.drawable.id or Drawable Object
n Activity set via Intent or Dialog
Tab h