我想要他显示在红色线的位置,怎么解决呢?急···listviw,滚动条,android

解决方案 »

  1.   

    我的布局是这样写的:
    <?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>
      

  2.   

        android:layout_marginRight="30dp"  改小呢。
      

  3.   

    能不能说得具体一点,或者有什么demo的吗?
      

  4.   

    试试 属性 adnroid:scrollbarStyle  outsideOverlay
      

  5.   

    你的意思是要我把listviwe的自带滚动条给禁用了,然后在加上你说的那个属性是吗?