Android的 - 我可以增加TEXTSIZE为NumberPicker小部件? [英] Android - can I increase the textSize for the NumberPicker widget?

查看:359
本文介绍了Android的 - 我可以增加TEXTSIZE为NumberPicker小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在3.0中得到了NumberPicker小部件,但它似乎TEXTSIZE为这个小部件不能修改。我缺少的东西或者是这样吗?我真的很想增加字体大小,这是相当小的默认值。但我不能看到TEXTSIZE属性吧...

We got a NumberPicker widget in 3.0, but it seems that the textSize for this widget can't be modified. Am I missing something or is this the case? I'd really like to increase the font size, it's quite small with the default value. But I can't see a textSize property for it...

感谢

推荐答案

我们遇到了同样的问题,并最终重新<一个href="http://www.netmite.com/android/mydroid/cupcake/frameworks/base/core/java/com/android/internal/widget/NumberPicker.java"相对=nofollow> NumberPicker 的地方。有一个更深入的教程这里

We ran into the same problem and ended up recreating NumberPicker locally. There's a more in depth tutorial here.

这篇关于Android的 - 我可以增加TEXTSIZE为NumberPicker小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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