In your AndroidManifest.xml in the application section you can specify
the activity to have a dialog theme. This will create a similar effect
to what you want... then you just style the views to get the
appearance you want (width, height, etc).

<activity android:label="Activity" android:name=".Activity"
android:theme="@android:style/Theme.Dialog"></activity>

On Jul 14, 7:20 pm, Steevan <sephirothl...@free.fr> wrote:
> Hi :)
>
> How can i made an activity with a window "not full screen" ?
>
> Goal is to have a windows like this one 
> :http://developer.android.com/guide/topics/ui/notifiers/toasts.html
> ("Creating a Custom Toast View" section), but i don't want to make a
> toast, because toast's life time is too short for what i want to do.
>
> Thanks

-- 
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