Skip to content

Conversation

mzorz
Copy link
Contributor

@mzorz mzorz commented Dec 3, 2018

This PR removes the AztecToolbar from GutenbergEditorFragment.

@mzorz mzorz added this to the 11.4 ❄️ milestone Dec 3, 2018
@mzorz mzorz requested a review from hypest December 3, 2018 14:31
android:layout_width="match_parent">

<org.wordpress.aztec.toolbar.AztecToolbar
android:id="@+id/formatting_toolbar"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems we can remove the layout_above from the LinearLayout below too. While at it, it seems that the root RelativeLayout has no other children than the LinearLayout itself so, wdyt about removing one or the other?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right! removed the now unneeded wrapping RelativeLayout in afcf44a


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aztec="http://schemas.android.com/apk/res-auto"
Copy link
Contributor

@hypest hypest Dec 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: let's remove the now unused namespace declaration, wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 addressed in d16d1e9

Copy link
Contributor

@hypest hypest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hypest hypest self-assigned this Dec 3, 2018
@hypest hypest merged commit fccfd33 into develop Dec 3, 2018
@hypest hypest deleted the remove/aztec-toolbar-in-gutenberg-editor branch December 3, 2018 16:08
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