Android XML Preview Unclear After Update to Arctic Fox
Asked Answered
H

5

8

After updated to Arctic Fox version, the xml layout previewer looks fuzzy, unclear, see below:

enter image description here

enter image description here

How to fix it?

Hildegaard answered 5/8, 2021 at 15:24 Comment(4)
Just adjust the zoom?Lacy
@Lacy That will be very painful. It was clear in previous version.Hildegaard
I have seen quite a few posts here regarding this, maybe it's an IDE issue as usual. I don't trust the stable updates these days because minute but important things like these break for no reasonInstitute
Hi this is related to Android Studio Arctic Fox version. Please see #68587916Domoniquedomph
H
0

Now the latest version (BumbleBee) fixed this problem.

Hildegaard answered 5/2, 2022 at 17:13 Comment(0)
A
4

It helped me: Help => Edit Custom VM Options => Paste "-Dsun.java2d.uiScale.enabled=false" and restart the IDE.

For more information, click here.

Aubyn answered 11/12, 2021 at 8:2 Comment(1)
Thanks. A working solution. Should be an accepted answerCanadianism
A
0

Not just XML preview, the Jetpack Compose preview is also very blurry on my Macbook. I tried the old trick Help > Edit custom properties and add:

hidpi=false

But this did not work (maybe it will work on Windows, you can try). Currently I have to revert back to Android Studio 4.2.2 .

Agnate answered 3/9, 2021 at 12:11 Comment(0)
O
0

My issue is resolved when I installed the Oracle Java JDK 11 and then changed the JAVA_HOME directory from JDK1.8_xxx to latest JDK I installed and then I restarted my system Image after doing this

Oxa answered 9/9, 2021 at 19:13 Comment(0)
I
0

I has same issue and i have been used all tricks and method but preview was not showing, at last i used below code and it worked.

configurations.all {
    resolutionStrategy {
        force 'androidx.core:core-ktx:1.6.0'
    }
}
Intersection answered 20/12, 2021 at 8:30 Comment(0)
H
0

Now the latest version (BumbleBee) fixed this problem.

Hildegaard answered 5/2, 2022 at 17:13 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.