怎样使listview里面的button失去焦点,属性怎么设置

解决方案 »

  1.   

    <LinearLayout android:layout_width="fill_parent"
           android:gravity="center" 
           android:layout_height="fill_parent"
           android:descendantFocusability="blocksDescendants">
    <Button  android:layout_width="fill_parent"
     android:layout_height="fill_parent" 
                             android:focusable="false"/>
    </LinearLayout>