Android Studio: What does the blueprint area do? What benefit is it?

后端 未结 2 559
天命终不由人
天命终不由人 2021-01-12 16:30

I\'m working through Android layout and I know there is this new(er) thing call Blueprint. I\'m wondering what the Blueprint view offers.

What I\'ve Tried<

相关标签:
2条回答
  • 2021-01-12 17:02

    AFAIK there really isn't any 'huge' advantage to the blueprint view. It provides a wireframe view of your design.

    There are a few cases where it comes in useful though, for example,

    • If your View is invisible, it won't be seen in the preview but it will visible in the blueprint view.
    • Overlapping views are more clearly visible and identifiable.
    • It provides a more clutter-free view where the constraints and views are more immediately identifiable.
    • It's also used to be useful for preview of components that are 'invisible' (for example, imageview who's src get set programmatically).
    • Rendering the blueprint view is faster. (As pointed out by Martin Marconcini in the comments)
    0 讨论(0)
  • 2021-01-12 17:11

    Its shows you only how the view looks like

    0 讨论(0)
提交回复
热议问题