- Fix Toolbar TextView's layout race condition. @ansman #386, #368, #327, #280, #304, #363
- Added AppCompat Styles (AppCompatTextView will now pickup textViewStyle etc). Thanks @paul-turner
- Fix for Toolbar not inflating
TextView
s upfront.
- Fixed #155, We now clone correctly.
- Added Styles for Custom Views. (
builder.addCustomStyle(ToggleButton.class, android.R.attr.buttonStyleToggle)
)
- Fixed
CalligraphyConfig.Builder
missing return statements. - Fixed
createView()
getting the wrong parent context, Fixed: #135, #120
- Throw exception on passing null into
CalligraphySpan
- Fixed memory bug with
Toolbar
. @dlew
Breaking changes
This is a massive rewrite of the interception model. Look at CalligraphyLayoutInflater
and
CalligraphyConfig
for more information on options and changes.
- BREAKING CHANGE This is an API change to Calligraphy config.
Changed CalligraphyConfig to a builder pattern, use
CalligraphyConfig.Builder().build()
;
Notable changes:
- Removed jar binary, We build an @aar due to the way we tag
View
s. - Intercept View creation at each stage.
- Defer view creation to native components (Except CustomViews).
- Inject
setPrivateFactory
on theActivity
. - We wrap Factory not disturbing underlying factory and layout inflater invocation.
- Better support for
cloneInContext()
which the compat library uses heavily.
- Fixes issues with
appcompat-v7:21+
(uses underlyingToolbar
impl). - Lollipop support.
- Fast path view with font already set by us.
- Fixes ActionBar Title/SubTitle
textStyles
. - Fixes
textAllCaps
bug, now works correctly. - Fixes some
Spannable
issues reported, we are more careful what we applySpannable
's too now. - Fixes missing Typeface on hint text on
EditText
/AutoComplete
. - Fixes empty source and javadoc jars on maven.
- Added ActionBar Title/SubTitle support.
- Toast support via default style/or TextView theme style.
- Removed FontFamily parsing as it lead to users not being able to use
fontFamily
- Added TextAppearance Support - Thanks @codebutler & @loganj
- Default Font no longer required.
- Fixed Resources not found Exception - @Smuldr
- Added Anti-aliasing support
- Added custom font attribute support - Thanks @Roman Zhilich
- Changed Maven groupId to
uk.co.chrisjenx
artifact is nowcalligraphy
.compile 'uk.co.chrisjenx:calligraphy:0.+'
- Supports all Android implementations of
TextView
- Supports Custom
TextView
s - Thanks @mironov-nsk - Caches none found fonts as null
- Added support for
Button
class
- Initial Release