---
title: "PopupWindow设置AnimationStyle"
author: "bashenmail"
date: "2010-10-15T14:21:26Z"
tags: []
categories: ["移动开发"]
slug: "popupwindow-animationstyle"
draft: false
lastmod: "2010-10-15T14:21:59Z"
id: 785734
url: "https://bashenmail.iteye.com/blog/785734"
---

```
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="YourAnimationName">
     <item name="android:windowEnterAnimation">@anim/push_up_in</item>
     <item name="android:windowExitAnimation">@anim/push_up_out</item>
</style> 
</resources>
```