【发布时间】:2011-07-17 05:49:18
【问题描述】:
可能重复:
How to increase the size of the title bar in an Android application?
如何在 Android 中增加标题栏的大小?
我创建了一个自定义布局 R.layout.mytitle 和 onCreate() 我调用:
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.mytitle);
但在我的布局中,无论我使用什么高度,它似乎都忽略了它,并使用了默认高度。
我该如何更改?
【问题讨论】: