Files
android_development/samples/MultiDisplay/res/xml/wallpaper.xml
wilsonshih a46f0248c4 Provide a sample of multi-display wallpaper.
Some key events to build a wallpaper which can support
multiple display.
- The rendering or event handler of each engine must be
independent.
- Set supportsMultipleDisplays attribute to true.
- Use Engine#getDisplayContext to load resource if
needed.

Bug: 129696884
Test: launch wallpaper and check on multi display.
Change-Id: I3c60caba921e0af3d5f681ed318a543328e3375a
2019-04-18 18:22:05 +08:00

22 lines
852 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2019 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<wallpaper
xmlns:android="http://schemas.android.com/apk/res/android"
android:description="@string/wallpaper_description"
android:supportsMultipleDisplays="true"
/>