nestedscrollview
nestedscrollview nestedscrollview

098 280-61-91

ПН - СБ  09:00 - 19:00

 ВОСКРЕСЕНЬЕ   -   ВЫХОДНОЙ

UK RU
Вход / Регистрация

</LinearLayout> </androidx.core.widget.NestedScrollView> For the magic to work, the inner scrollable view (e.g., RecyclerView ) must have nested scrolling enabled. In modern AndroidX versions, this is true by default, but you can explicitly set it:

<androidx.core.widget.NestedScrollView app:layout_behavior="@string/appbar_scrolling_view_behavior"> <!-- Content here --> </androidx.core.widget.NestedScrollView> </androidx.coordinatorlayout.widget.CoordinatorLayout>

Enter NestedScrollView . It is the sophisticated, collaborative sibling of the classic ScrollView , designed specifically to solve nested scrolling problems. NestedScrollView is a FrameLayout that extends ScrollView but implements NestedScrollingParent and NestedScrollingChild interfaces. In plain English: It can both receive scroll events from its children and coordinate scroll events with its parent.

<androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical">

Этот сайт использует файлы cookie, чтобы помочь вам в навигации, а также предоставить лучший пользовательский опыт. Используя этот сайт, вы соглашаетесь на использование файлов cookie.

mega888 ewallet mega888 ewallet mega888 ewallet
Игры PLAYSTATION Игры XBOX Игры NINTENDO Игры PC