[android-developers] Re: Canvas Android

2013-02-14 Thread bob
 

Put it in the drawable-nodpi folder, and the clarity will not be reduced.



On Thursday, February 14, 2013 12:04:31 AM UTC-6, janvi wrote:

 Image its clarity gets reduced when we use on devices of different sizes

 So...



 On Tuesday, February 12, 2013 11:24:36 PM UTC+5:30, bob wrote:

 Why not just use an image?



 On Tuesday, February 12, 2013 11:03:57 AM UTC-6, janvi wrote:

 Thanks 

 But those shaders are not suting my requirement

 I have drawn vertical rectangle and want to fill lines in that so plz 
 suggest me or give me some sample sample example

 Thanks in advance

 On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote:



 janvi wrote: 
  Hello all 
  
  I need small info,I have drawn a rectangle using canvas in android 
 now i 
  want to fill this rectangle with lines instead of solid color 
  
  Plz help me out to solve this 
  
  Which gradient is useful in this case?? 

 see all the Shaders available on the platform: 

 http://developer.android.com/reference/android/graphics/Shader.html 

 pskink 



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-13 Thread janvi
Image its clarity gets reduced when we use on devices of different sizes

So...



On Tuesday, February 12, 2013 11:24:36 PM UTC+5:30, bob wrote:

 Why not just use an image?



 On Tuesday, February 12, 2013 11:03:57 AM UTC-6, janvi wrote:

 Thanks 

 But those shaders are not suting my requirement

 I have drawn vertical rectangle and want to fill lines in that so plz 
 suggest me or give me some sample sample example

 Thanks in advance

 On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote:



 janvi wrote: 
  Hello all 
  
  I need small info,I have drawn a rectangle using canvas in android now 
 i 
  want to fill this rectangle with lines instead of solid color 
  
  Plz help me out to solve this 
  
  Which gradient is useful in this case?? 

 see all the Shaders available on the platform: 

 http://developer.android.com/reference/android/graphics/Shader.html 

 pskink 



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-13 Thread janvi
Bitmap shader is nothing but use an image which i dont want to do

any alternate plz!!

On Tuesday, February 12, 2013 10:38:05 PM UTC+5:30, skink wrote:



 janvi wrote: 
  Thanks 
  
  But those shaders are not suting my requirement 
  
  I have drawn vertical rectangle and want to fill lines in that so plz 
  suggest me or give me some sample sample example 
  
  Thanks in advance 
  
  On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote: 
   
   
   
   janvi wrote: 
Hello all 

I need small info,I have drawn a rectangle using canvas in android 
 now i 
want to fill this rectangle with lines instead of solid color 

Plz help me out to solve this 

Which gradient is useful in this case?? 
   
   see all the Shaders available on the platform: 
   
   http://developer.android.com/reference/android/graphics/Shader.html 
   
   pskink 
   

 did you try all of them? 

 what about BitmapShader? 

 pskink 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-13 Thread skink


janvi wrote:
 Bitmap shader is nothing but use an image which i dont want to

why?



 any alternate plz!!

with shaders? no

pskink

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-12 Thread janvi
Thanks 

But those shaders are not suting my requirement

I have drawn vertical rectangle and want to fill lines in that so plz 
suggest me or give me some sample sample example

Thanks in advance

On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote:



 janvi wrote: 
  Hello all 
  
  I need small info,I have drawn a rectangle using canvas in android now i 
  want to fill this rectangle with lines instead of solid color 
  
  Plz help me out to solve this 
  
  Which gradient is useful in this case?? 

 see all the Shaders available on the platform: 

 http://developer.android.com/reference/android/graphics/Shader.html 

 pskink 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-12 Thread skink


janvi wrote:
 Thanks

 But those shaders are not suting my requirement

 I have drawn vertical rectangle and want to fill lines in that so plz
 suggest me or give me some sample sample example

 Thanks in advance

 On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote:
 
 
 
  janvi wrote:
   Hello all
  
   I need small info,I have drawn a rectangle using canvas in android now i
   want to fill this rectangle with lines instead of solid color
  
   Plz help me out to solve this
  
   Which gradient is useful in this case??
 
  see all the Shaders available on the platform:
 
  http://developer.android.com/reference/android/graphics/Shader.html
 
  pskink
 

did you try all of them?

what about BitmapShader?

pskink

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-12 Thread bob
 

Why not just use an image?



On Tuesday, February 12, 2013 11:03:57 AM UTC-6, janvi wrote:

 Thanks 

 But those shaders are not suting my requirement

 I have drawn vertical rectangle and want to fill lines in that so plz 
 suggest me or give me some sample sample example

 Thanks in advance

 On Friday, February 8, 2013 12:42:52 PM UTC+5:30, skink wrote:



 janvi wrote: 
  Hello all 
  
  I need small info,I have drawn a rectangle using canvas in android now 
 i 
  want to fill this rectangle with lines instead of solid color 
  
  Plz help me out to solve this 
  
  Which gradient is useful in this case?? 

 see all the Shaders available on the platform: 

 http://developer.android.com/reference/android/graphics/Shader.html 

 pskink 



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Canvas Android

2013-02-07 Thread skink


janvi wrote:
 Hello all

 I need small info,I have drawn a rectangle using canvas in android now i
 want to fill this rectangle with lines instead of solid color

 Plz help me out to solve this

 Which gradient is useful in this case??

see all the Shaders available on the platform:

http://developer.android.com/reference/android/graphics/Shader.html

pskink

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.