diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-09-24 17:44:36 -0700 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-09-24 17:45:28 -0700 |
commit | cef4defac47213905f8bc5677dad53fb60c2ee83 (patch) | |
tree | afb84471d2f0e23f1c136c9202841ddb8c664928 /res/values/styles.xml | |
parent | c7e5e484f83da0d44b8f1d5639a8bfb2f53db469 (diff) | |
download | LegacyCamera-cef4defac47213905f8bc5677dad53fb60c2ee83.zip LegacyCamera-cef4defac47213905f8bc5677dad53fb60c2ee83.tar.gz LegacyCamera-cef4defac47213905f8bc5677dad53fb60c2ee83.tar.bz2 |
Disable animation for Camera and VideoCamera activities so the switch does not cause animation.
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r-- | res/values/styles.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 3a2f26c..c6de7f7 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -70,8 +70,16 @@ <item name="android:orientation">vertical</item> <item name="android:gravity">top|center_horizontal</item> <item name="android:layout_height">wrap_content</item> - <item name="android:layout_width">fill_parent</item>> + <item name="android:layout_width">fill_parent</item> </style> <style name="Theme.DeleteImageDialog" parent="android:style/Theme.Dialog.Alert"> </style> + <style name="NoEnterExitAnimation"> + <item name="android:windowEnterAnimation">@null</item> + <item name="android:windowExitAnimation">@null</item> + </style> + <style name="CustomTheme" + parent="@android:style/Theme.Black.NoTitleBar.Fullscreen"> + <item name="android:windowAnimationStyle">@style/NoEnterExitAnimation</item> + </style> </resources> |