progressbar

Put your problem here if it does not fit any of the other categories.

progressbar

Postby greenie » Mon Apr 27, 2009 4:07 am

Hi i've been trying to get a simple "hello world progress bar" to work. Though modifying the xml does nothing. Though i can't see anything(though i don't get a crash). I also see no examples on web for xml progress bar.
I changed main.xml on the hello world example to this plus a billion variations and i see nothingnothing.


Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.  
  3.    android:orientation="vertical"
  4.  
  5.    android:layout_width="fill_parent"
  6.  
  7.    android:layout_height="fill_parent"
  8.  
  9.    >
  10.  
  11.         <ProgressBar android:id="@+id/progress_circular"
  12.  
  13.            style="?android:attr/progressBarStyleHorizontal"
  14.  
  15.            android:visibility="visible"
  16.  
  17.            android:max="10000"
  18.  
  19.            android:layout_centerVertical="true"
  20.  
  21.            android:layout_alignParentRight="true"
  22.  
  23.            android:layout_marginLeft="6dip"
  24.  
  25.            android:layout_width="fill_parent"
  26.  
  27.            android:layout_height="fill_parent" />
  28.  
  29. </LinearLayout>
  30.  
  31.  
Parsed in 0.002 seconds, using GeSHi 1.0.8.4


Thank you in advance

Never mind i think it is working now ><
greenie
Freshman
Freshman
 
Posts: 3
Joined: Wed Apr 22, 2009 4:33 am

Top

Postby alpesh_harsoda » Wed Apr 29, 2009 12:53 pm

Try this. this is perfectly run in my application.
<ProgressBar android:id="@+id/progress_horizontal"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="200dip"
android:layout_height="wrap_content"
android:max="100"
android:progress="50"
android:secondaryProgress="75" />
Regards,
Alpesh Patel,
Logistic Infotech
http://www.logisticinfotech.com
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 16 guests