I was testing the custom title view example written here:
If I take it as it is it works (even if the
title attribute in the
ActionBar is not needed) but if you put
stretch="none" to the image or if I remove the image completely, it is shown correctly when the view is opened but on rotation the text goes on the right, and stays there even if I rotate the phone back in portrait.
This is the sample code:
<ActionBar> <StackLayout orientation="horizontal" ios:horizontalAlignment="center" android:horizontalAlignment="left"> <Label text="NativeScript" class="action-label"></Label> </StackLayout> </ActionBar>
It looks like a bug, any idea?