{"action":"created","issue":{"url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/40","repository_url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView","labels_url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/40/comments","events_url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/40/events","html_url":"https://github.com/AndroidDeveloperLB/AutoFitTextView/issues/40","id":188726550,"number":40,"title":"Set text size method clarification","user":{"login":"storix","id":10479469,"avatar_url":"https://avatars.githubusercontent.com/u/10479469?v=3","gravatar_id":"","url":"https://api.github.com/users/storix","html_url":"https://github.com/storix","followers_url":"https://api.github.com/users/storix/followers","following_url":"https://api.github.com/users/storix/following{/other_user}","gists_url":"https://api.github.com/users/storix/gists{/gist_id}","starred_url":"https://api.github.com/users/storix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storix/subscriptions","organizations_url":"https://api.github.com/users/storix/orgs","repos_url":"https://api.github.com/users/storix/repos","events_url":"https://api.github.com/users/storix/events{/privacy}","received_events_url":"https://api.github.com/users/storix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T10:09:36Z","updated_at":"2016-11-11T11:56:39Z","closed_at":null,"body":"Hi! Please can you clarify the usage of `setTextSize` method in the sample project [here](https://github.com/AndroidDeveloperLB/AutoFitTextView/blob/master/AutoFitTextViewSample/src/com/example/autofittextviewsample/MainActivity.java#L112). I just can't wrap my head around it. What I need is to auto size a text font in accordance with the given width and height bounds. But according to the sample the text size should be set beforehand. \r\n\r\nSo how can I determine the initial text size to make the autosizing work? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/comments/259942571","html_url":"https://github.com/AndroidDeveloperLB/AutoFitTextView/issues/40#issuecomment-259942571","issue_url":"https://api.github.com/repos/AndroidDeveloperLB/AutoFitTextView/issues/40","id":259942571,"user":{"login":"AndroidDeveloperLB","id":5357526,"avatar_url":"https://avatars.githubusercontent.com/u/5357526?v=3","gravatar_id":"","url":"https://api.github.com/users/AndroidDeveloperLB","html_url":"https://github.com/AndroidDeveloperLB","followers_url":"https://api.github.com/users/AndroidDeveloperLB/followers","following_url":"https://api.github.com/users/AndroidDeveloperLB/following{/other_user}","gists_url":"https://api.github.com/users/AndroidDeveloperLB/gists{/gist_id}","starred_url":"https://api.github.com/users/AndroidDeveloperLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndroidDeveloperLB/subscriptions","organizations_url":"https://api.github.com/users/AndroidDeveloperLB/orgs","repos_url":"https://api.github.com/users/AndroidDeveloperLB/repos","events_url":"https://api.github.com/users/AndroidDeveloperLB/events{/privacy}","received_events_url":"https://api.github.com/users/AndroidDeveloperLB/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T11:56:38Z","updated_at":"2016-11-11T11:56:38Z","body":"If you set it to be small, it will be this size or smaller.\n\nOn 11 Nov 2016 12:42, \"Stan Mots\" <notifications@github.com> wrote:\n\n> Thank you for the quick reply. But what if the text size is too small, it\n> won't auto-resize itself, right?\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/AndroidDeveloperLB/AutoFitTextView/issues/40#issuecomment-259930767>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AFG_1tWumAAx4rX7diUkDyqj80EtHf2vks5q9EZ8gaJpZM4KvmkA>\n> .\n>\n"}}
{"actor":{"display_login":"AndroidDeveloperLB"}}