Xamarin.Forms drop down - android

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

Related

Android - use spinner default drop shadow

I've created my own android drop down list (spinner). Its custom made by using a popupWindow(...). Now i would like to style it accordingly. I'd like to apply the same styles that a spinner drop down has or even another kind of drop down. Im especially in need of shadow effects and drop shadows that show up after the native spinner is rendered.
Anyone know of a style i can apply to get this without building my own drop shadow which might not be identical to the native set ?
found one that works the way i want. Seems it puts a drop shadow similar to an alert dialog:
android:background="#android:drawable/dialog_holo_light_frame"

New style to show the hint to the user in 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

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

Android Dropdown List (iPhone style)

Could anyone tell me either what this widget is or how it could be recreated? I'm having to port over a iPhone app, and my boss wants me to make it look as similar as possible, but while using android controls. Here is a picture of it in Android:
http://cdn3.staztic.com/screenshots/android-swim-32-2.jpg
Thanks!
It is not a standard thing, but for this purpose, there is a: QuickAction dialog.
this can be done with a PopupWindow (it can also be shown as dropdown) where the background is a custom nine-patch file and the content is a listview (or any other view that fits your needs).
I'm sure that GreenDroid Library can do this but I don't know the name of the class to use

Categories

Resources