{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3305","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3305/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3305/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3305/events","html_url":"https://github.com/facebook/react-native/issues/3305","id":110644213,"node_id":"MDU6SXNzdWUxMTA2NDQyMTM=","number":3305,"title":"How to make image Aspect Fill?","user":{"login":"VansonLeung","id":1129695,"node_id":"MDQ6VXNlcjExMjk2OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1129695?v=4","gravatar_id":"","url":"https://api.github.com/users/VansonLeung","html_url":"https://github.com/VansonLeung","followers_url":"https://api.github.com/users/VansonLeung/followers","following_url":"https://api.github.com/users/VansonLeung/following{/other_user}","gists_url":"https://api.github.com/users/VansonLeung/gists{/gist_id}","starred_url":"https://api.github.com/users/VansonLeung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VansonLeung/subscriptions","organizations_url":"https://api.github.com/users/VansonLeung/orgs","repos_url":"https://api.github.com/users/VansonLeung/repos","events_url":"https://api.github.com/users/VansonLeung/events{/privacy}","received_events_url":"https://api.github.com/users/VansonLeung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-10-09T12:03:25Z","updated_at":"2018-07-15T12:36:23Z","closed_at":"2015-10-09T16:22:44Z","author_association":"NONE","body":"How do I make a splash screen , which is supposed to be a fullscreen image\n\nI need to scale it in aspect (for All screen sizes) and do not alter the scale ratio between width & height.\n\nI need no empty gaps at the edge of the images  (not Aspect Fit)\n\nWhat CSS / Flexbox style should I set?  Is it supported ???\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/405089208","html_url":"https://github.com/facebook/react-native/issues/3305#issuecomment-405089208","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3305","id":405089208,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA4OTIwOA==","user":{"login":"atulmy","id":685786,"node_id":"MDQ6VXNlcjY4NTc4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/685786?v=4","gravatar_id":"","url":"https://api.github.com/users/atulmy","html_url":"https://github.com/atulmy","followers_url":"https://api.github.com/users/atulmy/followers","following_url":"https://api.github.com/users/atulmy/following{/other_user}","gists_url":"https://api.github.com/users/atulmy/gists{/gist_id}","starred_url":"https://api.github.com/users/atulmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atulmy/subscriptions","organizations_url":"https://api.github.com/users/atulmy/orgs","repos_url":"https://api.github.com/users/atulmy/repos","events_url":"https://api.github.com/users/atulmy/events{/privacy}","received_events_url":"https://api.github.com/users/atulmy/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T12:36:23Z","updated_at":"2018-07-15T12:36:23Z","author_association":"NONE","body":"If you want to fit to width (something like for a logo):\r\n\r\n```\r\n<Image\r\n  resizeMode={'contain'}\r\n  source={imageLogo}\r\n  style={styles.logo}\r\n />\r\n```\r\n\r\n```\r\nconst styles = StyleSheet.create({\r\n  logo: {\r\n      width: '100%'\r\n   }\r\n})\r\n```"}}
{"actor":{"display_login":"atulmy"}}