android - Static view in scrolling Viewpager in CoordinatorLayout -


i'm working on app view hierarchy of coordinatorlayout -> viewpager -> framelayout (contained in fragment). coordinatorlayout ensures actionbar scrolls away when scrolling in fragment.

the problem i'm facing is, have view in bottom of fragment not scroll, instead stays @ bottom of fragment. view should exist in 1 of fragments, meaning placing outside viewpager not work.

is possible create static view in fragment (framelayout)?

im not 100% sure if looking if isnt explain (with code) looking for. luck project

<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:weightsum="1" android:id="@+id/coordinatorlayout" android:fitssystemwindows="true">  //part static  <scrollview     android:layout_width="match_parent"     android:layout_height="fill_parent"     android:layout_below="@+id/imageview2">      <linearlayout         android:orientation="vertical"         android:layout_width="match_parent"         android:layout_height="match_parent">       //part in scrollfiew      </linearlayout> </scrollview> </relativelayout> 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -