xml - How to use NestedScrollView into CollapsingToolbarLayout on Android -
in application should use nestedscrollview
collapsingtoolbarlayout
.
in nestedscrollview
show many views , data not scrolled in nestedscrollview
, not show of views!
my xml codes:
<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/celebritydetail_root" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" android:fitssystemwindows="true"> <app.test.com.utils.componenets.controllableappbarlayout android:id="@+id/celebritydetail_appbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/white" android:fitssystemwindows="true" android:theme="@style/themeoverlay.appcompat.dark.actionbar"> <android.support.design.widget.collapsingtoolbarlayout android:id="@+id/celebritydetail_collapsingtoolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:fitssystemwindows="true" app:contentscrim="@color/colorprimary" app:layout_scrollflags="scroll|exituntilcollapsed" app:titleenabled="false"> <android.support.v4.widget.nestedscrollview android:layout_width="match_parent" android:layout_height="wrap_content"> <relativelayout android:layout_width="match_parent" android:layout_height="wrap_content"> <!--header layout--> <relativelayout android:id="@+id/celebritydetail_coverheader" android:layout_width="match_parent" android:layout_height="@dimen/size250"> <!--cover blur image--> <imageview android:id="@+id/celebritydetail_coverblurimage" android:layout_width="match_parent" android:layout_height="@dimen/size250" android:scaletype="centercrop" app:layout_collapsemode="parallax" /> <!--cover shadow--> <imageview android:id="@+id/celebritydetail_covershadow" android:layout_width="match_parent" android:layout_height="@dimen/size250" android:background="@color/black40" android:scaletype="centercrop" android:visibility="visible" app:layout_collapsemode="parallax" /> <!--avatar--> <imageview android:id="@+id/celebritydetail_avatarimage" android:layout_width="@dimen/size80" android:layout_height="@dimen/size80" android:layout_above="@+id/celebritydetail_celebrityname" android:layout_centerhorizontal="true" android:layout_marginbottom="@dimen/padding5" android:scaletype="centercrop" /> <!--celebrity name--> <textview android:id="@+id/celebritydetail_celebrityname" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/celebritydetail_toptenimage" android:layout_marginbottom="@dimen/padding10" android:layout_marginleft="@dimen/padding10" android:layout_marginright="@dimen/padding10" android:gravity="center" android:textcolor="@color/white" android:textsize="@dimen/font18" /> </relativelayout> <!--award--> <relativelayout android:id="@+id/celebritydetail_awardlay" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/celebritydetail_birthdiedline" android:layout_margintop="@dimen/padding5"> <textview android:id="@+id/infomoviefrag_awardtitle" android:layout_width="match_parent" android:layout_height="@dimen/size30" android:layout_marginbottom="@dimen/padding5" android:layout_marginleft="@dimen/padding10" android:gravity="center_vertical" android:text="@string/awards" android:textcolor="@color/darkbluegrey" android:textsize="@dimen/font16" /> <!--academy award--> <relativelayout android:id="@+id/infomoviefrag_awardacademyheaderlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardtitle" android:visibility="visible"> <!--title--> <textview android:id="@+id/infomoviefrag_awardacademyheadertitle" android:layout_width="wrap_content" android:layout_height="@dimen/size40" android:layout_marginleft="@dimen/padding10" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/academyawards" android:textcolor="@color/darkgrey" android:textsize="@dimen/font14" /> <!--nominations--> <relativelayout android:id="@+id/infomoviefrag_awardacademynominatedlay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size40" android:layout_alignparentright="true" android:layout_marginright="@dimen/padding10"> <textview android:id="@+id/infomoviefrag_awardacademynominatedtxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/nominations" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardacademynominatedcounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardacademynominatedtxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <!--won--> <relativelayout android:id="@+id/infomoviefrag_awardacademywinslay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size40" android:layout_marginright="@dimen/padding10" android:layout_toleftof="@+id/infomoviefrag_awardacademynominatedlay"> <textview android:id="@+id/infomoviefrag_awardacademywinstxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/wins" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardacademywinscounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardacademywinstxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <android.support.v7.widget.recyclerview android:id="@+id/infomoviefrag_awardacademyrecyclerview" android:layout_width="match_parent" android:layout_height="@dimen/size80" android:layout_below="@id/infomoviefrag_awardacademyheadertitle" /> </relativelayout> <!--line--> <relativelayout android:id="@+id/infomoviefrag_awardline" android:layout_width="match_parent" android:layout_height="@dimen/size0.2" android:layout_below="@+id/infomoviefrag_awardacademyheaderlay" android:layout_marginleft="@dimen/padding10" android:layout_marginright="@dimen/padding10" android:layout_margintop="@dimen/padding5" android:alpha="0.3" android:background="@color/darkbluegrey" android:visibility="visible" /> <!--golden globe--> <relativelayout android:id="@+id/infomoviefrag_awardgoldenheaderlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardline" android:layout_margintop="@dimen/padding5" android:visibility="visible"> <textview android:id="@+id/infomoviefrag_awardgoldenheadertitle" android:layout_width="wrap_content" android:layout_height="@dimen/size50" android:layout_marginleft="@dimen/padding10" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/goldenglobe" android:textcolor="@color/darkgrey" android:textsize="@dimen/font14" /> <relativelayout android:id="@+id/infomoviefrag_awardgoldennominatedlay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size50" android:layout_alignparentright="true" android:layout_marginright="@dimen/padding10"> <textview android:id="@+id/infomoviefrag_awardgoldennominatedtxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/nominations" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardgoldennominatedcoundtxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardgoldennominatedtxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <relativelayout android:id="@+id/infomoviefrag_awardgoldenwinslay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size50" android:layout_marginright="@dimen/padding10" android:layout_toleftof="@+id/infomoviefrag_awardgoldennominatedlay"> <textview android:id="@+id/infomoviefrag_awardgoldenwinstxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/wins" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardgoldenwinscounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardgoldenwinstxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <android.support.v7.widget.recyclerview android:id="@+id/infomoviefrag_awardgoldenrecyclerview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardgoldenheadertitle" android:orientation="horizontal" app:layoutmanager="android.support.v7.widget.linearlayoutmanager" /> </relativelayout> </relativelayout> <android.support.v4.widget.space android:layout_width="match_parent" android:layout_height="@dimen/size20" android:layout_below="@+id/celebritydetail_birthdiedlay" /> </relativelayout> </android.support.v4.widget.nestedscrollview> <android.support.v7.widget.toolbar android:id="@+id/celebritydetail_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionbarsize" android:layout_gravity="top" app:layout_collapsemode="pin" app:popuptheme="@style/themeoverlay.appcompat.light"> <relativelayout android:layout_width="match_parent" android:layout_height="wrap_content"> <imageview android:id="@+id/celebritydetail_toolbarback" android:layout_width="@dimen/size30" android:layout_height="@dimen/size30" android:layout_alignparentleft="true" android:layout_centervertical="true" android:layout_marginright="@dimen/padding10" android:padding="@dimen/padding5" android:src="@drawable/back_arrow_image" android:tint="@color/white" /> <textview android:id="@+id/celebritydetail_toolbartitle" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_toleftof="@+id/celebritydetail_toolbarsearch" android:layout_torightof="@+id/celebritydetail_toolbarback" android:ellipsize="end" android:fontfamily="sans-serif-light" android:gravity="center" android:maxlines="1" android:shadowcolor="@color/black" android:shadowdx="1" android:shadowdy="1" android:shadowradius="1" android:textcolor="@color/white" android:textsize="@dimen/font16" /> <imageview android:id="@+id/celebritydetail_toolbarsearch" android:layout_width="@dimen/size30" android:layout_height="@dimen/size30" android:layout_alignparentright="true" android:layout_centervertical="true" android:layout_marginright="@dimen/padding10" android:padding="@dimen/size3" android:src="@drawable/ic_search" android:tint="@color/white" /> </relativelayout> </android.support.v7.widget.toolbar> </android.support.design.widget.collapsingtoolbarlayout> <app.test.com.utils.componenets.plustablayout.tablayoutplus android:id="@+id/celebrity_tablayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/celebrity_toolbar" android:minheight="?attr/actionbarsize" android:paddingbottom="@dimen/size3" android:paddingleft="@dimen/size3" android:paddingright="@dimen/size3" android:theme="@style/themeoverlay.appcompat.dark.actionbar" app:tabindicatorcolor="@color/coloraccent" app:tabselectedtextcolor="@color/coloraccent" app:tabtextappearance="@style/allcapstablayout" app:tabtextcolor="@color/white" /> </app.test.com.utils.componenets.controllableappbarlayout> <app.test.com.utils.componenets.disableswipeviewpager android:id="@+id/celebrity_viewpager" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/celebrity_tablayout" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> <progressbar android:id="@+id/celebrity_progressbar" android:layout_width="@dimen/size25" android:layout_height="@dimen/size25" android:layout_centerinparent="true" android:layout_gravity="center" /> </android.support.design.widget.coordinatorlayout>
how can fix problem? please me
try code :
<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/celebritydetail_root" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" android:fitssystemwindows="true"> <app.test.com.utils.componenets.controllableappbarlayout android:id="@+id/celebritydetail_appbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/white" android:fitssystemwindows="true" android:theme="@style/themeoverlay.appcompat.dark.actionbar"> <android.support.design.widget.collapsingtoolbarlayout android:id="@+id/celebritydetail_collapsingtoolbar" android:layout_width="match_parent" android:layout_height="match_parent" android:fitssystemwindows="true" app:contentscrim="@color/colorprimary" app:layout_scrollflags="scroll|exituntilcollapsed" app:titleenabled="false"> <android.support.v4.widget.nestedscrollview android:layout_width="match_parent" android:layout_height="wrap_content"> <relativelayout android:layout_width="match_parent" android:layout_height="wrap_content"> <!--header layout--> <relativelayout android:id="@+id/celebritydetail_coverheader" android:layout_width="match_parent" android:layout_height="@dimen/size250"> <!--cover blur image--> <imageview android:id="@+id/celebritydetail_coverblurimage" android:layout_width="match_parent" android:layout_height="@dimen/size250" android:scaletype="centercrop" app:layout_collapsemode="parallax" /> <!--cover shadow--> <imageview android:id="@+id/celebritydetail_covershadow" android:layout_width="match_parent" android:layout_height="@dimen/size250" android:background="@color/black40" android:scaletype="centercrop" android:visibility="visible" app:layout_collapsemode="parallax" /> <!--avatar--> <imageview android:id="@+id/celebritydetail_avatarimage" android:layout_width="@dimen/size80" android:layout_height="@dimen/size80" android:layout_above="@+id/celebritydetail_celebrityname" android:layout_centerhorizontal="true" android:layout_marginbottom="@dimen/padding5" android:scaletype="centercrop" /> <!--celebrity name--> <textview android:id="@+id/celebritydetail_celebrityname" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/celebritydetail_toptenimage" android:layout_marginbottom="@dimen/padding10" android:layout_marginleft="@dimen/padding10" android:layout_marginright="@dimen/padding10" android:gravity="center" android:textcolor="@color/white" android:textsize="@dimen/font18" /> </relativelayout> <!--award--> <relativelayout android:id="@+id/celebritydetail_awardlay" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/celebritydetail_birthdiedline" android:layout_margintop="@dimen/padding5"> <textview android:id="@+id/infomoviefrag_awardtitle" android:layout_width="match_parent" android:layout_height="@dimen/size30" android:layout_marginbottom="@dimen/padding5" android:layout_marginleft="@dimen/padding10" android:gravity="center_vertical" android:text="@string/awards" android:textcolor="@color/darkbluegrey" android:textsize="@dimen/font16" /> <!--academy award--> <relativelayout android:id="@+id/infomoviefrag_awardacademyheaderlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardtitle" android:visibility="visible"> <!--title--> <textview android:id="@+id/infomoviefrag_awardacademyheadertitle" android:layout_width="wrap_content" android:layout_height="@dimen/size40" android:layout_marginleft="@dimen/padding10" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/academyawards" android:textcolor="@color/darkgrey" android:textsize="@dimen/font14" /> <!--nominations--> <relativelayout android:id="@+id/infomoviefrag_awardacademynominatedlay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size40" android:layout_alignparentright="true" android:layout_marginright="@dimen/padding10"> <textview android:id="@+id/infomoviefrag_awardacademynominatedtxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/nominations" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardacademynominatedcounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardacademynominatedtxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <!--won--> <relativelayout android:id="@+id/infomoviefrag_awardacademywinslay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size40" android:layout_marginright="@dimen/padding10" android:layout_toleftof="@+id/infomoviefrag_awardacademynominatedlay"> <textview android:id="@+id/infomoviefrag_awardacademywinstxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/wins" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardacademywinscounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardacademywinstxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <android.support.v7.widget.recyclerview android:id="@+id/infomoviefrag_awardacademyrecyclerview" android:layout_width="match_parent" android:layout_height="@dimen/size80" android:layout_below="@id/infomoviefrag_awardacademyheadertitle" /> </relativelayout> <!--line--> <relativelayout android:id="@+id/infomoviefrag_awardline" android:layout_width="match_parent" android:layout_height="@dimen/size0.2" android:layout_below="@+id/infomoviefrag_awardacademyheaderlay" android:layout_marginleft="@dimen/padding10" android:layout_marginright="@dimen/padding10" android:layout_margintop="@dimen/padding5" android:alpha="0.3" android:background="@color/darkbluegrey" android:visibility="visible" /> <!--golden globe--> <relativelayout android:id="@+id/infomoviefrag_awardgoldenheaderlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardline" android:layout_margintop="@dimen/padding5" android:visibility="visible"> <textview android:id="@+id/infomoviefrag_awardgoldenheadertitle" android:layout_width="wrap_content" android:layout_height="@dimen/size50" android:layout_marginleft="@dimen/padding10" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/goldenglobe" android:textcolor="@color/darkgrey" android:textsize="@dimen/font14" /> <relativelayout android:id="@+id/infomoviefrag_awardgoldennominatedlay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size50" android:layout_alignparentright="true" android:layout_marginright="@dimen/padding10"> <textview android:id="@+id/infomoviefrag_awardgoldennominatedtxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/nominations" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardgoldennominatedcoundtxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardgoldennominatedtxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <relativelayout android:id="@+id/infomoviefrag_awardgoldenwinslay" android:layout_width="@dimen/size100" android:layout_height="@dimen/size50" android:layout_marginright="@dimen/padding10" android:layout_toleftof="@+id/infomoviefrag_awardgoldennominatedlay"> <textview android:id="@+id/infomoviefrag_awardgoldenwinstxt" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignparentright="true" android:fontfamily="sans-serif-light" android:gravity="center_vertical" android:text="@string/wins" android:textcolor="@color/colorprimary" android:textsize="@dimen/font12" /> <textview android:id="@+id/infomoviefrag_awardgoldenwinscounttxt" android:layout_width="@dimen/size20" android:layout_height="@dimen/size20" android:layout_centervertical="true" android:layout_marginright="@dimen/size2" android:layout_toleftof="@+id/infomoviefrag_awardgoldenwinstxt" android:background="@drawable/circle_primary_color" android:fontfamily="sans-serif-light" android:gravity="center" android:textcolor="@android:color/white" android:textsize="@dimen/font12" /> </relativelayout> <android.support.v7.widget.recyclerview android:id="@+id/infomoviefrag_awardgoldenrecyclerview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/infomoviefrag_awardgoldenheadertitle" android:orientation="horizontal" app:layoutmanager="android.support.v7.widget.linearlayoutmanager" /> </relativelayout> </relativelayout> <android.support.v4.widget.space android:layout_width="match_parent" android:layout_height="@dimen/size20" android:layout_below="@+id/celebritydetail_birthdiedlay" /> </relativelayout> </android.support.v4.widget.nestedscrollview> <android.support.v7.widget.toolbar android:id="@+id/celebritydetail_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionbarsize" android:layout_gravity="top" app:layout_collapsemode="pin" app:popuptheme="@style/themeoverlay.appcompat.light"> <relativelayout android:layout_width="match_parent" android:layout_height="wrap_content"> <imageview android:id="@+id/celebritydetail_toolbarback" android:layout_width="@dimen/size30" android:layout_height="@dimen/size30" android:layout_alignparentleft="true" android:layout_centervertical="true" android:layout_marginright="@dimen/padding10" android:padding="@dimen/padding5" android:src="@drawable/back_arrow_image" android:tint="@color/white" /> <textview android:id="@+id/celebritydetail_toolbartitle" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_toleftof="@+id/celebritydetail_toolbarsearch" android:layout_torightof="@+id/celebritydetail_toolbarback" android:ellipsize="end" android:fontfamily="sans-serif-light" android:gravity="center" android:maxlines="1" android:shadowcolor="@color/black" android:shadowdx="1" android:shadowdy="1" android:shadowradius="1" android:textcolor="@color/white" android:textsize="@dimen/font16" /> <imageview android:id="@+id/celebritydetail_toolbarsearch" android:layout_width="@dimen/size30" android:layout_height="@dimen/size30" android:layout_alignparentright="true" android:layout_centervertical="true" android:layout_marginright="@dimen/padding10" android:padding="@dimen/size3" android:src="@drawable/ic_search" android:tint="@color/white" /> </relativelayout> </android.support.v7.widget.toolbar> </android.support.design.widget.collapsingtoolbarlayout> <app.test.com.utils.componenets.plustablayout.tablayoutplus android:id="@+id/celebrity_tablayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/celebrity_toolbar" android:minheight="?attr/actionbarsize" android:paddingbottom="@dimen/size3" android:paddingleft="@dimen/size3" android:paddingright="@dimen/size3" android:theme="@style/themeoverlay.appcompat.dark.actionbar" app:tabindicatorcolor="@color/coloraccent" app:tabselectedtextcolor="@color/coloraccent" app:tabtextappearance="@style/allcapstablayout" app:tabtextcolor="@color/white" /> </app.test.com.utils.componenets.controllableappbarlayout> <app.test.com.utils.componenets.disableswipeviewpager android:id="@+id/celebrity_viewpager" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/celebrity_tablayout" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> <progressbar android:id="@+id/celebrity_progressbar" android:layout_width="@dimen/size25" android:layout_height="@dimen/size25" android:layout_centerinparent="true" android:layout_gravity="center" /> </android.support.design.widget.coordinatorlayout>
Comments
Post a Comment