나는 scrollview에 어려움을 겪고있다.스크롤 가능한 내용 사이의 고정 된 버튼
콘텐츠 (1), 버튼 (2) 및 콘텐츠 (3)를 표시하고 싶습니다.
스크롤 할 때 버튼이 내 활동 상단에 고정되도록하고 싶습니다.
:1
2
3
을 나는 curently이 사용하고
2 (fixed at top)
3 (still scrollable).
내가 스크롤
2 (fixed at top)
3 (this part start to scroll when the 1 disapear at top)
스크롤 :이 될 수 있도록
나는, 이미지를 게시 할 수 없습니다
<ScrollView
android:id="@+id/sv_entete"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/layout_bar"
android:background="@color/gris_blanc" >
<RelativeLayout
android:id="@+id/layout_conteneur"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
// Some image etc.
</RelativeLayout>
</ScrollView>
<Button
android:id="@+id/btn_presentation_has_to_stay_on_top"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/sv_entete" />
<Button
android:id="@+id/btn_analyze_has_to_stay_on_top"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/sv_entete" />
<ScrollView
android:id="@+id/sv_presentation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/btn_presentation"
android:background="@color/gris_blanc" >
<RelativeLayout
android:id="@+id/layout_presentation"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
// Some image etc
</RelativeLayout>
</ScrollView>
하지만 두 번째 부분 만 스크롤 (3), 첫 번째 부분 (1) (두 번째 스크롤 뷰와 연결되어 있지는 않지만 분명히 알아낼 수는 없습니다.)
도움이 필요하십니까?