{"action":"created","issue":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/295","repository_url":"https://api.github.com/repos/chrisjenx/Calligraphy","labels_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/295/comments","events_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/295/events","html_url":"https://github.com/chrisjenx/Calligraphy/issues/295","id":158249599,"number":295,"title":"AppCompat toolbar title font is not set","user":{"login":"aleien","id":7263920,"avatar_url":"https://avatars0.githubusercontent.com/u/7263920?v=4","gravatar_id":"","url":"https://api.github.com/users/aleien","html_url":"https://github.com/aleien","followers_url":"https://api.github.com/users/aleien/followers","following_url":"https://api.github.com/users/aleien/following{/other_user}","gists_url":"https://api.github.com/users/aleien/gists{/gist_id}","starred_url":"https://api.github.com/users/aleien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleien/subscriptions","organizations_url":"https://api.github.com/users/aleien/orgs","repos_url":"https://api.github.com/users/aleien/repos","events_url":"https://api.github.com/users/aleien/events{/privacy}","received_events_url":"https://api.github.com/users/aleien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-06-02T22:00:33Z","updated_at":"2017-07-19T12:06:25Z","closed_at":null,"body":"Hi! I am trying to style toolbar font, but nothing happens. I am able to set font color and style, but not the font itself.\nI am using the latest calligraphy (2.2.0), appcompat (23.4.0), Android 6.0.\n\n```\n<android.support.v7.widget.Toolbar\n        android:id=\"@+id/main_toolbar\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"?attr/actionBarSize\"\n        android:background=\"?attr/colorPrimary\"\n        android:elevation=\"4dp\"\n        app:title=\"@string/app_name\"\n        app:titleTextAppearance=\"@style/DancingWhite\"\n        android:theme=\"@style/ThemeOverlay.AppCompat.ActionBar\"\n        app:popupTheme=\"@style/ThemeOverlay.AppCompat.Dark\"/>\n\n...\n\n<style name=\"DancingWhite\" parent=\"android:TextAppearance\">\n        <item name=\"android:textSize\">22sp</item>\n        <item name=\"android:textColor\">@color/colorTitle</item>\n        <item name=\"android:textStyle\">italic</item>\n        <item name=\"fontPath\">fonts/DancingScript-Regular.otf</item>\n    </style>\n```\n"},"comment":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/comments/316364715","html_url":"https://github.com/chrisjenx/Calligraphy/issues/295#issuecomment-316364715","issue_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/295","id":316364715,"user":{"login":"Guimareshh","id":9654353,"avatar_url":"https://avatars2.githubusercontent.com/u/9654353?v=4","gravatar_id":"","url":"https://api.github.com/users/Guimareshh","html_url":"https://github.com/Guimareshh","followers_url":"https://api.github.com/users/Guimareshh/followers","following_url":"https://api.github.com/users/Guimareshh/following{/other_user}","gists_url":"https://api.github.com/users/Guimareshh/gists{/gist_id}","starred_url":"https://api.github.com/users/Guimareshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guimareshh/subscriptions","organizations_url":"https://api.github.com/users/Guimareshh/orgs","repos_url":"https://api.github.com/users/Guimareshh/repos","events_url":"https://api.github.com/users/Guimareshh/events{/privacy}","received_events_url":"https://api.github.com/users/Guimareshh/received_events","type":"User","site_admin":false},"created_at":"2017-07-19T12:06:25Z","updated_at":"2017-07-19T12:06:25Z","body":"Hey @AnoDest \r\n\r\nYour post help me to solve half of my issues ! For the title of the ToolBar I'm now able to have my own font, but for the subtitle it kept the title font instead of taking the one I set : \r\n\r\n```\r\n<style name=\"AvoxatInAppThemeConsultation.NoActionBar\" parent=\"InAppTheme\">\r\n        <item name=\"windowActionBar\">false</item>\r\n        <item name=\"windowNoTitle\">true</item>\r\n        <item name=\"android:actionBarStyle\">@style/ActionBarStyle</item>\r\n    </style>\r\n\r\n<style name=\"ActionBarStyle\" parent=\"Widget.AppCompat.Light.ActionBar.Solid\">\r\n        <item name=\"android:titleTextStyle\">@style/ToolbarTitleAppearance</item>\r\n        <item name=\"android:subtitleTextStyle\">@style/ToolbarSubtitleAppearance</item>\r\n    </style>\r\n\r\n    <style name=\"ToolbarTitleAppearance\" parent=\"@style/TextAppearance.Widget.AppCompat.Toolbar.Title\">\r\n        <item name=\"android:textSize\">@dimen/font_large</item>\r\n        <item name=\"fontPath\">fonts/Poppins-SemiBold.ttf</item>\r\n        <item name=\"android:textColor\">@color/greyish_brown</item>\r\n    </style>\r\n\r\n    <style name=\"ToolbarSubtitleAppearance\" parent=\"@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle\">\r\n        <item name=\"android:textSize\">@dimen/font_small</item>\r\n        <item name=\"fontPath\">fonts/Poppins-Regular.ttf</item>\r\n        <item name=\"android:textColor\">@color/steel</item>\r\n    </style>\r\n```\r\n\r\nThe issue is very strange, because textSize and textColor is different between both. But for font the subtitle keep using the font from title.\r\n\r\nAny idea to solve this issue ? \r\nThanks !"}}
{"actor":{"display_login":"Guimareshh"}}