Problem with vertical and horizontal scroll in an app

0

I'm working on a simple app that contains "CollapsingToolbarLayout" and "Tabs" on android, the content I'm showing in the app is a "RecyclerView" but I'm having a problem, when it is "scroll" from top to bottom and I try to do it trmabien to one side and it does not work, it is as if the "scroll" of the tabs and collide with the scroll of "CollapsingToolbarLayout" I would like to know if you can replicate the operation of scroll as the d ela app of whats , in which you can "scroll" from top to bottom and if you want to the activity and do the sides of the tabs.

This using right now.

<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Activities.MainActivity">



    <android.support.design.widget.AppBarLayout
        android:id="@+id/appbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fitsSystemWindows="true">

        <android.support.design.widget.CollapsingToolbarLayout
            android:id="@+id/colappsingtoolbar"
            android:layout_width="match_parent"
            android:layout_height="155dp"
            app:contentScrim="?attr/colorPrimary"
            app:expandedTitleMarginEnd="64dp"
            app:expandedTitleMarginStart="48dp"
            app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"
            app:title=" ">
    
asked by Pedro 03.12.2018 в 23:58
source

0 answers