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

ListView with rounded items can not show the background of Page · Issue #1290 · NativeScript/NativeScript · GitHub

ListView with rounded items can not show the background of Page #1290

Description

Hi all,

I want to make a ListView and its items is rounded. The round part should show the background of the Page. But I get a round part with White.

xml:

<Page xmlns="http://www.nativescript.org/tns.xsd" backgroundColor="#FF00FF00">
    <ListView items="[[" marginTop="20" backgroundColor="#00000000">
      <ListView.itemTemplate>
          <Label text="AABBCC" verticalAlignment="stretch" backgroundColor="#30000000" style="text-align:center; border-width:1; border-radius:20"/>
      </ListView.itemTemplate>
    </ListView>
</Page>

Result:

How can I set the color of white part to GREEN ?

Regards.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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