Forum > Android

[solved]Android color form, vectorial graphics (windows building)

(1/3) > >>

huberte:
Hi,

I did set a color for a form (black) but it's still gray in android.

What is the fastset way to deal with buttons and their designs (image ?)

I red some posts about vectorial graphics (which are far more better if I zoom with my phone) on this forum, but not in the Android section. Would it be possible to hve an app who open such files and show them ?

thks.

felipemdc:

--- Quote from: huberte on April 24, 2012, 03:34:43 pm ---I did set a color for a form (black) but it's still gray in android.
--- End quote ---

I fixed it in this commit: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=37010


--- Quote ---What is the fastset way to deal with buttons and their designs (image ?)
--- End quote ---

What do you mean? You want to change the look of the button? To which look? Or improve the existing default look?


--- Quote ---I red some posts about vectorial graphics (which are far more better if I zoom with my phone) on this forum, but not in the Android section. Would it be possible to hve an app who open such files and show them ?
--- End quote ---

fpvectorial should work fine in Android: Read http://wiki.lazarus.freepascal.org/fpvectorial

I know that some people managed to render SVG using LCL-CustomDrawn-Android and Graphics32, but I have no idea how exactly it all works: http://wiki.lazarus.freepascal.org/File:vpr-android.png

huberte:

--- Quote ---I fixed it in this commit: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=37010
--- End quote ---

Sorry but I dont see where I should put this file or how to implement it.


--- Quote ---What do you mean? You want to change the look of the button? To which look? Or improve the existing default look?
--- End quote ---

To look like ICS button : http://developer.android.com/design/downloads/index.html I did try with image, but it's not so good


--- Quote ---I know that some people managed to render SVG using LCL-CustomDrawn-Android and Graphics32,
--- End quote ---

How can I contact Meanderix ?

felipemdc:

--- Quote from: huberte on April 25, 2012, 02:08:30 am ---Sorry but I dont see where I should put this file or how to implement it.
--- End quote ---

You need to use Lazarus from subversion and use the command "svn up" to upgrade your sources to the latest ones. Where did you obtain the Lazarus sources that you are using?


--- Quote ---To look like ICS button : http://developer.android.com/design/downloads/index.html I did try with image, but it's not so good
--- End quote ---

The best would be to create a new drawer for Android 4, my drawer is based in Android 2. Look at the file lazarus/lcl/customdrawn_android.pas and you need to write a similar file which implements Android 4 style instead of the current Android 2.


--- Quote ---How can I contact Meanderix ?
--- End quote ---

Via private message in the forum, he posted in this thread:

http://www.lazarus.freepascal.org/index.php/topic,16375.msg91337.html#new

huberte:

--- Quote ---Where did you obtain the Lazarus sources that you are using?
--- End quote ---

I'm working with w7 lazarus, then to vbox for compiling and building apk (but I'm trying to only work on 7 : too much bugs with the vbox)

Navigation

[0] Message Index

[#] Next page

Go to full version