On Mon, Sep 26, 2011 at 3:33 PM, John Goche <johngoch...@googlemail.com> wrote:
> I tried following this approach and putting the following in my
> AndroidManifest.xml:
>
>     <activity android:name=".AlarmExpiredActivity"
>     android:theme="@android:style/Theme.Dialog">
>
> but then the window is really small, the size of a toast or so, and I cannot
> get it to
> display the button from the XML file, so the user cannot click on it and
> cannot scroll.
> Is there a way to have a scrollbar in this theme or make the dialog big
> enough so the
> user can see the button below the message?

Last I tried Theme.Dialog, it was sized to fit the View supplied to
setContentView(). I don't use Theme.Dialog much, sorry.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to