{"action":"created","issue":{"url":"https://api.github.com/repos/systers/PCSA-Android/issues/148","repository_url":"https://api.github.com/repos/systers/PCSA-Android","labels_url":"https://api.github.com/repos/systers/PCSA-Android/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/systers/PCSA-Android/issues/148/comments","events_url":"https://api.github.com/repos/systers/PCSA-Android/issues/148/events","html_url":"https://github.com/systers/PCSA-Android/issues/148","id":140370908,"number":148,"title":"Force close in earlier API versions than 16 due to usage of fontFamily tag in TextViews","user":{"login":"chamika","id":754909,"avatar_url":"https://avatars.githubusercontent.com/u/754909?v=3","gravatar_id":"","url":"https://api.github.com/users/chamika","html_url":"https://github.com/chamika","followers_url":"https://api.github.com/users/chamika/followers","following_url":"https://api.github.com/users/chamika/following{/other_user}","gists_url":"https://api.github.com/users/chamika/gists{/gist_id}","starred_url":"https://api.github.com/users/chamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamika/subscriptions","organizations_url":"https://api.github.com/users/chamika/orgs","repos_url":"https://api.github.com/users/chamika/repos","events_url":"https://api.github.com/users/chamika/events{/privacy}","received_events_url":"https://api.github.com/users/chamika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-12T10:27:15Z","updated_at":"2016-03-12T14:30:56Z","closed_at":null,"body":"For an example in the `intro2.xml` the `TextViews` contains the tag fontFamily. This only supports in the API version 16 and above. But the application minimum API version is set 11 and if the app is launched in a device having an API version below 16 will force close the application.\r\n\r\nThe solutions would be\r\n1. Set the minimum SDK version to 16. But it will restrict the lower API devices from installing the application.\r\n2. Using separate layout for lower APIs. This will introduce difficulty in maintaining the code. Because changes in a single layout should be reflected in the lower API layout.\r\n3. Introduce style for the used TextViews and the style should be defined separately for lower APIs and higher APIs.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/systers/PCSA-Android/issues/comments/195750132","html_url":"https://github.com/systers/PCSA-Android/issues/148#issuecomment-195750132","issue_url":"https://api.github.com/repos/systers/PCSA-Android/issues/148","id":195750132,"user":{"login":"sandarumk","id":1345681,"avatar_url":"https://avatars.githubusercontent.com/u/1345681?v=3","gravatar_id":"","url":"https://api.github.com/users/sandarumk","html_url":"https://github.com/sandarumk","followers_url":"https://api.github.com/users/sandarumk/followers","following_url":"https://api.github.com/users/sandarumk/following{/other_user}","gists_url":"https://api.github.com/users/sandarumk/gists{/gist_id}","starred_url":"https://api.github.com/users/sandarumk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandarumk/subscriptions","organizations_url":"https://api.github.com/users/sandarumk/orgs","repos_url":"https://api.github.com/users/sandarumk/repos","events_url":"https://api.github.com/users/sandarumk/events{/privacy}","received_events_url":"https://api.github.com/users/sandarumk/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T14:30:56Z","updated_at":"2016-03-12T14:30:56Z","body":"Since this requires a significant change in the app. We will keep this on hold to take a decision in the next development cycle. Thank you very much for reporting. "}}