1<?xml version='1.0' encoding="utf-8"?> 2<!-- 3 * Copyright (c) 2022 Huawei Device Co., Ltd. 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 --> 16<Configs> 17 <!--decor enable is true means app main window show decoration--> 18 <decor enable="false"> 19 <!--supportedMode could be configed as fullscreen, floating, split or the combination of them--> 20 <supportedMode>floating fullscreen</supportedMode> 21 </decor> 22 <!--max number of main window that could be shown on display--> 23 <maxAppWindowNumber>100</maxAppWindowNumber> 24 <!--minimizeByOther enable is true means fullscreen window will be minmized by other fullscreen window--> 25 <minimizeByOther enable="true"></minimizeByOther> 26 <!--window mdoe change hot zones config, fullscreen primary secondary--> 27 <modeChangeHotZones>50 50 50</modeChangeHotZones> 28 <!--stretchable enable is true means all window be stretchable--> 29 <stretchable enable="false"></stretchable> 30 <!--exit split screen mode ratio config--> 31 <exitSplitRatios>0.1 0.9</exitSplitRatios> 32 <!--split screen ratios config--> 33 <splitRatios>0.5 0.33 0.67</splitRatios> 34 <!--default window mode config--> 35 <defaultWindowMode>1</defaultWindowMode> 36 <!--window animation config--> 37 <windowAnimation> 38 <timing> 39 <!--duration of animation when add/remove window, unit is ms--> 40 <duration>350</duration> 41 <!--timing curve of animation, config it as below: 42 name=ease, easeIn, easeOut, easeInOut, default, linear, 43 spring, interactiveSpring, cubic(float float float float)--> 44 <curve name="easeOut"></curve> 45 </timing> 46 <!--scaleX and scaleY of animation start state--> 47 <scale>0.7 0.7</scale> 48 <!--rotation of animation start state, 4 numbers is axis and angle--> 49 <rotation>0 0 1 0</rotation> 50 <!--translateX and translateY of animation start state--> 51 <translate>0 0</translate> 52 <!--opacity of animation start state--> 53 <opacity>0</opacity> 54 </windowAnimation> 55 <!--keyboard animation config--> 56 <keyboardAnimation> 57 <timing> 58 <!--duration of animation when add keyboard, unit is ms--> 59 <durationIn>150</durationIn> 60 <!--duration of animation when remove keyboard, unit is ms--> 61 <durationOut>150</durationOut> 62 <!--friction curve--> 63 <curve name="cubic">0.2 0.0 0.2 1.0</curve> 64 </timing> 65 </keyboardAnimation> 66 <!--startWindowTransitionAnimation enable is true means startWindow replace with alpha animation--> 67 <startWindowTransitionAnimation enable="false"> 68 <timing> 69 <!--duration of animation when add/remove window, unit is ms--> 70 <duration>200</duration> 71 <!--timing curve of animation, config it as below: 72 name=ease, easeIn, easeOut, easeInOut, default, linear, 73 spring, interactiveSpring, cubic(float float float float)--> 74 <curve name="linear"></curve> 75 </timing> 76 <!--opacity of animation start state--> 77 <opacityStart>1</opacityStart> 78 <!--opacity of animation end state--> 79 <opacityEnd>0</opacityEnd> 80 </startWindowTransitionAnimation> 81 <!--enable/disable remote animation--> 82 <remoteAnimation enable="true"></remoteAnimation> 83 <!--window effect config--> 84 <windowEffect> 85 <appWindows> 86 <cornerRadius> 87 <!--off: no corner, defaultCornerRadiusXS: 4vp, defaultCornerRadiusS: 8vp--> 88 <!--defaultCornerRadiusM: 12vp, defaultCornerRadiusL: 16vp, defaultCornerRadiusXL: 24vp--> 89 <fullScreen>off</fullScreen> 90 <split>off</split> 91 <float>off</float> 92 </cornerRadius> 93 <shadow> 94 <focused> 95 <elevation>0</elevation> 96 <color>#000000</color> 97 <offsetX>0</offsetX> 98 <offsetY>0</offsetY> 99 <alpha>0</alpha> 100 </focused> 101 <unfocused> 102 <elevation>0</elevation> 103 <color>#000000</color> 104 <offsetX>0</offsetX> 105 <offsetY>0</offsetY> 106 <alpha>0</alpha> 107 </unfocused> 108 </shadow> 109 </appWindows> 110 </windowEffect> 111</Configs> 112