I am using genymotion emulator with android 5.1 OS.
I have create a simple app with custom titleView in actionbar.
Code for the page is as shown below:
<Page xmlns="http://www.nativescript.org/tns.xsd"
navigatedTo="navigatedTo" >
<Page.actionBar>
<ActionBar>
<ActionBar.titleView>
<GridLayout columns="*" style="background-color: blue;">
</GridLayout>
</ActionBar.titleView>
</ActionBar>
</Page.actionBar>
<Label text="Hello world" />
</Page>
Above code gives output as shown below:

I tested this code on Android 4.2 and Android 4.4. It is working fine and taking full width of the actionbar.
But, in Android 5.1 it is not taking full width of the actionbar.
Can you help me out with this.
Reactions are currently unavailable
I am using genymotion emulator with android 5.1 OS.
I have create a simple app with custom titleView in actionbar.
Code for the page is as shown below:
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="navigatedTo" > <Page.actionBar> <ActionBar> <ActionBar.titleView> <GridLayout columns="*" style="background-color: blue;"> </GridLayout> </ActionBar.titleView> </ActionBar> </Page.actionBar> <Label text="Hello world" /> </Page>Above code gives output as shown below:

I tested this code on Android 4.2 and Android 4.4. It is working fine and taking full width of the actionbar.
But, in Android 5.1 it is not taking full width of the actionbar.
Can you help me out with this.