如何增加标题栏的大小在Android应用程序?应用程序、标题栏、大小、Android

2023-09-12 23:57:59 作者:不美不萌又怎样

如何增加连接到任何屏幕顶部的机器人

How to increase the size of the title bar attached to the top of any screen in android

推荐答案

这是Android的标题栏,你可以在不增加它的大小。它需要这个功能在你的应用程序,那么你可以创建一个自定义标题栏。

This is android title bar and you can not increase its size. It you need this feature in your application then you can create a custom title bar.

使用此code。在您的活动中删除这个默认的标题栏。

Remove the this default Title bar by using this code in your activity..

getWindow().requestFeature(Window.FEATURE_NO_TITLE);

在您的manifast您的活动标签内或本。

or this in your manifast inside your activity tag.

android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 

,然后在XML文件中创建一个自定义标题栏。

and then create a custom title bar in your XML file.

 
精彩推荐
图片推荐