brandon-patterson / chemist

A virtual lab assistant
MIT License
0 stars 0 forks source link

Create home page #12

Closed zspatter closed 5 years ago

zspatter commented 5 years ago

Resolves #4

zspatter commented 5 years ago

I've created a skeleton for the app's buttons. I've been having a lot of trouble with the alignment/width of the buttons though. The buttons looked nicer on my emulator within a RelativeLayout, but from what I can tell, a LinearLayout is recommended for handling buttons.

The current implementation doesn't keep the buttons horizontally aligned with one another. Also, there seems to be an issue with text wrapping. I think I may need some input here.

My thinking with this layout is these buttons would be available globally across the app. I'm not sure the proposed features all merit a dedicated button though, so we may want to modify these buttons.

zspatter commented 5 years ago

For reference, this is what the current layout looks like on my emulator:

button

brandon-patterson commented 5 years ago

LGTM!

Not sure what happened, but it looks like your merge didn't resolve all the conflicts. You'll want to merge one last time to make the unit test runner happy. At that point, you've got my blessing to merge this PR into develop!

(Feel free to take another stab at the helper function under discussion, but it's not the end of the world if you leave the file as-is.)