Version 1.1.0-alpha03

March 13th, 2019

androidx.appcompat:appcompat:1.1.0-alpha03 and androidx.appcompat:appcompat-resources:1.1.0-alpha03are released. This is the first release of appcompat-resources. The full list of commits included in this version can be found here.

New features

  • The new appcompat-resources library contains APIs that allow apps to load and tint drawables (including vector drawables) on older versions of the platform. This is the same functionality that was previously part of the appcompat module, but is now available without the overhead of the full appcompat backport of Material design that includes widgets, dialogs, night mode etc.
  • Major fixes to DayNight mode support
  • New MODE_NIGHT_AUTO_BATTERY option for DayNight mode
  • Drawable tinting in AppCompatTextView
  • Toolbar overflow can now be styled with themed color state lists
  • Menu icons can now use colors that reference theme attributes
  • The new app:menu attribute can be set on a Toolbar to provide the menu content at inflation time

Bug fixes

  • Fixed default tint mode on ImageView on version 21
  • Fixed spinner popup incorrect dismissal on device rotation
  • Fixed DayNight does not respect configChanges in manifest
  • Fixed switching to MODE_NIGHT_FOLLOW_SYSTEM doesn't work (b/111345020)
  • Fixed WebView resets DayNight Resources (b/37124582)

Version 1.1.0-alpha02

February 7, 2019

androidx.appcompat:appcompat 1.1.0-alpha02 is released.

New features

  • Extracted resource-specific drawable handling into a hook (aosp/870976)
  • Allowed Toolbar titleTextColor and subtitleTextColor to use a ColorStateList and added ColorStateList overloads of the setTitleTextColor and setSubtitleTextColor methods (aosp/867489)

Bug fixes

  • Fixed fontFamily not working on pre API 24 (aosp/807054)
  • Fixed bug where textFontWeight did not work when an activity extends from AppCompatActivity (aosp/847640)
  • Fixed bug that caused the title text on the spinner widget popup (when using dialog mode) to not use the font specified in the fontFamily (aosp/789994)
  • Fix bug that prevented widgets AppCompatCheckBox and AppCompatRadioButton from be able to change the background tint (aosp/825160)
  • Fixed bug where AppCompat did not override android: list styles (aosp/862350)

Version 1.1.0-alpha01

December 3, 2018

New features

  • AppCompatTextView now supports app:drawableLeftCompat, app:drawableTopCompat, app:drawableRightCompat, app:drawableBottomCompat, app:drawableStartCompat and app:drawableEndCompat compound drawables, supporting backported drawable types such as VectorDrawableCompat.

  • AppCompatCheckBox and AppCompatRadioButton’s default drawables now animate check state changes.

API changes

  • aosp/740385: ActionBarOverlayLayout now implements NestedScrollingParent2 and NestedScrollingParent3, enabling it to facilitate the latest functionality in nested scrolling 3. If developer code currently overrides ActionBarOverLayLayout.onNestedScroll(View, int, int, int, int), it will likely no longer be called and ActionBarOverLayLayout.onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead.

Version 1.0.2

November 7, 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2.

Bug fixes

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView. b/113070424

Version 1.0.0

November 7, 2018

New features