dp
Density-independent Pixels - An abstract unit that is based on the physical density of the screen. These units are relative to a 160 dpi (dots per inch) screen, on which 1dp is roughly equal to 1px. When running on a higher density screen, the number of pixels used to draw 1dp is scaled up by a factor appropriate for the screen's dpi. Likewise, when on a lower density screen, the number of pixels used for 1dp is scaled down. The ratio of dp-to-pixel will change with the screen density, but not necessarily in direct proportion. Using dp units (instead of px units) is a simple solution to making the view dimensions in your layout resize properly for different screen densities. In other words, it provides consistency for the real-world sizes of your UI elements across different devices.
sp
Scale-independent Pixels - This is like the dp unit, but it is also scaled by the user's font size preference. It is recommend you use this unit when specifying font sizes, so they will be adjusted for both the screen density and the user's preference.
Taken from here:
http://developer.android.com/guide/topics/resources/more-resources.html#Dimension
px = dp * (dpi / 160)
or equivalently:
dp = (px / dpi) * 160
androidvault
Tuesday, March 26, 2013
Wednesday, June 20, 2012
MemoryGame out on Google Play
You think you have great memory? Check how good you really are!
Google Play link:
http://goo.gl/SNtBJ
This game is application for specialized form of exercise based on the Android platform. It is used for the exercise of cognitive abilities of users. It focuses on the needs and capabilities of older users, but also the needs of carers (monitoring the progress of the elderly in a variety of purposes - diagnosis, effective treatment, etc.). Younger people can find it very interesting too.
Check it out! :)
Labels:
Android,
Game,
Google Play,
Ivan Jukić,
Memory,
MemoryGame
Monday, June 11, 2012
START UP WEEKEND ZAGREB
Animingles Team finished on 3rd place!
Read more on:
http://msa-zagreb.com/2012/06/11/start-up-weekend-zagreb/
See more info at:
http://www.facebook.com/StartupWeekendZagreb
Kind regards,
Ivan
Friday, June 8, 2012
Boxing Champ soon on Google Play
Check out Boxing Champ facebook page
for info on new Android game!
I think you'll find it visually attractive and innovative!
http://www.facebook.com/BoxingChampGame
Want to place your ads in our game?! ..or buy whole level?
Contact us on boxing.champ.game@gmail.com
Our offer includes:
1) Main screen - We can put your logo on the main screen.
2) Ad space inside the game (during the match) - Your logo will bi visible during the fight on billboards through the environment around players. These are premium places for ads so you contact us now if you want them.
3) Link in credits screen - we will put link to your page in our credits screen.
4) Buy whole level - You can also buy entire level. You choose the theme, we draw it, place your ads where you want them, and implement level in our game. It will bi indicated that you sponsored this level on level select menu.
Coming soon on Google Play!
Hope you'll like it!
Thursday, January 5, 2012
esava is out!
This app is made to make your life easier, and to increase your quality of life. Using this app you can see cameras placed at restaurants in "SD Stjepan Radić, Zagreb, Croatia". You can also see the daily menus. Enjoy your meal and wish you success in studies.
Get the app on Market: http://goo.gl/9RSSk
Monday, December 5, 2011
Christmas Hit is out!
Christmas is a time of giving. It is also a time for party, a time for fun, holiday, and family reunion. Wish you merry Christmas and have fun with this game!
"Christmas Hit" is my new game. Check it out on Android market.
Hit the lights! ;-)
"Christmas Hit" is my new game. Check it out on Android market.
Hit the lights! ;-)
Thursday, June 9, 2011
Janalysis also out!
Check out this app on Android Market:
https://market.android.com/details?id=janalysis.pocetni&feature=more_from_developer
I've been using it for the last 6 months and it's pretty cool :-)
https://market.android.com/details?id=janalysis.pocetni&feature=more_from_developer
I've been using it for the last 6 months and it's pretty cool :-)
Labels:
Janalysis on Android Market
Subscribe to:
Posts (Atom)