Get the App
SLTechnology News&Howtos  ›  Development  › 

How to set full screen without title through ActionBarActivity in Android

Shulou Source: shulou.com Published: 2022-05-31 23:51:18 10月05日 Update

In this article, the editor introduces in detail "how to set full-screen headless through ActionBarActivity in Android" with detailed content, clear steps and proper handling of details. I hope that this article "how to set full-screen untitled through ActionBarActivity in Android" can help you solve your doubts.

Summary of the method of setting full screen without title in Android ActionBarActivity

The reason is that ActionBarActivity can only use the theme at the beginning of Theme.AppCompat*** in the v7 package when setting theme, so you need to customize a style to set full screen without title:

True true @ null

Then in androidManifiest.xml: set android:theme= "@ style/ActionBarFullScreen" to ok!

Another solution is to change the inherited ActionBarActivity to FragmentActivity or Activity, and then set the theme directly

Android:theme= "@ android:style/Theme.Holo.Light.NoActionBar.Fullscreen" is ok!

After reading this, the article "how to set up full-screen untitled through ActionBarActivity in Android" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, you are welcome to follow the industry information channel.

Tags: Title article content method appropriateness topic reason beginning ideas new knowledge time more steps knowledge knowledge points articles details industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Huawei MySQL Shulou Information Linux