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

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 - Set Icon for menu item in the XML

Set Icon for menu item in the XML

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

Set Icon for menu item in the XML

Postby ploki » Mon Sep 28, 2009 7:30 pm

Hello.

How Can I set icon for the item in the xml file?
I try this, but does'nt work:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. <item android:id="@+id/about"
  3.  
  4.    android:title="About"
  5.  
  6.    android:src=  <!-- icon? -->
  7.  
  8.     "android.R.drawable.ic_menu_help" <!--if I want any graphic from the android resources I must writing this, or sth else? -->
  9.  
  10. />
  11.  
  12.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4

I would the xml layout than dynamic(if it possible of course), so if anyone knows how to do it - I will be grateful for help.

Thanks!
ploki
Freshman
Freshman
 
Posts: 4
Joined: Thu Sep 24, 2009 12:06 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests