I have this little excerpt nestled within another Linear Layout.
I simply want to have a progress wheel with text to its right,
situated near each other and centered within a dark band spanning the
length of the display.

However, when this is set visible, the little wheel is shown but the
text is not.

What is wrong?

<LinearLayout
                        android:id="@+id/main_status_layout"
                        android:padding="15dip"
                        android:orientation="vertical"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal"
                        android:background="@android:drawable/alert_dark_frame">

                          <ProgressBar
                                android:id="@+id/main_progress"
                                android:textSize="6pt"
                                style="?android:attr/progressBarStyleSmall"
                                android:textColor="#000000"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"/>

                           <TextView
                                  android:id="@+id/main_status_text"
                                  android:layout_gravity="center_vertical"
                                  android:textSize="8pt"
                                  android:textColor="#ffffff"
                                  android:layout_width="wrap_content"
                                  android:layout_height="wrap_content"
                                  />
          </LinearLayout>

tone
-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to