I would like to be able to reference the elements created after compiling a Xamarin Forms application into Android.
Example Code:
<Entry Placeholder="Username"
Text="{Binding UserName, Mode=TwoWay}"
x:Name="UsernameEntry"
x:Key="UsernameEntry" />
<Entry Placeholder="Password"
IsPassword="True"
Text="{Binding Password, Mode=TwoWay}"
x:Name="PasswordEntry"
x:Key="PasswordEntry" />
<Button Text="{extensions:Translate LogIn}"
Command="{Binding LoginUserCommand}"
x:Name="LoginButton"
x:Key="LoginButton" />
From what I can see what is generated in the way of Elements is as so:
android:id/content/RelativeLayout[0]/PlatformRenderer[0]/NavigationPageRenderer[0]/PageContainer[0]/PageRenderer[0]/Platform_DefaultRenderer[0]/Platform_DefaultRenderer[1]/EntryRenderer[0]/FormsEditText[0]
android:id/content/RelativeLayout[0]/PlatformRenderer[0]/NavigationPageRenderer[0]/PageContainer[0]/PageRenderer[0]/Platform_DefaultRenderer[0]/Platform_DefaultRenderer[1]/EntryRenderer[1]/FormsEditText[0]
android:id/content/RelativeLayout[0]/PlatformRenderer[0]/NavigationPageRenderer[0]/PageContainer[0]/PageRenderer[0]/Platform_DefaultRenderer[0]/Platform_DefaultRenderer[1]/ButtonRenderer[2]/AppCompatButton[0]
Which is not usable, I just want to be able to name the resources as so:
UsernameEntry
PasswordEntry
LoginButton
and then reference them.
Use Cases:
- Firebase Testing:
- Play Store Pre-Launch Reports:
I feel like this should be easy to do but I have spent a good part of a day looking and found nothing any help would be much appreciated.

