Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio Integration #607

Open
1 task done
NathanC opened this issue Jul 30, 2022 · 0 comments
Open
1 task done

Android Studio Integration #607

NathanC opened this issue Jul 30, 2022 · 0 comments

Comments

@NathanC
Copy link

NathanC commented Jul 30, 2022

Version of the flexbox library

3.0.0


I just downloaded flexbox-layout, and I'm brand new to Android development (just started today), so I might be missing some obvious stuff. I'm trying to use the flexbox layout in Android Studio, and there are 3 separate issues:

  1. The Flexbox Layout does not show up in the Palette in design view. Is there a way to get it to appear there?
  2. Dragging e.g., a TextView from the palette onto an existing flexbox layout doesn't add it to the layout (I need to add it manually in XML). Is there a way to drag and drop onto the layout?
  3. Flex basis percentage attributes cause Android Studio to give an error. It still renders in the viewer properly, but the UI says "invalid fraction" and won't let you update the attribute, requiring doing it in code (which is only a minor inconvenience, just thought I should let you guys know)

image

If you would like me to split these into different issues, let me know. I'm mainly looking for answers to the first 2, so I can use the UI to create new layouts

Thanks for creating this library, it seems really useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant