New style to show the hint to the user in Android - android

How to show such kind of hints or instructions for the user, and after tap on this the hints it will be invisible.

Go for the SuperToolTips which is open source and creates a Custom tooltips for the views as per your needs.
You can check out its sample and library HERE

Related

Xamarin.Forms drop down

I am using a picker in Xamarin forms and it looks like a entry box on the page until you tap it and it choices popup. I want to visually tell the user that this is drop down which they can select from. Can I do it using styling? So body suggested using Effects. How do I achieve this?
https://developer.xamarin.com/api/type/Xamarin.Forms.Picker/
This shows what the picker will render as across platforms. As you can see it does not give you an indication of a dropdown. From what I understand you would have to implement a custom renderer for each platform to add any kind of drop down arrow.
Unfortunately xamarin forms picker has simple features. I think try Custom renderer because if you want custom style or effect then use custom renderer and check below link.
https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs

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

how to open combobox on type # in textarea in android 2.2

I am working with android 2.2. i want following functionality how can i achieve this.
I have one textarea and I am writing text in that but when I type # it will open combobox to select value from combo box.
like
can anyone idea about this how can i perform this?
Here is the link for the custom design of PopupWindow. android.widget.PopupWindow can be used to display an arbitrary view. The popup windows is a floating container that appears on top of the current activity. Also here is link for some popWindow usage
Please check here http://developer.android.com/guide/topics/ui/controls/spinner.html, i think you want this:
Anyhow if you want to customize it, you can do it. Thanks

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

How to set a layout using spinner

I want to create a layout like the below picture. How can I set the drop-down like this with cancel option. I am using spinner to show the drop-down but cannot set the layout like this.
Can anyone help me to create a drop-down like this. I also want to create an expand button for a list item which will open the content in a new page. My aim is to set all the available settings in a single page.
Then use PreferenceActivity. In fact, that's a standard preference screen.
http://developer.android.com/reference/android/preference/PreferenceScreen.html
http://jetpad.org/2011/01/creating-a-preference-activity-in-android/
You can take a look at the API Demo app which is in the Android SDK. There you can learn how to create this kind of screens (either from XML or code). It has many advantages... for instance, you won't have to worry about persisting the settings... the OS will do that for you.

Categories

Resources