如何缩放TabWidget背景图像? [英] How to scale a background image in TabWidget?

查看:195
本文介绍了如何缩放TabWidget背景图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能缩放TabWidget / TabHost背景图像?我们的目标是创建一个背景绘制,将根据标签present在TabView的数量规模。

How can I scale a background image in TabWidget/TabHost? The goal is to create a background drawable that will scale according to the amount of tabs present in TabView.

推荐答案

看看这个链接,我用它在我的应用程序,它的伟大。高度可定制的方式做标签

Take a look at this link, I used it in my app and it's great. Highly customizable way to do Tabs

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

这篇关于如何缩放TabWidget背景图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆