FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TitleView in ActionBar not taking full width in android 5.1 · Issue #616 · NativeScript/NativeScript · GitHub

TitleView in ActionBar not taking full width in android 5.1 #616

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL