This page describes updates made to the Car UI Library in each of the releases listed below.
car-ui-lib 2.5.0
Issues addressed
- Optimized plugin startup time.
- Fixed an issue where apps were always returning 1 as max supported plugin version.
- Removed the overwriting of theme to force
Theme.CarUi
fromAppStyledView
. - Added overridable method to set title on
ListPreferenceFragment
.
car-ui-lib-plugin-apis 1.4.0
New features
- Allow OEM customization of
CarUiPreference
Deprecated these items:
PluginFactoryOEMV5
, usePluginFactoryOEMV6
instead.
car-ui-lib 2.4.0
New features
- Added support for the transition to
AppStyledView
.
Issues addressed
- Updated
AppStyledRecyclerViewAdapter
to no longer be public. - Provided a convenience method for context with optimization for
AppStyledDialogController
. - Moved the
AppStyledViewNavIcon
definition toAppStyledDialogController
. - Removed forced overwriting of theme to
Theme.CarUi
inAppStyledView
. - Added transitions to support the rendering of
AppStyledView
screens. - Added
car_ui_recycler_view_no_scrollbar
to the list of items that can be overlaid. - Created a Gradle library for
CarUiRecyclerView
espressoViewActions
andViewMatchers
. - Refactored the app-styled view to use
ScrollView
.
car-ui-lib-plugin-apis 1.3.0
New features
Deprecated these items:
PluginFactoryOEMV4
, usePluginFactoryOEMV5
instead.RecyclerViewOEMV1
, useRecyclerViewOEMV2
instead.OnScrollListenerOEMV1
, useRecyclerViewOEMV2.OnScrollListenerOEMV2
instead.
car-ui-lib 2.3.0
New features
Added support for the following scrollbar attributes:
android:fadeScrollbars
android:scrollbars
android:scrollbarThumbVertical
android:scrollbarTrackVertical
android:scrollbarStyle
android:scrollbarFadeDuration
android:verticalScrollbarPosition
android:requiresFadingEdge
Addressed issues
Fixed
CarUiRecyclerView
, which did not maintain position uponActivity
recreation.Resolved bitmap serialization incompatibility between the client code and the IME service.
Enabled usage of
NavHostFragment
withPreferenceFragment
.
car-ui-lib-plugin-apis 1.2.0
New features
Replaced usage of java.util.function
interfaces with the following library
interfaces:
com.android.car.ui.plugin.oemapis.BiConsumer
com.android.car.ui.plugin.oemapis.Consumer
com.android.car.ui.plugin.oemapis.Function
Deprecated these items:
PluginFactoryOEMV3
, usePluginFactoryOEMV4
instead.ToolbarControllerOEMV1
, useToolbarControllerOEMV2
instead.ContentListItemOEMV1
, useContentListItemOEMV2
instead.ImeSearchInterfaceOEMV1
, useImeSearchInterfaceOEMV2
instead.
Replaced the library implementation of nullness interfaces with implementations
of androidx.annotations
.
car-ui-lib-plugin-apis 1.1.1
This release updates the minSdkVersion
to 28.
car-ui-lib 2.2.1
This release:
- Introduces
CarUiFooterPreference
- Updates the
minSdkVersion
to 28.
car-ui-lib-plugin-apis 1.1.0
This release:
- Deprecates
AppStyledViewControllerOEMV1
Introduces
AppStyledViewControllerOEMV2
Incorporates changes from
AppStyledViewControllerOEMV1
:public abstract int getContentAreaHeight(); public abstract int getContentAreaWidth();
Deprecates
PluginFactoryOEMV1
andPluginFactoryOEMV2
Introduces the
PluginFactoryOEMV3
interface.
car-ui-lib 2.1.0
This release:
Adds
AppStyledView
client APIs:public int getContentAreaHeight(); public int getContentAreaWidth();
Introduces
CarUiPrimarySwitchPreference
Updates the
AppStyledDialogController
constructor to requireActivity
instead ofContext
:Adds:
public AppStyledDialogController(android.app.Activity);
Deprecates:
public AppStyledDialogController(android.content.Context);
car-ui-lib-plugin-apis 1.0.1
This release adds nullness annotations.
car-ui-lib-plugin-apis 1.0.0
This release introduces support for the following car-ui-lib
plugin APIs:
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
car-ui-lib 2.0.0
This version, available on
Google Maven,
introduces car-ui-lib
plugin support for these components:
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
car-ui-lib 1.0.0
This release is available on AOSP for Android 12 and lower and provides support for:
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
- Dialog
- Resource customization through Runtime Resource Overlays (RROs)
PreferencesFragment
- Rotary support
WideScreenImeKeyboard