The action bar cannot be erased even when configured in style.xml in Android studio.

Asked 2 years ago, Updated 2 years ago, 136 views


in Android studio style.xml parent="android:Theme.Holo.NoActionBar"
The action bar does not disappear when you configure .
What are the possible causes?
I use the actual nexus7 machine for the test.
Please let me know if you know more.

android java android-studio

2022-09-30 20:47

1 Answers

On the java side

getActionBar().hide();

Then it will be hidden.


2022-09-30 20:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.