ここに私のxmlファイルがあります
             <FrameLayout 
                 android:layout_alignParentRight="true"
                 android:layout_alignParentBottom="true"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 >
                 <Button
                    android:id="@+id/button1"
                    style="?android:attr/buttonStyleSmall"
                    android:layout_width="50dp"
                    android:layout_height="30dp"
                    android:text="@string/productButton_download"
                    android:onClick="testGetView"
                     />
                 <ProgressBar
                     style="?android:attr/progressBarStyleHorizontal"
                     android:layout_width="50dp"
                     android:layout_height="30dp"
                     android:visibility="invisible"
                      />
             </FrameLayout>
リソースIDを使用して取得する代わりに、関数testGetViewを使用してProgressBarインスタンスを取得したい
public void testGetView(View button) {
    // what can I do use this view to get the progressbar below it
}