Xml文件  |  16行  |  916 B

<resources>
    <style name="Theme.Example.Leanback" parent="Theme.Leanback">
        <item name="android:colorPrimary">@color/search_opaque</item>
        <item name="android:windowEnterTransition">@android:transition/fade</item>
        <item name="android:windowExitTransition">@android:transition/fade</item>
        <item name="android:windowSharedElementExitTransition">@android:transition/move</item>
        <item name="android:windowSharedElementEnterTransition">@android:transition/move</item>
        <!-- Set to display colorPrimary when apps launches -->
        <item name="android:windowAllowReturnTransitionOverlap">true</item>
        <item name="android:windowAllowEnterTransitionOverlap">false</item>
        <item name="android:windowContentTransitions">true</item>
    </style>
    <style name="Widget.Example.Leanback.Title.Text" parent="Widget.Leanback.Title.Text" >
    </style>
</resources>