am sure that the method that shows the needle is not called !!
check your ondraw method


2013/4/18 bob <b...@coolfone.comze.com>

> For some reason, that thermometer example doesn't seem to work right:
>
>
> <https://lh4.googleusercontent.com/-TexVCcRcNGg/UXAygbVmnAI/AAAAAAAAAYk/7-4nLHQYVPQ/s1600/therm.png>
>
>
>
>
> Thanks.
>
> On Thursday, April 18, 2013 11:13:37 AM UTC-5, Bilthon wrote:
>>
>> I found this nice tutorial about the subject: http://mindtherobot.**
>> com/blog/272/android-custom-**ui-making-a-vintage-**thermometer/<http://mindtherobot.com/blog/272/android-custom-ui-making-a-vintage-thermometer/>
>>
>> And based on that created this Speedometer: https://github.**
>> com/bilthon/Android-**Speedometer<https://github.com/bilthon/Android-Speedometer>
>>
>> Both projects are very simple, but they demonstrate quite well how to
>> create a custom view similar to the one you apparently want.
>>
>> Nelson
>>
>>
>> On Wednesday, April 17, 2013 7:04:37 AM UTC-3, psyco wrote:
>>>
>>> hi all,
>>>
>>>
>>>
>>> <https://lh4.googleusercontent.com/-4D0DiiIo5fQ/UW5zlODBo5I/AAAAAAAAADU/wXMM1ppiHz4/s1600/thermometer_icon.png>am
>>> trying to build a custom view witch displays a gauge, what i did is :
>>> 1-designed the gauge with photoshop
>>> 2-created the cutom View and it's .XML file
>>> 3-set the bakcground gauge
>>> So, i need to know how to display a needle and how rotating it
>>> some help will be very grateful
>>>
>>>  --
> --
> 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 a topic in the
> Google Groups "Android Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/android-developers/CTlRkqPuBVI/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Abdallah Mohamed Amine
Élève ingénieur en informatique de la FST
Responsable d'un club embarqué microdesign
Tél : +216 27 105 393
<http://microdesignclub.com>

-- 
-- 
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.


Reply via email to