Picker value popup open twice - xamarin.forms

I am using Xamarin.Forms.Picker to show country list. It works properly in normal scenario. I have kept the one (downarrow.png) image, if user click on the image then I run below code to open select picker value. The problem is that it works but show picker value selection popup twice if user click on image. This problem occurred only in Android platform.
picker.focus()
Additional Information :
Xamarin.Forms version : 3.4.0.1008975

Related

Xamarin picker-unexpected behaviour in UWP

I am experiencing unexpected behavior with picker control on Xamarin UWP when it has lots of items in it.
When the application loads, the picker does not have any selected values. And then, after clicking on the picker, it opens the item panel, but the scroll remains in the middle of the panel, while we expected the scroll to stay at the beginning of the list.
I have attached Screenshot for get an idea of the issue.
If anyone has any clues on this, please share them with me.
enter image description here
I'm expecting to remain the scroller of the picker in the beggining of the item list when its loads.

How to display ngx-timepicker-field timepicker next to a div , instead of showing it as a pop up

I want to display a time picker in my application in which either user can enter the time manually or pick it from a time picker.
And for this, I am using the ngx-timepicker-field and it works perfectly fine.
The issue is instead of showing the time picker pop up in the middle of the page is there any option available to show it near to the input filed or a div. similar to appends to input option available for ngx-material-timepicker
Reference link: https://agranom.github.io/ngx-material-timepicker/
Any help would be highly appreciated.
Thanks

Xamarin Forms time picker without pop-up?

Currently in both iOS and android the time picker works like this: you have a time field, and when you tap it, the time picker pops up and you make your selection.
What I’m trying to find out, in Xamarin forms, is if you can expose the time picker itself as part of the main page’s UI, and not as part of a pop-up. So that you can set the time right on the existing UI without having to load another.
Is that possible?

unable to click element using xpath and resource id

hi i am using robot framework for mobile app auotmation, i have used all posiible types of xpath and id but still i am unable to click an element in my mobile app.
attched relevant screenshotscreen shot of the app screen
please help in this.. i want to click on get started button but i am unable to do so. i have used the following it is not working
Wait Until Keyword Succeeds 1 min 5 sec Click Element xpath=//*[#class='android.widget.TextView' and #index='0']
Click Element id=sr_get_started

opening google map fragment on button click in android studio

I would like to create an app in Android Studio that has a Button in Main Activity and when i clicks this button, it should open a google map with my customized lat,lng markers and camera functions as an another activity. I tried this one by creating a Button in the Main Activity.XML and wrote buttonOnClickListener() by specifying Intent that MainActivity.this,Mapfragment.class.For this I selected GoogleMaps as my start Activity instead of blank activity at starting of my project. And also for this MapFragment, I got Google maps API key. But when I run this App on my android mobile, it simply opening google map with my customized lat,lng instead of showing my Main Activity which is having a Button in it. I am confused with this, can anyone help me out of this problem.Thank You
Yes, I got it. I tried to solve this problem and got a solution for it. Initially as I said, at the starting of my project I selected a google map activity instead of blank activity. So now, to get a Button in my Main activity, I have created a MainActivity.XML in Layout folder and added a Button to it. Then, for this MainActivity.XML file corresponding .Java class was created and specified the MainActivity.XML in it and declared the Button and wrote OnClickListener for Button, so that when the Button clicks it should open my google map fragment with customized location. Importantly, we should specify this mainactivity.java in the Manifest.XML as an Activity specifying it as a Launcher activity in the Application. Now, run the app and first it displays MainActivity with a Button and now when I clicks it, it opens my google map fragment activity with the help of Intent.

Resources