Repository navigation
Show the portrait dialog screenshot at the landscape one's proportions - #361
Merged
Merged
Conversation
The two dialog screenshots sat one above the other in the README at different shapes: the landscape one across the column, the portrait one narrow and tall. The portrait dialog is now rendered at a phone's width on a canvas in the landscape screenshot's 32:15 proportion, so both span the column at one height and differ only in the dialog's layout. Pinned to 392 dp, a 440 dp phone less its dialog window's margins, since on so wide a canvas the dialog would otherwise take Material's 560 dp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README's two dialog screenshots had different shapes: the landscape one across the column, the portrait one narrow and tall. The portrait dialog is now rendered at a phone's width on a canvas in the landscape screenshot's 32:15 proportion (2048 × 960 dp beside 1280 × 600), so both span the column at one height and differ only in the dialog's layout. Builds on #360.
The dialog is pinned to 392 dp, a 440 dp phone less its dialog window's margins: on a canvas that wide it would otherwise take Material's 560 dp. The reference's file name carries a hash of the preview's size, so it is renamed; with its content wholly new, git shows the rename as a delete and an add.