java - space between nested scrollview and collapsing toolbar android -


helo,

i working on app 1 website. have issue collapsing toolbar , nested scrollview.

it looks (http://imgur.com/upija59) when open article first time. after scrolling down white space between text , image removes.

here layout activity:

<android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".main.articletoolbar">  <android.support.design.widget.appbarlayout     android:layout_height="192dp"     android:layout_width="match_parent"     android:fitssystemwindows="true"     android:id="@+id/appbar_article">     <android.support.design.widget.collapsingtoolbarlayout         android:fitssystemwindows="true"         android:id="@+id/collapsing_toolbar"         app:contentscrim="?attr/colorprimary"         app:expandedtitlemarginend="64dp"         app:expandedtitlemarginstart="48dp"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:elevation="4dp"         app:layout_scrollflags="scroll|exituntilcollapsed">         <imageview             android:layout_width="match_parent"             android:layout_height="match_parent"             android:scaletype="centercrop"             android:id="@+id/head_image"             app:layout_collapsemode="parallax"             app:layout_collapseparallaxmultiplier="0.7"/>         <relativelayout             android:layout_width="match_parent"             android:layout_height="match_parent"             android:fitssystemwindows="true"             android:orientation="vertical">             <textview                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:id="@+id/article_header"                 android:textsize="23sp"                 android:gravity="bottom" />         </relativelayout>         <android.support.v7.widget.toolbar             android:layout_height="?attr/actionbarsize"             android:id="@+id/toolbar_article"             android:layout_width="match_parent"             app:popuptheme="@style/apptheme"             app:layout_collapsemode="pin"             app:layout_scrollflags="scroll|enteralwayscollapsed"/>     </android.support.design.widget.collapsingtoolbarlayout> </android.support.design.widget.appbarlayout>  <framelayout     android:id="@+id/container_article"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_below="@+id/appbar_article"     app:layout_behavior="@string/appbar_scrolling_view_behavior"/> 

what can suggest? thank you.

i solved issue adding android:layout_gravity="fill_vertical" nestedscrollview.

same issue here collapsingtoolbarlayout leaves white space below

and seems design library still little buggy.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -