Register now for Android Dev Summit 2019!

Appcompat

Version 1.1.0-rc01

July 2, 2019

androidx.appcompat:appcompat:1.1.0-rc01 and androidx.appcompat:appcompat-resources:1.1.0-rc01 are released. The commits included in this version can be found here.

Bug fixes

  • DayNight now honors configChanges correctly (aosp/981105)
  • Only call onConfigurationChanged on started Activities (aosp/987483)

Version 1.1.0-beta01

June 5, 2019

androidx.appcompat:appcompat:1.1.0-beta01 and androidx.appcompat:appcompat-resources:1.1.0-beta01 are released. The commits included in this version can be found here.

Bug fixes

  • Make sure we clean up receivers in AppCompatDialogs (aosp/959376)
  • Add support for buttonGravity=center_vertical on Toolbar (b/130361721)
  • Fix spinner horizontal offset (b/79477181)

Version 1.1.0-alpha05

May 7, 2019

androidx.appcompat:appcompat:1.1.0-alpha05 and androidx.appcompat:appcompat-resources:1.1.0-alpha05 are released. The commits included in this version can be found here.

New features

Bug fixes

  • Various fixes to DayNight mode
  • Invalidate outline on any background change in ActionBar
  • Fix spinner widget scroll
  • Fix custom set window backgrounds being overridden in AlertDialog

Version 1.1.0-alpha04

April 3, 2019

androidx.appcompat:appcompat:1.1.0-alpha04 and androidx.appcompat:appcompat-resources:1.1.0-alpha04 are released. The commits included in this version can be found here.

New features

  • Added new ThemeOverlay.AppCompat.DayNight family of themes. These should be used when using the DayNight feature.

API changes

  • AppCompatActivity now contain a second constructor that takes a @LayoutRes int, which replaces the previous behavior of annotating your AppCompatActivity class with @ContentView. This approach works in both app and library modules. (b/128352521)

Bug fixes

  • Pinned internal dependencies to stable versions where possible
  • Fixed AppCompatSpinnerscrolling in dropdown mode )b/124274573)
  • Only calls applyOverrideConfiguration() if required for DayNight

Version 1.1.0-alpha03

March 13, 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