Xml文件  |  49行  |  1.89 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2008 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.
 -->
<alias xmlns:android="http://schemas.android.com/apk/res/android">
    <layer-list_full>
        <layer-list>
            <item><color android:color="#88ffffff">
                <padding android:left="1px" android:top="2px" android:right="3px"
                    android:bottom="4px"/>
            </color></item>
            <item android:drawable="@drawable/testimage"/>
            <item>
                <rotate
                    android:pivotX="50%" android:pivotY="50%"
                    android:fromDegrees="0" android:toDegrees="360"
                    android:drawable="@drawable/testimage"/>
                <padding android:left="4px" android:top="3px"
                    android:right="2px" android:bottom="1px" />
            </item>
            <bitmap android:src="@drawable/testimage"/>
            <item android:id="@id/background"
                android:drawable="@drawable/window_test_drawable" />
        </layer-list>
    </layer-list_full>
    <layer-list_empty>
        <layer-list>
            <bitmap android:src="@drawable/testimage"/>
        </layer-list>
    </layer-list_empty>
    <layer-list_exception>
        <layer-list>
            <item android:id="@id/background"/>
        </layer-list>
    </layer-list_exception>
</alias>