listviwe的滚动条显示位置,如何操作他的显示位置呢?抓狂ing···
我想要他显示在红色线的位置,怎么解决呢?急··· listviw,滚动条,android --------------------编程问答-------------------- 大神们,快进来帮我看看哇 --------------------编程问答-------------------- 宽度靠右 / --------------------编程问答-------------------- 啥意思啊?能不能说明白一点呢
--------------------编程问答-------------------- 我的布局是这样写的:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bgGray"
android:orientation="vertical" >
<include layout="@layout/titlebar" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="30dp" >
<!-- android:background="@drawable/more_usermanagement_listviwe_shape" -->
<ListView
android:id="@+id/lv_user_management"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/bgWhite" />
</LinearLayout>
</LinearLayout> --------------------编程问答-------------------- android:layout_marginRight="30dp" 改小呢。 --------------------编程问答-------------------- 隐藏原有的,自己画一个,来计算位置,这个图和滚动条不是一个组件 --------------------编程问答-------------------- 一样的效果呢,达不到我说的效果 --------------------编程问答-------------------- 能不能说得具体一点,或者有什么demo的吗?
--------------------编程问答-------------------- 试试 属性 adnroid:scrollbarStyle outsideOverlay --------------------编程问答-------------------- 这个属性是说当他超出文本的时候就出来滚动天是吗?貌似也没有达到我的效果哦,还有其他的方法吗? --------------------编程问答-------------------- 这个属性 还有其他值 试试其他值 记不清楚了 --------------------编程问答-------------------- 你的意思是要我把listviwe的自带滚动条给禁用了,然后在加上你说的那个属性是吗?
补充:移动开发 , Android