在Android上立即触摸两个视图

前端之家收集整理的这篇文章主要介绍了在Android上立即触摸两个视图前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
这是我的布局:
  1. <LinearLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent" >
  6.  
  7. <SeekBar
  8. android:id="@+id/seekBar1"
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. />
  12. <TextView
  13. android:id="@+id/textView1"
  14. android:layout_width="fill_parent"
  15. android:layout_height="60dip">
  16. </TextView>
  17. <SeekBar
  18. android:id="@+id/seekBar2"
  19. android:layout_width="fill_parent"
  20. android:layout_height="wrap_content"
  21. />
  22. </LinearLayout>

我想要同时移动两个SeekBars(我将用作滑块),每个都有不同的手指,但同时.

我该如何实现?

解决方法

This可能有帮助

猜你在找的Android相关文章