1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <resources>
- <!--
- Base application theme, dependent on API level. This theme is replaced
- by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
- -->
- <style name="AppBaseTheme" parent="android:Theme.Light">
- <!--
- Theme customizations available in newer API levels can go in
- res/values-vXX/styles.xml, while customizations related to
- backward-compatibility can go here.
- -->
- </style>
- <!-- Application theme. -->
- <style name="AppTheme" parent="AppBaseTheme">
- <!-- All customizations that are NOT specific to a particular API-level can go here. -->
- </style>
- <!-- popup window 显示消失动画-->
- <style name="PopWindowAnimStyle">
- <item name="android:windowShowAnimation">@anim/dialog_enter</item>
- <!-- 指定显示的动画xml -->
- <item name="android:windowHideAnimation">@anim/dialog_exit</item>
- <!-- 指定消失的动画xml -->
- </style>
- <style name="TransDialogStyle" parent="@android:style/Theme.Dialog">
- <item name="android:windowFrame">@null</item>
- <item name="android:windowIsFloating">true</item>
- <item name="android:windowIsTranslucent">true</item>
- <item name="android:windowNoTitle">true</item>
- <!-- <item name="android:background">@android:color/transparent</item> -->
- <item name="android:background">@android:color/transparent</item>
- <item name="android:windowBackground">@android:color/transparent</item>
- <item name="android:backgroundDimEnabled">true</item>
- <item name="android:backgroundDimAmount">0.5</item>
- <item name="android:windowFullscreen">true</item>
- </style>
- <style name="WhiteDialogStyle" parent="@android:style/Theme.Dialog">
- <item name="android:windowFrame">@null</item>
- <item name="android:windowIsFloating">true</item>
- <item name="android:windowIsTranslucent">true</item>
- <item name="android:windowNoTitle">true</item>
- <!-- <item name="android:background">@android:color/transparent</item> -->
- <item name="android:background">@android:color/transparent</item>
- <item name="android:windowBackground">@drawable/popup_bg</item>
- <item name="android:backgroundDimEnabled">true</item>
- <item name="android:backgroundDimAmount">0.5</item>
- <item name="android:windowFullscreen">true</item>
- </style>
- <!-- my loading dialog -->
- <style name="MyDialogStyle">
- <item name="android:windowBackground">@android:color/transparent</item>
- <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:windowContentOverlay">@null</item>
- <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
- <item name="android:backgroundDimEnabled">true</item>
- </style>
- <style name="SearchDeviceTransparent" parent="@android:style/Theme.Dialog">
- <item name="android:windowBackground">@android:color/transparent</item>
- <item name="android:windowNoTitle">true</item>
- <item name="android:windowFullscreen">true</item>
- <item name="android:windowIsTranslucent">true</item>
- <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
- <item name="android:gravity">center</item>
- </style>
- <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.Material.ProgressBar.Horizontal">
- </style>
- <style name="TransparentTheme" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
- <!-- <item name="android:windowAnimationStyle">@null</item>-->
- <!-- <item name="android:windowBackground">@android:color/transparent</item>-->
- <!-- <item name="android:windowIsTranslucent">true</item>-->
- <!-- <item name="android:windowTranslucentStatus">true</item>-->
- </style>
- </resources>
|