[program-l] Re: trouble with coding more than one Label withXamarin

  • From: "Stefan Moisei" <vortex37@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 21 Nov 2018 21:36:23 +0200

HI,
Try to separate them in some way, for example using different parent layouts 
for each one. Report this to microsoft. If everything else fails and you think 
it is worth it, you can write the UI in native android xml, but you’ll have to 
rewrite the UI for each platform in its own language. This isn’t so bad, 
actually, because it is more efficient and the UI looks more native for each 
pplatform.
From: Jaffar Sidek 
Sent: Wednesday, November 21, 2018 2:06 PM
To: program-l@xxxxxxxxxxxxx 
Subject: [program-l] trouble with coding more than one Label withXamarin

Hi.  I am having an issue with Xamarin Forms.  If I try to put more than 1 
Label text on my form, the result when I run it on my Android device is that 
both labels appear together as one text block, so that Talkback reads both 
labels as if they were one.

for example, I have 2 separate labels requiring the user to enter his/her 
birthday and address using the DatePicker and the Editor.

For example:

<Label Text="Enter your birth date using the Date Picker"></Label>

<DatePicker></DatePicker>

<Label Text="Fill in your current address:"></Label>

<Editor></Editor>

And the text from the 2 separate labels appear as one on android, though I 
haven't tested with Iphone or Windows phone.  Any help is greatly appreciated.  
Cheers!

Other related posts: