values-v21.xml 1.1 KB

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <dimen name="status_bar_height">25dp</dimen>
  4. <style name="AppBaseTheme" parent="Theme.AppCompat.Light.NoActionBar">
  5. <!-- Customize your theme here. -->
  6. <item name="colorPrimary">@color/colorPrimary</item>
  7. <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  8. <item name="colorAccent">@color/colorAccent</item>
  9. </style>
  10. <style name="AppTheme" parent="AppBaseTheme">
  11. <item name="windowNoTitle">true</item>
  12. <item name="android:windowNoTitle">true</item>
  13. <item name="windowActionBar">false</item>
  14. <item name="android:windowTranslucentStatus">true</item>
  15. <!-- 允许使用transitions -->
  16. <item name="android:windowContentTransitions">true</item>
  17. <item name="android:windowAllowEnterTransitionOverlap">true</item>
  18. <item name="android:windowAllowReturnTransitionOverlap">true</item>
  19. <item name="android:windowSharedElementEnterTransition">@android:transition/move</item>
  20. <item name="android:windowSharedElementExitTransition">@android:transition/move</item>
  21. </style>
  22. </resources>