I never use previews because my pc is crap How ca...
# android-studio
u
I never use previews because my pc is crap How can I disable this bar altogether? It's eating up my precious vertical space on laptop screen
c
Not sure it totally helps but in the New UI, this bar is more compact and put on the same bar as the editor tabs
Long term though we are looking into a way to not show the preview modes if no Preview is detected in the active file
u
yea im aware but I dont use tabs, so I get even more vertical space
that would be smart yea
m
You can disable it from Setting -> Editor -> Design Tools
thank you color 1
c
That setting won’t remove the toolbar though, it just changes the default. So stops Preview from running at least.
👍 1
u
now that I look at the modes .. I do ofc like it for drawables, but yea I never toggle between them
btw @Chris Sinco [G] what's the criteria for the toolbar to show? Since it shows up in my ViewModels as well, where theres obviously no UI code these are the only foreign imports
c
I’d have to check, but I think it shows up when
androidx.compose
is shown. Or any Kotlin file in Studio 😞
u
hmm I removed the Immutable annotation and still
c
Ah unfortunately it’s every Kotlin file 😞
u
I've done a little digging - and it's not every kotlin file, nor only view models .. it's odd https://issuetracker.google.com/issues/326091148
c
Thanks I sent it to the right team to investigate
👍 1