I am trying to create a leveler in android, but i have seriously no idea how to do it right. The return values from the accelerometer are between 10 and -10, and i have no idea how to animate a view so i looks like a real leveler. Does anyone have some sample code i can look in to?
I have searched the whole internet but could not find any example of a leveler.
Thanks in advance!
Sample source for one can be found here.
Can you use the sample code for the Bubble level here?
http://code.google.com/p/androgames-sample/
Related
I am trying to make a custom gauge in android. I googled a lot but I can only find examples for gauges using a needle. I however want to make a range gauge (no needle)
Can anyone help me or give me an example?
Thanks in advance.
Custom implementation of ProgressBar also exist. Please see https://github.com/Todd-Davies/ProgressWheel.
Hope this helps.
Going straight forward..
1.what i achieved so far (thanks to pakerfeldt- https://github.com/pakerfeldt/android-viewflow)
2.what i need actually
so almost done..but you can see bottom shadow functionality (at viewflow) in iphone screen (and it can pull down and can see entire image). so does anyone achieved something similar in android ?
any other library for reference ?
Thanks in advance. answer will be appreciated.
Thanks.
I'm going to develop a UI something like the image below, but I don't know how can I get boxes likes this with shadows behind ?
How can I achieve this ? I'm wondering if TableLayout may be a good tool for this but I don't know where to start and how to add shadows. Any helps appreciated.
Take a look at this blog spot, "Definitely the most helpful post on this subject, 10x." :
http://www.uifuel.com/android-creating-a-drop-shadow-in-xml-layout/
You can also use 9-patched images. Here you can find a good tutorial.
I want to apply animation to android grid child.Is there any useful tutorial or example code.Please provide some help.
http://developer.android.com/reference/android/view/animation/GridLayoutAnimationController.html
android-flip3d
Yes there are a lot of.first if you google it then you could find better answer yourself.Anyway this is little help for you
http://www.java2s.com/Code/Android/UI/Alayoutthatarrangesitschildreninagrid.htm
http://developerlife.com/tutorials/?p=343
You can get the idea Enjoy...
does anybody know what android widget/view this is:
i want to be able to implement a similar widget for my own needs but i dont know what kind of view/widget it is. All i see is that it is embeded on the ContactContract class as a quickContact object.
Anyone used one of these and customized it? if so, how? Thanks in advance
edit: is it also possible to include more than 5 items as shown below and have it scrollable horizontaly
This is QuickAction. Here you can find implementation of it. And there is repository on Github with source code.
I'm not quite sure, but it seems a custom toast
http://developer.android.com/guide/topics/ui/notifiers/toasts.html