앱 서랍 초기 오픈 시 앱 아이콘 목록 높이가 0으로 고정되던 문제 수정

- AppDrawerBottomSheet: wrap_content 높이를 사용하는 appsList에서 setHasFixedSize(true)를 제거해 비동기 데이터 로드 직후 정상적으로 높이가 확장되도록 수정
- bottom_sheet_app_drawer.xml: nestedScrollView 하단을 quickSearchScroll 위로 제약해 키보드 표시 시 하단 겹침 방지
This commit is contained in:
2026-11-16 14:31:03 +09:00
parent 24f7361805
commit c6622c8e16
2 changed files with 2 additions and 2 deletions
@@ -193,7 +193,6 @@ class AppDrawerBottomSheet : BottomSheetDialogFragment() {
binding.appsList.layoutManager = GridLayoutManager(context, 3, GridLayoutManager.HORIZONTAL, false) binding.appsList.layoutManager = GridLayoutManager(context, 3, GridLayoutManager.HORIZONTAL, false)
binding.appsList.adapter = appsAdapter binding.appsList.adapter = appsAdapter
binding.appsList.setItemViewCacheSize(20) binding.appsList.setItemViewCacheSize(20)
binding.appsList.setHasFixedSize(true)
binding.contactList.layoutManager = GridLayoutManager(context, 2, GridLayoutManager.HORIZONTAL, false) binding.contactList.layoutManager = GridLayoutManager(context, 2, GridLayoutManager.HORIZONTAL, false)
binding.contactList.adapter = contactAdapter binding.contactList.adapter = contactAdapter
@@ -58,7 +58,7 @@
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:fillViewport="true" android:fillViewport="true"
app:layout_constraintTop_toBottomOf="@id/searchInput" app:layout_constraintTop_toBottomOf="@id/searchInput"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toTopOf="@id/quickSearchScroll"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"> app:layout_constraintEnd_toEndOf="parent">
@@ -118,6 +118,7 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
<HorizontalScrollView <HorizontalScrollView
android:id="@+id/quickSearchScroll"
android:layout_width="wrap_content" android:layout_width="wrap_content"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"