- Home
- Forum
- Xamarin.Forms
- I need the Android resource ID / Android resource name for my BorderlessEntry controls
I need the Android resource ID / Android resource name for my BorderlessEntry controls
Hi, I am using Syncfusion in a Xamarin application. I am using BorderlessEntries for a login ID and password. I am publishing my Android project on the Google Play Store and Google wants to know the Android resource ID / Android resource name for the entries so it can automate a test of my application. I am using Visual Studio and I have not been able to determine the Android resource IDs of these controls. Please tell me what I need to do. It is holding up the publishing of my application. I appreciate your help. Thanks. Steven Scearce [email protected]
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
YP
Yuvaraj Palanisamy
Syncfusion Team
January 4, 2021 12:33 PM UTC
Hi Steven Scearce,
Greetings from Syncfusion.
We have analyzed your query and we have used the BorderlessEntry in our Xamarin.Forms Essential UI Kit which is inherited from Xamarin.Forms Entry and make customization by using custom renderer. And also you can get the Android resource id as like Xamarin.Forms Framework Entry control.
For more details about the complete source, please find the below link for your reference
Regards,
Yuvaraj.
SS
Steven Scearce
January 6, 2021 04:35 PM UTC
Thank you for responding. I viewed the links that you sent, they show your source code however they do not indicate how I can get the Android resource ID for my instance the the control. The Google Play Store requests that resource ID of my two BorderlessEntry controls so it can automate its testing. Please tell me how to find out the Android resource ID of my two BorderlessEntry controls. I realize that you said I can get them "as like Xamarin.Forms Framework Entry control" but I do not know how to get the Android resource ID of the Xamarin.Forms Framework Entry control. Please explain how I can get it. Thank you.
YP
Yuvaraj Palanisamy
Syncfusion Team
January 7, 2021 01:44 PM UTC
Hi Steven Scearce,
On further analysis we can get the android UI element resource id with the help of UIAutomatorViewer. Please find the below link for more details about UIAutomatorViewer tool.
And you can get the id when we set StyleId of UI element in Xamarin.Forms. For more details please refer the below link.
Also, AppCenter allows to automated user interface test for both Android & iOS using AutomationId of Xamarin.Forms UI element.
Regards,
Yuvaraj.
Marked as answer
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
- Marked answer
-
SS Steven Scearce
- Jan 2, 2021 12:44 AM UTC
- Jan 7, 2021 01:44 PM UTC