Odd. May be related to my use of a drawable.xml for the dialog window
background:
*AndroidManifest.xml entry:*
<activity
android:name=".RulesActivity"
android:theme="@style/RoundedCornerDialog"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
>
</activity>
*styles.xml entry:*
<style name="RoundedCornerDialog" parent="android:Theme.Dialog">
<item name="android:windowBackground">@drawable/rounded</item>
<item name="android:windowCloseOnTouchOutside">false</item> <!--
API level 11 -->
</style>
*rounded.xml:*
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners android:radius="15dp" />
<solid android:color="#565656" />
<stroke
android:width="3dp"
android:color="#ffffff" />
<padding
android:bottom="16dp"
android:left="16dp"
android:right="16dp"
android:top="16dp" />
</shape>
I'd be curious to know if you still don't see it. Maybe there is something
else I'm doing.
On Friday, December 14, 2012 3:45:32 PM UTC-6, Mark Murphy (a Commons Guy)
wrote:
>
> On Fri, Dec 14, 2012 at 4:32 PM, Blake B. <[email protected]<javascript:>>
> wrote:
> > Well, this may not be a problem on older APIs after all. I was testing
> on
> > 4.x devices (Moto Xoom and Samsung GSIII) and touch events outside of
> the
> > dialog (the Activity using Theme.Dialog) cause the dialog activity to be
> > cancelled and the events do get passed back to the background activity.
>
> Curiously, I can't reproduce that behavior on a 4.1 emulator, or a
> Nexus S, or a Galaxy Nexus.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Aqui estão alguns sites onde você pode perguntar ou responder dúvidas
> sobre desenvolvimento de aplicações para Android:
> http://www.andglobe.com
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en