我已经看到了很多Android应用程序那些有ListView,我的ListViews有一些不同。在见过这样theire ListView的滚动条:使ListView滚动条的区别和更有用
在画面当您滚动您的列表滚动条会显示和u可以触摸它,更容易滚动以上。
,但在我的应用程序见过这样的:
这是我的布局XML代码:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="4dp"
android:text="@string/do"
android:textSize="16dp" />
<ListView
android:id="@+id/lv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/main_background"
>
</ListView>
</LinearLayout>
我用Google搜索了很多次,但我没有发现任何伎俩。任何人都可以帮助我如何让我的卷轴像图片一样吗?
这工作正常。谢谢你 – aTa