Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - setProgressDrawable()

setProgressDrawable()

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

setProgressDrawable()

Postby Pandoro » Sun Jan 10, 2010 2:10 pm

Hello,

I have a xml file defining my layer-list. If I set it in the xml file for the actual layout like this

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.         <ProgressBar
  2.  
  3.                 style="?android:attr/progressBarStyleHorizontal"
  4.  
  5.  
  6.  
  7.                 android:progressDrawable="@drawable/progress_bar"
  8.  
  9.  
  10.  
  11.                 android:layout_height="30dip"
  12.  
  13.                 android:layout_width="fill_parent"
  14.  
  15.                 android:id="@+id/BusyProgress"></ProgressBar>
  16.  
  17.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


it works fine.
I wonder however how to do it with the setProgressDrawable() method in my code. I can't find a code example of this. A little hint would be appreciated.

Alex
Pandoro
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Nov 04, 2009 9:41 pm
Location: Netherlands

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests