How many WindowInsets are there?

前端 未结 2 930
迷失自我
迷失自我 2021-02-19 02:28

I do not understand about WindowInsets rects, because docs says that:

The system window inset represents the area of a full-screen window that is partiall

2条回答
  •  盖世英雄少女心
    2021-02-19 03:18

    There is only one type of WindowInsets which describes a set of insets for window content. since it is immutable and may be expanded to include more inset types in the future. you can create more instance of it. and you can also get the left,right etc insets of WindowInsets in pixels with methods like getStableInsetBottom() etc.

提交回复
热议问题