{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3218","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3218/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3218/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3218/events","html_url":"https://github.com/NativeScript/NativeScript/issues/3218","id":192791751,"number":3218,"title":"ListPicker foreground color doesnt change","user":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"labels":[{"id":203690377,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/Android","name":"Android","color":"c7def8","default":false},{"id":243876040,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/css","name":"css","color":"1572B6","default":false},{"id":203690306,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/iOS","name":"iOS","color":"fbca04","default":false},{"id":203688367,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/T:Feature","name":"T:Feature","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"zh-m","id":17438369,"avatar_url":"https://avatars.githubusercontent.com/u/17438369?v=3","gravatar_id":"","url":"https://api.github.com/users/zh-m","html_url":"https://github.com/zh-m","followers_url":"https://api.github.com/users/zh-m/followers","following_url":"https://api.github.com/users/zh-m/following{/other_user}","gists_url":"https://api.github.com/users/zh-m/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-m/subscriptions","organizations_url":"https://api.github.com/users/zh-m/orgs","repos_url":"https://api.github.com/users/zh-m/repos","events_url":"https://api.github.com/users/zh-m/events{/privacy}","received_events_url":"https://api.github.com/users/zh-m/received_events","type":"User","site_admin":false},"assignees":[{"login":"zh-m","id":17438369,"avatar_url":"https://avatars.githubusercontent.com/u/17438369?v=3","gravatar_id":"","url":"https://api.github.com/users/zh-m","html_url":"https://github.com/zh-m","followers_url":"https://api.github.com/users/zh-m/followers","following_url":"https://api.github.com/users/zh-m/following{/other_user}","gists_url":"https://api.github.com/users/zh-m/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-m/subscriptions","organizations_url":"https://api.github.com/users/zh-m/orgs","repos_url":"https://api.github.com/users/zh-m/repos","events_url":"https://api.github.com/users/zh-m/events{/privacy}","received_events_url":"https://api.github.com/users/zh-m/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-01T09:19:24Z","updated_at":"2016-12-02T09:54:34Z","closed_at":null,"body":"_From @u14040426 on November 22, 2016 15:24_\n\nHi I am having a problem, where my listpicker cant change the color of the text, it remains the default black. I would like it to be white, as the background is dark.\r\n\r\nexample.html\r\n```html\r\n<StackLayout class=\"background\">\r\n    <Label class=\"heading-labels\" text=\"Gender\" textWrap=\"true\" horizontal-alignment=\"center\"></Label>\r\n    <ListPicker #picker\r\n                class=\"list-picker\"\r\n                [items]=\"genders\"\r\n                [(ngModel)]=\"selectedIndex\">\r\n    </ListPicker>\r\n    <Button class=\"submit-button\" text=\"Next\" (tap)=\"nextPage()\"></Button>\r\n</StackLayout>\r\n```\r\n\r\nexample.css\r\n```css\r\n\r\nStackLayout {\r\n    height: 450;\r\n    margin-top:0;;\r\n    margin-left: 30;\r\n    margin-right: 30;\r\n    padding-bottom: 15;\r\n}\r\n.background{\r\n    background-color: transparent;\r\n    color:white;\r\n}\r\n\r\n.submit-button{\r\n    color:white;\r\n    background-color: #CB1D00;\r\n}\r\n\r\n.heading-labels{\r\n    color:white;\r\n    text-align: center;\r\n    font-size: 25;\r\n}\r\n\r\n.list-picker{\r\n    color:white;\r\n}\r\n```\r\n\r\nexample.ts\r\n```typescript\r\nimport {Component, OnInit} from \"@angular/core\";\r\nimport {DietService} from \"../../../service/DietService/diet.service\";\r\nimport {Page} from \"ui/page\";\r\n\r\n@Component({\r\n    selector: \"gender\",\r\n    templateUrl: \"pages/setup/gender/gender.component.html\",\r\n    styleUrls: [\"pages/setup/gender/gender.component.css\", \"pages/setup/setup.css\"]\r\n})\r\nexport class GenderComponent implements OnInit{\r\n    private genders:Array<string> = [\"Male\", \"Female\"];\r\n    private selectedIndex:number;\r\n    constructor(private dietService: DietService, private page: Page) {\r\n    }\r\n\r\n    ngOnInit(){\r\n        this.page.actionBarHidden = true;\r\n        this.page.backgroundImage = \"res://rfgfitness\";\r\n        this.initData();\r\n    }\r\n\r\n    public initData(){\r\n\r\n    }\r\n\r\n    public nextPage(){\r\n        console.log(\"Next Page\");\r\n    }\r\n}\r\n```\n\n_Copied from original issue: NativeScript/nativescript-angular#549_"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/264416065","html_url":"https://github.com/NativeScript/NativeScript/issues/3218#issuecomment-264416065","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3218","id":264416065,"user":{"login":"zh-m","id":17438369,"avatar_url":"https://avatars.githubusercontent.com/u/17438369?v=3","gravatar_id":"","url":"https://api.github.com/users/zh-m","html_url":"https://github.com/zh-m","followers_url":"https://api.github.com/users/zh-m/followers","following_url":"https://api.github.com/users/zh-m/following{/other_user}","gists_url":"https://api.github.com/users/zh-m/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-m/subscriptions","organizations_url":"https://api.github.com/users/zh-m/orgs","repos_url":"https://api.github.com/users/zh-m/repos","events_url":"https://api.github.com/users/zh-m/events{/privacy}","received_events_url":"https://api.github.com/users/zh-m/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T09:54:34Z","updated_at":"2016-12-02T09:54:34Z","body":"#3228 "}}
{"actor":{"display_login":"zh-m"}}