CodeAssist icon indicating copy to clipboard operation
CodeAssist copied to clipboard

fix: Convert gravity flags to String properly on XML conversion

Open omeraydindev opened this issue 3 years ago • 2 comments

Fixes a bug where when we save a layout from Layout Preview, Proteus adds unnecessary gravity fields like center|center_horizontal|center_vertical in the XML output.

Copied/ported over from Android Studio's internals.

Marked as draft since Layout Preview feature is currently disabled.

omeraydindev avatar May 28 '22 19:05 omeraydindev

How Can I Get Your Fixed Apk I Am New To Git I Don't Know Much About Git

GamingBoxYT avatar Jun 16 '22 11:06 GamingBoxYT

How Can I Get Your Fixed Apk I Am New To Git I Don't Know Much About Git

There is no point because this PR is currently useless, as the Layout Preview feature is disabled temporarily

https://github.com/tyron12233/CodeAssist/blob/fe8bb4f169993a405b1eb7387992a55e63b8db37/app/src/main/java/com/tyron/code/ui/editor/action/PreviewLayoutAction.java#L57

omeraydindev avatar Jun 16 '22 11:06 omeraydindev