3
A
답변
8
당신이
listView.smoothScrollToPosition(specificPosition);
7
당신이 다음 목록보기의 setSelection(position)를 호출 할 수 있습니다,리스트 뷰 위젯을 사용하는 supossed된다.
+1
'smoothScroll'이 Android 2.2 이상인 경우이 솔루션을 선호하며 목록이 클 경우 정말 오래 걸릴 수 있습니다. –
-1
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
style="?whiteBackground">
</LinearLayout>
<TextView android:id="@+id/textView1" android:layout_width="fill_parent" style="?textTitle" android:layout_height="wrap_content" android:text="Contents"></TextView>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="the following is content..."
style="?textSubheader"/>
<!-- You cannot have a ListView inside of a ScrollView. This LinearLayout acts like one. -->
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
사용할 수 있습니다 - "프로그래밍 방식으로 스크롤"에 대한 다른 질문>
<ListView android:id="@+id/lv" android:textColor="#444444"
android:layout_height="270dip"
android:textStyle="bold"
android:cacheColorHint="#00000000" android:dividerHeight="2px"
android:layout_marginTop="5px" android:layout_width="fill_parent"
android:textSize="5px" android:layout_gravity="center">
</ListView>
<TextView android:id="@+id/any_old_widgetqss"
android:layout_width="fill_parent" style="?textTitle"
android:layout_height="40px" android:text="MCMS" android:background="@drawable/colorr"></TextView>
</LinearLayout>
</LinearLayout>
</ScrollView>
관련 문제
- 1. Jquery SlideToggle AND scroll
- 2. android listview scroll scroll top 위로
- 3. ListView and enums
- 4. ListView Click and LongClick
- 5. Android : About ListView and SimpleAdapter
- 6. Jquery mobile - scroll scroll position
- 7. datatable scroll
- 8. scroll DataGridView
- 9. CursorAdapter slow/jerky scroll
- 10. Form1 Autoscroll = Verticle Scroll
- 11. jquery multiple $ (window) .scroll
- 12. scroll 내부 div 만
- 13. android scroll 최대 스크롤
- 14. 안드로이드 Webview Scroll
- 15. Jquery scroll anchor up
- 16. jquery .scroll change css
- 17. WinForms Webrowser Sync Scroll
- 18. mutual Scroll Bar
- 19. android edittext와 textview scroll
- 20. android scroll down
- 21. ListView and List Adapter in 안드로이드 색상 변경
- 22. SDL side-scroller scroll inconsistantly
- 23. DataGridView Scroll 이벤트 (및 ScrollEventType.EndScroll)
- 24. 선형 레이아웃의 android scroll view
- 25. firefox에서 jerky jquery scroll movement
- 26. jQuery scroll div with scrollTop
- 27. android gridview lag on scroll
- 28. SubSonic "Or"AND "AND"
- 29. ListView -
- 30. jquery and jScrollPane and ajax
검색, 비슷한 질문의 부하가있다 여기에 SO와 Google 모두. –