हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
कार के यूज़र इंटरफ़ेस (यूआई) लाइब्रेरी की रिलीज़ नोट
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस पेज पर, यहां दी गई हर रिलीज़ में कार यूज़र इंटरफ़ेस लाइब्रेरी में किए गए अपडेट के बारे में बताया गया है.
car-ui-lib 2.6.0
नई सुविधाएं
CarUiToolbar
लोगो के लिए टैप करने पर होने वाली कार्रवाई जोड़ी गई.
हल की गई समस्याएं
- प्लग इन की मदद से अपडेट करते समय,
CarUiToolbar
के ओवरफ़्लो डायलॉग बॉक्स का कॉन्टेंट अप-टू-डेट न रहने की समस्या को ठीक किया गया है.
CarUiRecyclerView
का स्क्रोलबार न दिखने की समस्या को ठीक किया गया. ऐसा इसलिए हुआ था, क्योंकि गलत इनसेट लागू किए गए थे.
- प्लग इन से कोई वैल्यू न मिलने पर,
InsetsChangedListener
को शून्य दिखाने से जुड़ी समस्या को ठीक किया गया.
AppStyledView
में रेंडर किए गए कॉन्टेंट के लिए, Theme.CarUi
का इस्तेमाल नहीं किया जाना चाहिए, यह पक्का करने के लिए एक जांच जोड़ी गई है.
- बड़ी लैंडस्केप स्क्रीन में, डिफ़ॉल्ट
AppStyledView
पोज़िशनिंग को ठीक किया गया.
AppStyledView
के बैकग्राउंड और मंद करने की मात्रा को पसंद के मुताबिक बनाने की सुविधा जोड़ी गई.
AppStyledView
दिखने के बाद, AppStyledDialog#setContentView()
पर कॉल करने की सुविधा जोड़ी गई.
ये तरीके काम नहीं करते:
CarUi#installBaseLayoutAround(View, InsetsChangedListener, boolean)
, इसके बजाय
CarUi#InsetsChangedListener(Context, View, InsetsChangedListener, boolean)
का इस्तेमाल करें.
CarUi#installBaseLayoutAround(View, InsetsChangedListener, boolean,
boolean)
, इसके बजाय CarUi#InsetsChangedListener(Context, View,
InsetsChangedListener, boolean, boolean)
का इस्तेमाल करें.
car-ui-lib-plugin-apis 1.5.0
नई सुविधाएं
CarUiToolbar
लोगो टैप करने पर सुनने वाले को पसंद के मुताबिक बनाने की सुविधा जोड़ी गई.
इन आइटम का इस्तेमाल नहीं किया जा सकता:
PluginFactoryOEMV6
, इसके बजाय PluginFactoryOEMV7
का इस्तेमाल करें.
ToolbarControllerOEMV2
, इसके बजाय ToolbarControllerOEMV3
का इस्तेमाल करें.
car-ui-lib 2.5.1
हल की गई समस्याएं
- ProGuard से जुड़ी एक समस्या को ठीक किया गया है. इसकी वजह से, car-ui-lib प्लग इन लोड नहीं हो पा रहा था.
- ऐसे प्लग इन के लिए फ़ॉरवर्ड कम्पैटिबिलिटी की समस्या को ठीक किया गया है जिनकी वजह से रनटाइम के दौरान एनपीई (नॉन-पैरामीटर एरर) होता है.
- यह पक्का करें कि car-ui-lib प्लग इन, सिस्टम ऐप्लिकेशन हो.
CarUiRecyclerView
के कुछ मामलों में स्क्रोलबार न दिखने की समस्या को ठीक किया गया.
- प्लग इन का इस्तेमाल करने पर, चुने गए टैब अपडेट न होने की समस्या को ठीक किया गया.
- प्लग इन का इस्तेमाल करते समय,
SearchView
को इंस्टैंशिएट करने से जुड़ी समस्याएं ठीक की गई हैं.
- सही डिसप्ले कॉन्फ़िगरेशन के लिए, ऐक्टिविटी कॉन्टेक्स्ट का इस्तेमाल करके, कार सेवा के यूज़र एक्सपीरियंस (UX) की पाबंदी की स्थिति के कॉलबैक को शुरू करें.
- अपडेट किए गए, शून्य होने की जानकारी देने वाले एनोटेशन.
car-ui-lib 2.5.0
हल की गई समस्याएं
- प्लग इन के स्टार्टअप में लगने वाला समय ऑप्टिमाइज़ किया गया.
- उस समस्या को ठीक किया गया है जिसमें ऐप्लिकेशन, प्लग इन के काम करने वाले ज़्यादा से ज़्यादा वर्शन के तौर पर हमेशा 1 दिखाते थे.
AppStyledView
से Theme.CarUi
को फ़ोर्स करने के लिए, थीम को ओवरराइट करने की सुविधा हटा दी गई है.
ListPreferenceFragment
पर टाइटल सेट करने के लिए, बदला जा सकने वाला तरीका जोड़ा गया.
car-ui-lib-plugin-apis 1.4.0
नई सुविधाएं
CarUiPreference
को OEM के हिसाब से बनाने की अनुमति दें.
इन आइटम का इस्तेमाल नहीं किया जा सकता:
PluginFactoryOEMV5
, इसके बजाय PluginFactoryOEMV6
का इस्तेमाल करें.
car-ui-lib 2.4.0
नई सुविधाएं
AppStyledView
पर ट्रांज़िशन करने के लिए सहायता जोड़ी गई.
हल की गई समस्याएं
AppStyledRecyclerViewAdapter
को अपडेट किया गया, ताकि वह अब सार्वजनिक न रहे.
AppStyledDialogController
के लिए ऑप्टिमाइज़ेशन के साथ, कॉन्टेक्स्ट के लिए आसान तरीका उपलब्ध कराया गया.
AppStyledViewNavIcon
की परिभाषा को AppStyledDialogController
में ले जाया गया.
AppStyledView
में, थीम को Theme.CarUi
पर जबरन ओवरराइट करने की सुविधा हटाई गई.
AppStyledView
स्क्रीन को रेंडर करने के लिए ट्रांज़िशन जोड़े गए.
- ओवरले किए जा सकने वाले आइटम की सूची में
car_ui_recycler_view_no_scrollbar
जोड़ा गया.
CarUiRecyclerView
espresso ViewActions
और
ViewMatchers
के लिए Gradle लाइब्रेरी बनाई.
ScrollView
का इस्तेमाल करने के लिए, ऐप्लिकेशन स्टाइल वाले व्यू को फिर से बनाया गया.
car-ui-lib-plugin-apis 1.3.0
नई सुविधाएं
इन आइटम का इस्तेमाल नहीं किया जा सकता:
PluginFactoryOEMV4
, इसके बजाय PluginFactoryOEMV5
का इस्तेमाल करें.
RecyclerViewOEMV1
, इसके बजाय RecyclerViewOEMV2
का इस्तेमाल करें.
OnScrollListenerOEMV1
, इसके बजाय RecyclerViewOEMV2.OnScrollListenerOEMV2
का इस्तेमाल करें.
car-ui-lib 2.3.0
नई सुविधाएं
नया कॉम्पोनेंट जोड़ा गया:
स्क्रोलबार के लिए इन एट्रिब्यूट का इस्तेमाल किया जा सकता है:
android:fadeScrollbars
android:scrollbars
android:scrollbarThumbVertical
android:scrollbarTrackVertical
android:scrollbarStyle
android:scrollbarFadeDuration
android:verticalScrollbarPosition
android:requiresFadingEdge
हल की गई समस्याएं
CarUiRecyclerView
को ठीक किया गया, जो Activity
को फिर से बनाने पर अपनी जगह पर नहीं रहता था.
क्लाइंट कोड और IME सेवा के बीच, बिटमैप को सीरियलाइज़ करने की सुविधा के काम न करने की समस्या हल की गई.
PreferenceFragment
के साथ NavHostFragment
का इस्तेमाल करने की सुविधा चालू की गई.
car-ui-lib-plugin-apis 1.2.0
नई सुविधाएं
java.util.function
इंटरफ़ेस के इस्तेमाल को, लाइब्रेरी के इन इंटरफ़ेस से बदल दिया गया है:
com.android.car.ui.plugin.oemapis.BiConsumer
com.android.car.ui.plugin.oemapis.Consumer
com.android.car.ui.plugin.oemapis.Function
इन आइटम का इस्तेमाल नहीं किया जा सकता:
PluginFactoryOEMV3
, इसके बजाय PluginFactoryOEMV4
का इस्तेमाल करें.
ToolbarControllerOEMV1
, इसके बजाय ToolbarControllerOEMV2
का इस्तेमाल करें.
ContentListItemOEMV1
, इसके बजाय ContentListItemOEMV2
का इस्तेमाल करें.
ImeSearchInterfaceOEMV1
, इसके बजाय ImeSearchInterfaceOEMV2
का इस्तेमाल करें.
लाइब्रेरी में लागू किए गए nullness इंटरफ़ेस को androidx.annotations
से बदला गया.
car-ui-lib-plugin-apis 1.1.1
इस रिलीज़ में minSdkVersion
को 28 पर अपडेट किया गया है.
car-ui-lib 2.2.1
इस रिलीज़ में:
CarUiFooterPreference
को पेश करता है
minSdkVersion
को 28 पर अपडेट करता है.
car-ui-lib-plugin-apis 1.1.0
इस रिलीज़ में:
AppStyledViewControllerOEMV1
का इस्तेमाल बंद कर दिया गया है
AppStyledViewControllerOEMV2
को पेश करता है
AppStyledViewControllerOEMV1
के बाद किए गए बदलावों को शामिल किया गया है:
public abstract int getContentAreaHeight();
public abstract int getContentAreaWidth();
PluginFactoryOEMV1
और PluginFactoryOEMV2
को बंद कर दिया गया है
PluginFactoryOEMV3
इंटरफ़ेस के बारे में बताता है.
car-ui-lib 2.1.0
इस रिलीज़ में:
AppStyledView
क्लाइंट एपीआई जोड़ता है:
public int getContentAreaHeight();
public int getContentAreaWidth();
CarUiPrimarySwitchPreference
को पेश करता है
AppStyledDialogController
कंस्ट्रक्टर को अपडेट करके, Context
के बजाय Activity
की ज़रूरत होती है:
जोड़ता है:
public AppStyledDialogController(android.app.Activity);
अब काम नहीं करती:
public AppStyledDialogController(android.content.Context);
car-ui-lib-plugin-apis 1.0.1
इस रिलीज़ में, वैल्यू के शून्य होने की जानकारी देने वाले एनोटेशन जोड़े गए हैं.
car-ui-lib-plugin-apis 1.0.0
इस रिलीज़ में, इन car-ui-lib
प्लग इन एपीआई के साथ काम करने की सुविधा जोड़ी गई है:
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
car-ui-lib 2.0.0
यह वर्शन, Google Maven पर उपलब्ध है. इसमें इन कॉम्पोनेंट के लिए car-ui-lib
प्लग इन की सुविधा जोड़ी गई है:
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
car-ui-lib 1.0.0
यह रिलीज़, Android 12 और इससे पहले के वर्शन के लिए AOSP पर उपलब्ध है. साथ ही, यह इनके लिए काम करती है:
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-06-12 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-06-12 (UTC) को अपडेट किया गया."],[],[],null,["# Car UI library release notes\n\nThis page describes updates made to the Car UI library in each of the releases\nlisted below.\n\ncar-ui-lib 2.6.0\n----------------\n\n### New features\n\n- Added a tap listener for the `CarUiToolbar` logo.\n\n### Issues addressed\n\n- Fixed an issue where `CarUiToolbar`'s overflow dialog content would remain stale when making the updates through the plugin.\n- Fixed an issue where `CarUiRecyclerView`'s scrollbar was not visible because incorrect insets were applied.\n- Fixed an issue when the plugin returned a null `InsetsChangedListener`.\n- Added a check to enforce content rendered in `AppStyledView` must not use `Theme.CarUi`.\n- Fixed default `AppStyledView` positioning in large landscape screens.\n- Added customization of `AppStyledView` background and dim amount.\n- Added support for calls to `AppStyledDialog#setContentView()` after `AppStyledView` is shown.\n\nDeprecated these methods:\n\n- `CarUi#installBaseLayoutAround(View, InsetsChangedListener, boolean)`, use `CarUi#InsetsChangedListener(Context, View, InsetsChangedListener, boolean)` instead.\n- `CarUi#installBaseLayoutAround(View, InsetsChangedListener, boolean,\n boolean)`, use `CarUi#InsetsChangedListener(Context, View,\n InsetsChangedListener, boolean, boolean)` instead.\n\ncar-ui-lib-plugin-apis 1.5.0\n----------------------------\n\n### New features\n\n- Added customization of `CarUiToolbar` logo tap listener.\n\nDeprecated these items:\n\n- `PluginFactoryOEMV6`, use `PluginFactoryOEMV7` instead.\n- `ToolbarControllerOEMV2`, use `ToolbarControllerOEMV3` instead.\n\ncar-ui-lib 2.5.1\n----------------\n\n### Issues addressed\n\n- Fixed a ProGuard issue that was preventing loading the car-ui-lib plugin.\n- Fixed forward compatibility for plugins that would cause NPE at runtime.\n- Enforce that car-ui-lib plugin has to be a system app.\n- Fixed `CarUiRecyclerView` not showing scrollbar in some scenarios.\n- Fixed selected tabs not updating when the plugin is used.\n- Fixed issues with instantiating `SearchView` when the plugin is used.\n- Initialize Car service UX restriction state callback using Activity context for correct display configuration.\n- Updated nullness annotations.\n\ncar-ui-lib 2.5.0\n----------------\n\n### Issues addressed\n\n- Optimized plugin startup time.\n- Fixed an issue where apps were always returning 1 as max supported plugin version.\n- Removed the overwriting of theme to force `Theme.CarUi` from `AppStyledView`.\n- Added overridable method to set title on `ListPreferenceFragment`.\n\ncar-ui-lib-plugin-apis 1.4.0\n----------------------------\n\n### New features\n\n- Allow OEM customization of `CarUiPreference`.\n\nDeprecated these items:\n\n- `PluginFactoryOEMV5`, use `PluginFactoryOEMV6` instead.\n\ncar-ui-lib 2.4.0\n----------------\n\n### New features\n\n- Added support for the transition to `AppStyledView`.\n\n### Issues addressed\n\n- Updated `AppStyledRecyclerViewAdapter` to no longer be public.\n- Provided a convenience method for context with optimization for `AppStyledDialogController`.\n- Moved the `AppStyledViewNavIcon` definition to `AppStyledDialogController`.\n- Removed forced overwriting of theme to `Theme.CarUi` in `AppStyledView`.\n- Added transitions to support the rendering of `AppStyledView` screens.\n- Added `car_ui_recycler_view_no_scrollbar` to the list of items that can be overlaid.\n- Created a Gradle library for `CarUiRecyclerView` espresso `ViewActions` and `ViewMatchers`.\n- Refactored the app-styled view to use `ScrollView`.\n\ncar-ui-lib-plugin-apis 1.3.0\n----------------------------\n\n### New features\n\nDeprecated these items:\n\n- `PluginFactoryOEMV4`, use `PluginFactoryOEMV5` instead.\n- `RecyclerViewOEMV1`, use `RecyclerViewOEMV2` instead.\n- `OnScrollListenerOEMV1`, use `RecyclerViewOEMV2.OnScrollListenerOEMV2` instead.\n\ncar-ui-lib 2.3.0\n----------------\n\n### New features\n\nAdded new component:\n\n- `CarUiShortcutsPopup`\n\nAdded support for the following scrollbar attributes:\n\n- `android:fadeScrollbars`\n- `android:scrollbars`\n- `android:scrollbarThumbVertical`\n- `android:scrollbarTrackVertical`\n- `android:scrollbarStyle`\n- `android:scrollbarFadeDuration`\n- `android:verticalScrollbarPosition`\n- `android:requiresFadingEdge`\n\n### Addressed issues\n\n- Fixed `CarUiRecyclerView`, which did not maintain position upon `Activity`\n recreation.\n\n- Resolved bitmap serialization incompatibility between the client code and\n the IME service.\n\n- Enabled usage of `NavHostFragment` with `PreferenceFragment`.\n\ncar-ui-lib-plugin-apis 1.2.0\n----------------------------\n\n### New features\n\nReplaced usage of `java.util.function` interfaces with the following library\ninterfaces:\n\n- `com.android.car.ui.plugin.oemapis.BiConsumer`\n- `com.android.car.ui.plugin.oemapis.Consumer`\n- `com.android.car.ui.plugin.oemapis.Function`\n\nDeprecated these items:\n\n- `PluginFactoryOEMV3`, use `PluginFactoryOEMV4` instead.\n- `ToolbarControllerOEMV1`, use `ToolbarControllerOEMV2` instead.\n- `ContentListItemOEMV1`, use `ContentListItemOEMV2` instead.\n- `ImeSearchInterfaceOEMV1`, use `ImeSearchInterfaceOEMV2` instead.\n\nReplaced the library implementation of nullness interfaces with implementations\nof `androidx.annotations`.\n\ncar-ui-lib-plugin-apis 1.1.1\n----------------------------\n\nThis release updates the `minSdkVersion` to 28.\n\ncar-ui-lib 2.2.1\n----------------\n\nThis release:\n\n- Introduces `CarUiFooterPreference`\n- Updates the `minSdkVersion` to 28.\n\ncar-ui-lib-plugin-apis 1.1.0\n----------------------------\n\nThis release:\n\n- Deprecates `AppStyledViewControllerOEMV1`\n- Introduces `AppStyledViewControllerOEMV2`\n\n- Incorporates changes from `AppStyledViewControllerOEMV1`:\n\n public abstract int getContentAreaHeight();\n public abstract int getContentAreaWidth();\n\n- Deprecates `PluginFactoryOEMV1` and `PluginFactoryOEMV2`\n\n- Introduces the `PluginFactoryOEMV3` interface.\n\ncar-ui-lib 2.1.0\n----------------\n\nThis release:\n\n- Adds `AppStyledView` client APIs:\n\n public int getContentAreaHeight();\n public int getContentAreaWidth();\n\n- Introduces `CarUiPrimarySwitchPreference`\n\n- Updates the `AppStyledDialogController` constructor to require `Activity`\n instead of `Context`:\n\n - Adds:\n\n public AppStyledDialogController(android.app.Activity);\n\n - Deprecates:\n\n public AppStyledDialogController(android.content.Context);\n\ncar-ui-lib-plugin-apis 1.0.1\n----------------------------\n\nThis release adds nullness annotations.\n\ncar-ui-lib-plugin-apis 1.0.0\n----------------------------\n\nThis release introduces support for the following `car-ui-lib` plugin APIs:\n\n- `AppStyledViewDialog`\n- `CarUiRecyclerView`\n- `CarUiToolbar`\n- `CarUiListItems`\n\ncar-ui-lib 2.0.0\n----------------\n\nThis version, available on [Google\nMaven](https://maven.google.com/web/index.html?#com.android.car.ui),\nintroduces `car-ui-lib` plugin support for these components:\n\n- `AppStyledViewDialog`\n- `CarUiRecyclerView`\n- `CarUiToolbar`\n- `CarUiListItems`\n\ncar-ui-lib 1.0.0\n----------------\n\nThis release is available on AOSP for Android 12 and lower and provides\nsupport for:\n\n- `AppStyledViewDialog`\n- [`CarUiRecyclerView`](/docs/devices/automotive/hmi/car_ui/caruirecyclerview)\n- [`CarUiToolbar`](/docs/devices/automotive/hmi/car_ui/toolbar_rro)\n- [`CarUiListItems`](/docs/devices/automotive/hmi/car_ui/caruilistitem)\n- Dialog\n- Resource customization through [runtime resource overlays (RROs)](/docs/core/architecture/rros)\n- [`PreferencesFragment`](/docs/devices/automotive/hmi/car_ui/caruipreference)\n- [Rotary support](/docs/devices/automotive/hmi/rotary_controller/oem_integration)\n- `WideScreenImeKeyboard`"]]