이 페이지에서는 아래에 나열된 각 버전에서 이루어진 자동차 UI 라이브러리 업데이트를 설명합니다.
car-ui-lib 2.6.0
새로운 기능
CarUiToolbar
로고의 탭 리스너를 추가했습니다.
해결된 문제
- 플러그인을 통해 업데이트할 때
CarUiToolbar
의 오버플로 대화상자 콘텐츠가 비활성 상태로 유지되는 문제를 수정했습니다. - 잘못된 인셋이 적용되어
CarUiRecyclerView
의 스크롤바가 표시되지 않는 문제를 수정했습니다. - 플러그인이 null
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
해결된 문제
- car-ui-lib 플러그인이 로드되지 않는 ProGuard 문제를 수정했습니다.
- 런타임에 NPE를 일으키는 플러그인의 전방 호환성을 수정했습니다.
- car-ui-lib 플러그인이 시스템 앱이어야 한다고 적용합니다.
- 일부 시나리오에서
CarUiRecyclerView
에 스크롤바가 표시되지 않는 문제가 수정되었습니다. - 플러그인이 사용될 때 선택한 탭이 업데이트되지 않는 문제를 수정했습니다.
- 플러그인을 사용할 때
SearchView
인스턴스화와 관련된 문제를 수정했습니다. - 올바른 디스플레이 구성을 위해 Activity 컨텍스트를 사용하여 자동차 서비스 UX 제한 상태 콜백을 초기화합니다.
- nullness 주석을 업데이트했습니다.
car-ui-lib 2.5.0
해결된 문제
- 플러그인 시작 시간을 최적화했습니다.
- 앱이 최대 지원 플러그인 버전으로 항상 1을 반환했던 문제를 수정했습니다.
AppStyledView
에서Theme.CarUi
를 강제로 적용하기 위한 테마 덮어쓰기를 삭제했습니다.ListPreferenceFragment
에서 제목을 설정하는 재정의 가능한 메서드를 추가했습니다.
car-ui-lib-plugin-apis 1.4.0
새로운 기능
- OEM에서
CarUiPreference
를 맞춤설정할 수 있습니다.
다음 항목이 지원 중단되었습니다.
PluginFactoryOEMV5
, 대신PluginFactoryOEMV6
를 사용하세요.
car-ui-lib 2.4.0
새로운 기능
AppStyledView
로의 전환 지원이 추가되었습니다.
해결된 문제
AppStyledRecyclerViewAdapter
가 더 이상 공개되지 않도록 업데이트되었습니다.AppStyledDialogController
에 최적화되는 컨텍스트의 편의 메서드를 제공했습니다.AppStyledViewNavIcon
정의를AppStyledDialogController
로 이동했습니다.AppStyledView
의Theme.CarUi
에 대한 강제 테마 덮어쓰기를 삭제했습니다.AppStyledView
화면의 렌더링을 지원하는 전환을 추가했습니다.- 오버레이할 수 있는 항목 목록에
car_ui_recycler_view_no_scrollbar
를 추가했습니다. CarUiRecyclerView
EspressoViewActions
및ViewMatchers
용 Gradle 라이브러리를 만들었습니다.ScrollView
를 사용하도록 앱 스타일 뷰를 리팩터링했습니다.
car-ui-lib-plugin-apis 1.3.0
새로운 기능
다음 항목이 지원 중단되었습니다.
PluginFactoryOEMV4
, 대신PluginFactoryOEMV5
를 사용하세요.RecyclerViewOEMV1
, 대신RecyclerViewOEMV2
를 사용하세요.OnScrollListenerOEMV1
, 대신RecyclerViewOEMV2.OnScrollListenerOEMV2
를 사용하세요.
car-ui-lib 2.3.0
새로운 기능
새 구성요소를 추가했습니다.
CarUiShortcutsPopup
다음 스크롤바 속성에 관한 지원이 추가되었습니다.
android:fadeScrollbars
android:scrollbars
android:scrollbarThumbVertical
android:scrollbarTrackVertical
android:scrollbarStyle
android:scrollbarFadeDuration
android:verticalScrollbarPosition
android:requiresFadingEdge
해결된 문제
Activity
재생성 시 위치를 유지하지 않는CarUiRecyclerView
를 수정했습니다.클라이언트 코드와 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
클라이언트 API를 추가합니다.public int getContentAreaHeight(); public int getContentAreaWidth();
CarUiPrimarySwitchPreference
를 도입합니다.Context
대신Activity
를 요구하도록AppStyledDialogController
생성자를 업데이트합니다.추가:
public AppStyledDialogController(android.app.Activity);
지원 중단:
public AppStyledDialogController(android.content.Context);
car-ui-lib-plugin-apis 1.0.1
이 버전에는 nullness 주석이 추가되었습니다.
car-ui-lib-plugin-apis 1.0.0
이 버전에서는 다음 car-ui-lib
플러그인 API를 지원합니다.
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에서 사용할 수 있으며 다음을 지원합니다.
AppStyledViewDialog
CarUiRecyclerView
CarUiToolbar
CarUiListItems
- 대화상자
- 런타임 리소스 오버레이 (RRO)를 통한 리소스 맞춤설정
PreferencesFragment
- 로터리 지원
WideScreenImeKeyboard