Floating window in android - android

i have seen in android 2.2 that on click of the contact a floating window appear with the mail message and call.Is this a widget or dialog in android or something implemented by activity.
Kindly help me to suggest any tutorial.
Regards
Deepak goel

A floating window in Android is, generally, a Dialog or Dialog sub-class. You can also style a standard activity to look like a dialog using themes. Please refer to the official android documentation here:
http://developer.android.com/guide/topics/ui/dialogs.html

I'm not sure what you are talking about. If you are talking about Alerts/Dialogs refer this link on how to do alert boxes (which is again kinda floating on top of the activity )

Related

Special Alert Dialog in Android

I am trying to create an alert dialog as shown below.
I don't know if there is any special name for this. I want to create this kind of Alert Dialog for my android application. Can Someone help me in achieving this?
EDIT: (after Dmytro Batyuk's Clarification)
I want to create this kind of popup window to create a tutorial walk-through for my android application. Any help appreciated.
Are you asking about PopupWindow ?
Updated:
you need to look at PopupWindow implementation and if it has such style - feel free to use. Otherwise you need to implement your own style.
Also you can google different existing implementation if you think it's hard for you and modify them

How Can I use This Webview Bar? - Android Stdiuo

How can I make a bar like the one in the picture? I'd appreciate it if you told me.
Name of the application in the picture: Google Mail
It's very simple. I assume you are new to android. But this type of View you can make just by Dialog or Menu View and also there are other way also to make it. but for you I suggest you use Dialog.

Best Way to Implement Window + Multiline Text in Android

I'm really new to Android development. I have no idea what search keyword should I use for this.
Is it possible to create something like this in Android?
What component should I use for the window and also the text?
Thank you very much!
You could re-style an AlertDialog for the window (see the guide). Text is normally shown in a TextView.
For setting the TextView to multi-line, there is the android:inputType-attribute.

Android: custom a menu create

I don't know which type of this menu. can anyone help me.
I want to create menu like this screen. When i click the button then pop-up the menu like this. I don't know how to achieve this. i do not know what type of this menu. and can it run on android 2.2?
Current popup menu called QuickAction Dialog in Android. you can customize it According to you need. see following good tutorial for creating QuickAction View in Android:
How to Create QuickAction Dialog in Android
Quick Actions Android
This is Quick Action 3d. Checkout source and example from here :)
This is not exactly a custom dialog. But, yes it is still a customized view. And it is more or less called Quick Action Dialog in android. I would suggest you to follow the tutorials below for generating an exactly same popover (or even better) with Android. Check the screenshot also.
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
https://github.com/lorensiuswlt/NewQuickAction3D
Reference

Make a spinner-like dropdown box from a button?

I was trying to figure out how to create this style used in Google Now, how the "Settings" appears to be a Spinner drop-down box but does not use the typical Spinner design:
Any ideas/suggestions on how to emulate this?
Thanks!
This is called pop up menu. It is implemented in apidemos for example.
Did you look at the example of ApiDemos->Views->popup menu. This may be appropriate. Attached screenshot for your reference. Pop up menu is available since API 11. Ref.
http://developer.android.com/reference/android/widget/PopupMenu.html
or
This could be useful too
http://i.stack.imgur.com/AiAOg.png
You can get the Library from: https://github.com/JakeWharton/ActionBarSherlock
or
If you want to display icon along with menu items then I recommend to visit this post,
Please refer to this solution stackoverflow.com/a/11765787/1143977

Categories

Resources