开发者

Change tab height in a TabView?

Is it possible to change the size of the tabs displayed in a TabActivity? I'm currently only putting text in my tabs and I'd really like to minimize the size as much as possible.

Also, is there a way to use icons for my activity that aren't 48x48? I'd like to do something more rectangular as oppo开发者_Python百科sed to square. I just want to use my screen real-estate the best I can :)

How is the YouTube app doing this? (See screenshot, and yes I know that the YouTube app isn't open source)

Change tab height in a TabView?

Change tab height in a TabView?

It seems that they're also making it possible to scroll left and right for more tabs. Any ideas on how they're doing this?


Yest you can do all that by creating your own custom view for tab widget, it is quite simple to do. this tutorial will do the trick

http://joshclemm.com/blog/?p=136

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜