hi,all
Someone have try add some widget to listview here? I want to add a
progressbar to the bottom of some row of listview.But now, I only know the
way to add the seekbar to every row of the listview by add a progessbar to
the layout of the  listview. [  ListAdapter scbooks = new
SimpleCursorAdapter(this,R.layout.bookrow_layout,bookcur, from, to); ]

here is my bookrow_layout.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
  <!-- ???? -->
   <TextView android:id="@+id/booklist1"
  android:layout_width="wrap_content"
  android:layout_height="30dip"
  android:maxWidth="200dip"
  android:textSize="20dip"
  android:layout_marginTop="10dip" />
    <ProgressBar android:id="@+id/progress_horizontal"
        style="?android:attr/progressBarStyleHorizontal"
        android:layout_width="fill_parent"
        android:layout_height="5dip"
        android:max="100"
        android:progress="30"
        android:background="#00FF00"
        android:textColor="#00FF00"/>
</RelativeLayout>
Are some way to add the progressbar to some row of the listview?
Or are there some way to get the ID of the listview?
anyone can help me?thanks in advance. 非常感谢!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to