141 lines
6.8 KiB
XML
141 lines
6.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
|
|
<style name="AppTheme" parent="Base.Theme.NoActionBar">
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
<item name="colorAccent">@color/colorAccent</item>
|
|
<item name="android:colorBackground">@color/background</item>
|
|
<item name="android:windowAnimationStyle">@style/AnimationActivity</item>
|
|
<!-- Status bar color. -->
|
|
<item name="android:statusBarColor">@color/colorPrimary</item>
|
|
</style>
|
|
|
|
<style name="dialog" parent="AppTheme">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
<item name="android:backgroundDimAmount">0.5</item>
|
|
<!--显示区域以外是否使用黑色半透明背景-->
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
</style>
|
|
|
|
<style name="TabLayoutTextStyle">
|
|
<item name="android:textSize">16sp</item>
|
|
</style>
|
|
|
|
<style name="dialog2" parent="AppTheme">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
<!--显示区域以外是否使用黑色半透明背景-->
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
</style>
|
|
|
|
<style name="dialog4" parent="AppTheme">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
<!--显示区域以外是否使用黑色半透明背景-->
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
</style>
|
|
|
|
<style name="dialog3" parent="AppTheme">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
<item name="android:backgroundDimAmount">0.9</item>
|
|
<!--显示区域以外是否使用黑色半透明背景-->
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
</style>
|
|
|
|
<style name="bottomToTopAnim" parent="android:Animation">
|
|
<item name="android:windowEnterAnimation">@anim/bottomview_anim_enter</item>
|
|
<item name="android:windowExitAnimation">@anim/bottomview_anim_exit</item>
|
|
</style>
|
|
|
|
<style name="bottomToTopAnim2" parent="android:Animation">
|
|
<item name="android:windowEnterAnimation">@anim/bottomview_anim_enter_2</item>
|
|
<item name="android:windowExitAnimation">@anim/bottomview_anim_exit_2</item>
|
|
</style>
|
|
|
|
<style name="leftToRightAnim" parent="android:Animation">
|
|
<item name="android:windowEnterAnimation">@anim/left_anim_enter</item>
|
|
<item name="android:windowExitAnimation">@anim/left_anim_exit</item>
|
|
</style>
|
|
|
|
<style name="RightLeftToAnim" parent="android:Animation">
|
|
<item name="android:windowEnterAnimation">@anim/right_anim_enter</item>
|
|
<item name="android:windowExitAnimation">@anim/right_anim_exit</item>
|
|
</style>
|
|
|
|
<style name="groupLast" parent="AppTheme">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">1dp</item>
|
|
<item name="android:layout_marginLeft">15dp</item>
|
|
<item name="android:layout_marginRight">15dp</item>
|
|
<item name="android:background">@color/gray2</item>
|
|
</style>
|
|
|
|
<style name="line2" parent="AppTheme">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">1dp</item>
|
|
<item name="android:background">@color/gray2</item>
|
|
</style>
|
|
|
|
<style name="edit_profile_group" parent="AppTheme">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">45dp</item>
|
|
<item name="android:paddingLeft">15dp</item>
|
|
<item name="android:paddingRight">15dp</item>
|
|
<item name="android:background">@color/white</item>
|
|
</style>
|
|
<style name="edit_profile_group_not_color" parent="AppTheme">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">45dp</item>
|
|
<item name="android:paddingLeft">15dp</item>
|
|
<item name="android:paddingRight">15dp</item>
|
|
|
|
</style>
|
|
|
|
<style name="Theme.PayssionTrans" parent="Theme.AppCompat.Light">
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowFullscreen">true</item>
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
</style>
|
|
<!--关掉Activity转场动画-->
|
|
|
|
<style name="Animation">
|
|
<item name="android:activityOpenEnterAnimation">@null</item>
|
|
<item name="android:activityOpenExitAnimation">@null</item>
|
|
<item name="android:activityCloseEnterAnimation">@anim/out_from_right</item>
|
|
<item name="android:activityCloseExitAnimation">@anim/out_from_right</item>
|
|
<item name="android:taskOpenEnterAnimation">@null</item>
|
|
<item name="android:taskOpenExitAnimation">@null</item>
|
|
<item name="android:taskCloseEnterAnimation">@anim/out_from_right</item>
|
|
<item name="android:taskCloseExitAnimation">@anim/out_from_right</item>
|
|
<item name="android:taskToFrontEnterAnimation">@null</item>
|
|
<item name="android:taskToFrontExitAnimation">@null</item>
|
|
<item name="android:taskToBackEnterAnimation">@anim/out_from_right</item>
|
|
<item name="android:taskToBackExitAnimation">@anim/out_from_right</item>
|
|
</style>
|
|
<!-- 页面弹出(入场出场)动画 -->
|
|
<style name="AnimationActivity" parent="@android:style/Animation">
|
|
<item name="android:activityOpenEnterAnimation">@anim/in_from_right</item>
|
|
<item name="android:activityOpenExitAnimation">@anim/in_from_right_abit</item>
|
|
<item name="android:activityCloseEnterAnimation">@anim/out_to_right_abit</item>
|
|
<item name="android:activityCloseExitAnimation">@anim/out_to_right</item>
|
|
</style>
|
|
</resources> |