<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/PoiActionsTab"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<LinearLayout
android:id="@+id/btncontainer"
android:layout_width="150dip"
android:layout_height="wrap_content"
android:orientation="vertical" >
<Button ... />
<Button ... />
<Button ... />
<ProgressBar
android:id="@+id/waitStreetViewCheck"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:indeterminate="true"
android:padding="7dip"
android:visibility="visible" />
</LinearLayout>
<ImageView
android:id="@+id/imgMapLocation"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/btncontainer"
android:layout_alignBottom="@+id/btncontainer"
android:layout_toRightOf="@+id/btncontainer"
android:padding="5dip"
android:scaleType="fitCenter"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/imgLoading"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/btncontainer"
android:layout_alignBottom="@+id/btncontainer"
android:layout_toRightOf="@+id/btncontainer" >
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>
</RelativeLayout>
It is the second ProgressBar which does not show at runtime.
I do not hide it or the RelativeLayout container at the onCreate stage - have checked.
On Monday, 27 August 2012 19:27:30 UTC+2, TreKing wrote:
--On Mon, Aug 27, 2012 at 11:06 AM, Simon Giddings <mr.s.g...@gmail.com> wrote:Is there a limit to only one ProgressBar per Activity ?
I can't imagine there would be.
I have a layout which needs two independent progress bar instances, but only one is displayed at runtime.
Maybe you're doing something wrong? Perhaps a better explanation of your problem and some sample code of what you're doing is in order?
------------------------------------------------------------ ------------------------------ -------
TreKing - Chicago transit tracking app for Android-powered devices
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment