1515 limitations under the License.
1616-->
1717
18- <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
18+ <com .qmuiteam.qmui.widget.QMUIWindowInsetLayout xmlns : android =" http://schemas.android.com/apk/res/android"
1919 android : layout_width =" match_parent"
2020 android : layout_height =" match_parent"
21- android : background =" @color/app_color_theme_4"
2221 android : fitsSystemWindows =" true"
2322 android : orientation =" vertical" >
2423
25- <com .qmuiteam.qmui.widget.QMUITopBar
24+ <FrameLayout
25+ android : layout_width =" match_parent"
26+ android : layout_height =" match_parent"
27+ android : layout_marginTop =" ?attr/qmui_topbar_height"
28+ android : fitsSystemWindows =" true" >
29+ <TextView
30+ android : layout_width =" match_parent"
31+ android : layout_height =" match_parent"
32+ android : background =" @color/qmui_config_color_white"
33+ android : gravity =" center"
34+ android : padding =" 30dp"
35+ android : text =" @string/statusBarHelper_translucentActivity_desc" />
36+ </FrameLayout >
37+
38+ <com .qmuiteam.qmui.widget.QMUITopBarLayout
2639 android : id =" @+id/topbar"
2740 android : layout_width =" match_parent"
28- android : layout_height =" ?attr/qmui_topbar_height" />
41+ android : layout_height =" wrap_content"
42+ android : background =" @color/app_color_theme_4"
43+ android : fitsSystemWindows =" true" />
2944
30- <TextView
31- android : layout_width =" match_parent"
32- android : layout_height =" 0dp"
33- android : layout_weight =" 1"
34- android : background =" @color/qmui_config_color_white"
35- android : gravity =" center"
36- android : padding =" 30dp"
37- android : text =" @string/statusBarHelper_translucentActivity_desc" />
38-
39- </LinearLayout >
45+ </com .qmuiteam.qmui.widget.QMUIWindowInsetLayout>
0 commit comments