From 50aacfed3ceb60997c2c9a4cc0f9e6fe6b5ed718 Mon Sep 17 00:00:00 2001 From: 陈奇 <1650699704@qq.com> Date: Mon, 26 Nov 2018 15:17:11 +0800 Subject: [PATCH] [*]修改主页指针跳转动画 --- app/src/main/res/values/styles.xml | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 7131f49..cc97e9e 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,30 +1,41 @@ <resources> <!-- Base application theme. --> - <style name="AppTheme" parent="Base.Theme.Design"> - </style> + <!--<style name="AppTheme" parent="Base.Theme.Design">--> + <!--<item name="android:windowContentTransitions">true</item>--> + <!--</style>--> <!-- Base application theme. --> - <style name="Base.Theme.Design" parent="Theme.AppCompat.Light.NoActionBar"> + <style name="Base.Theme.Design" parent="Theme.AppCompat.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> + <item name="android:windowContentTransitions">true</item> </style> + <style name="AppWelcomeTheme" parent="Base.Theme.Design"> <!-- All customizations that are NOT specific to a particular API-level can go here. --> <item name="android:windowBackground">@mipmap/welcome</item> <item name="android:windowNoTitle">true</item> <item name="android:windowFullscreen">true</item> + <item name="android:windowContentTransitions">true</item> </style> <style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> + <item name="android:windowContentTransitions">true</item> </style> - <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> + <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"> + <item name="android:windowContentTransitions">true</item> - <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> + </style> + + <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"> + <item name="android:windowContentTransitions">true</item> + + </style> <style name="tab_rb_style"> -- Gitblit v1.8.0