aaaidan
aaaidan

Reputation: 7346

How can I remove the status bar in Android Studio activity preview

I find the "Preview" view in Android Studio super useful to see how my UI will appear on the device. The preview almost matches my in-app layout.

Our app has a fullscreen UI, which even hides the status bar. This works great on the device, but the preview insists on displaying the status bar. I haven't been able to figure out how to remove it editing an activity ui.

To be clear, I'm not talking about the App Titlebar, or the system buttons (home, back, etc).

the android status bar in preview

Upvotes: 1

Views: 6688

Answers (3)

Karthick K
Karthick K

Reputation: 581

With Android studio version 3.3.2:

How to Enable/Disable status bar in android studio app preview

Upvotes: 1

Ankit Kumar
Ankit Kumar

Reputation: 3723

In Previews screen, Apply NoTitleBar.FullScreen theme to your layout.

Upvotes: -2

Adolf Dsilva
Adolf Dsilva

Reputation: 14430

Change your layout theme to NoTitleBar.FullScreen.

1.

2.

Upvotes: 7

Related Questions