Skip to content

Conversation

@SUPERCILEX
Copy link
Collaborator

@samtstern While working on #711 the auto formatting was doing everything alphabetically which makes no sense with ConstraintLayout since constraintBottom_... would end up first and constraintTop_... would end up last. This PR updates the style guide so that everything is ordered the following way (including android:layout... and android:padding...):

  1. left
  2. right
  3. top
  4. bottom

@SUPERCILEX
Copy link
Collaborator Author

Oh and I also made the style guide add a space to the end of a tag since that seems to be the convention.

@samtstern
Copy link
Contributor

Thanks for this! Just FYI I want to leave this until after version 2.0 since it touches a lot of files and is just cosmetic.

@SUPERCILEX
Copy link
Collaborator Author

@samtstern yup, makes sense!

# Conflicts:
#	auth/src/main/res/drawable/idp_button_background_facebook.xml
#	auth/src/main/res/drawable/idp_button_background_twitter.xml
@SUPERCILEX SUPERCILEX changed the base branch from version-2.0.0-dev to master June 12, 2017 20:01
@SUPERCILEX
Copy link
Collaborator Author

@samtstern Ok, merged from master!

@samtstern
Copy link
Contributor

Gonna merge this one into master since it has no functional changes.

@samtstern samtstern merged commit 20ca9a6 into firebase:master Jun 12, 2017
@SUPERCILEX SUPERCILEX deleted the style-guide branch June 13, 2017 01:00
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

Successfully merging this pull request may close these issues.

2 participants