What does this attribute really do?
I've read the documentation and I understand what it's supposed to be. However, when I use it in a theme (I created a style with the android:Theme.Dialog
as the parent), changing the value for this attribute doesn't seem to have any effect.
I don't know all of the effects of setting windowIsFloating
to true
, but one thing that I noticed is that when it is set to true
, the activity would not expand the width to fill the screen, even if you set the layout width to match_parent
(i.e. android:layout_width="match_parent"
)