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 - Line problem

Line problem

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

Line problem

Postby Charles » Mon Jan 19, 2009 3:53 am

Hi All,

I want draw a break line like "- - - - - -",
I know Graphics has method drawLine() can draw lines, my code like this:
public void drawBreakLine(int x1, int y1, int x2, int y2) {
m_paint.setStyle(Paint.Style.FILL);
m_graphics.drawLine(x1, y1, x2, y2, m_paint);
}

But i do not know how to set paint to let graphics draw break line. Please help me out!

Charles
Charles
Freshman
Freshman
 
Posts: 4
Joined: Sat Dec 27, 2008 5:39 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 12 guests