listview卷轴中的问题 [英] problem in listview scroller
本文介绍了listview卷轴中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我的Scrollbar正在移出布局..如何解决这个问题..
我试过滚动条尺寸..但它无法正常工作..
i不知道我在哪里......这是我的代码..
hi
my Scrollbar is moving out of the lay out .. how to fix that..
I tried scroll bar size .. but its not working..
i dont know where i am strucking.. this is my code..
<br />
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"><br />
android:layout_width="wrap_content"<br />
android:layout_height="wrap_content"<br />
android:layout_marginTop="10dp"<br />
android:removed="@drawable/pop_up_peopleup"<br />
android:paddingLeft="10dp" ><br />
<br />
<textview><br />
android:id="@+id/txt_list"<br />
android:layout_width="wrap_content"<br />
android:layout_height="30dp" /><br />
<br />
<scrollview><br />
android:id="@+id/scroller"<br />
android:layout_width="wrap_content"<br />
android:layout_height="wrap_content"<br />
><br />
<!-- android:layout_marginTop="30dip" --><br />
<br />
<!-- android:fadingEdgeLength="5dip" --><br />
<!-- android:scrollbars="none" > --><br />
<br />
<linearlayout><br />
android:id="@+id/tracks"<br />
android:layout_width="wrap_content"<br />
android:layout_height="wrap_content"<br />
android:layout_weight="1"<br />
<br />
android:orientation="vertical"<br />
android:paddingBottom="10dp"<br />
android:paddingLeft="10dp"<br />
android:paddingRight="25dp"<br />
android:paddingTop="0dp" /><br />
</linearlayout></scrollview><br />
<br />
<ImageView<br />
android:id="@+id/arrow_up"<br />
android:layout_width="wrap_content"<br />
android:layout_height="wrap_content"<br />
android:src="@drawable/arrow_up"<br />
android:visibility="gone" /><br />
<br />
<ImageView<br />
android:id="@+id/arrow_down"<br />
android:layout_width="wrap_content"<br />
android:layout_height="wrap_content"<br />
android:layout_below="@id/scroller"<br />
android:layout_marginTop="-4dip"<br />
android:src="@drawable/arrow_down"<br />
android:visibility="gone" /><br />
<br />
</textview></relativelayout>
推荐答案
这篇关于listview卷轴中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文