Android Nine-patch equivalent for other platforms - android

I have just learned about Android nine-patches idea, and it is a pretty good idea. My question is if it is an Android pattern or there is implementations like that for other platforms, probably differently named.
Thanks!

In iOS you can also strech images in code with StretchableImages. You specify the left, right caps and the "rest" is stretched. I think is basicaly the same idea, this is something like a tutorial on it: http://blog.chomperstomp.com/creating-dynamically-re-sizable-buttons-for-iphone-apps/

There is another SO question here that mentions a library released under Apache license for iPhone. I haven't used it but is worth checking out.

Related

Best libraries for Android developer (graphic)

I'm looking to good looking libraries / plugins (just stuff) for android.
I mean something cool like material intro etc. Something what makes app more atractive. Please help me guys!
pretty general question. You'll probably get a better response if your question is more specific to a single problem.
here's a library which covers a lot of material widgets - https://github.com/wasabeef/awesome-android-ui
however a lot of this is now in the standard android design lib - http://android-developers.blogspot.co.nz/2015/05/android-design-support-library.html

How to create a visable rectangle with no image in Cocos2D-Android?

Can someone give me a simple example since I'm trying to learn it but haven't seen examples for Android, for iOS plenty though. I want to create one so it is easier to debug my collision area's. Thanks in advance
I don´t know it this helps you. I use Cocos2d-x. This library is the same that cocos2d-android, but:
Works in C++, it is faster than Java
Is multiplatform, can compile in iOS and Android, and HTML5
Exist a big community whose hold the project, and cocos2d-android doesn´t have more updates
Exist This link with a lof of tutoriales to start.

Working with SVG on Android

I need to develop a small game that should use SVG elements.
I know I can use the android svg library.
My question is what performance should I expect from this library - is it good enough?
Are there any other good libraries I can use?
Thanks
Good enough for what? You need to be more specific. The Android graphics package has native implementation for most (all?) of the SVG primitives, so the only overhead of the library should come from parsing the XML. Drawing/refresh speed will mostly depend on the actual device hardware, so you'll need to benchmark with a specific device in mind.
Try http://code.google.com/p/svg-android/ it was used by google in Androidify and from my experience it is the best solution out there (although it doesn't support the full SVG spec).
There is also AndroidSVG (http://code.google.com/p/androidsvg/) which implements more of the spec than svg-android.

TagCloud for Android

I am trying to render a tagCloud from a set of given terms and weights on some Android devices. It seems that there is little support for jscript, esp. those based on jquery.
are you aware of any sort of library?
any hints are welcome.
cheers
Looks like there is a very nice looking library with full source available here
Hope that helps!

Do android developers commonly use 3rd-party UI/networking libraries like Three20 on iPhone?

I've done plenty of iPhone work, never anything with Android. On iPhone, it was a few months in before I discovered the Three20 library (which is awesome) and began moving my code over. I don't want to make the same mistakes moving to Android, so my question:
Do android developers commonly use 3rd-party UI/networking libraries like Three20 on iPhone, or do they take the ones out of the box? I realize that there is an effort to port Three20 to Android, but that's not my goal per se. I just want to know if the out-of-the-box UI/networking/navigation libs you get with android are considered sufficient for most android apps.
Thanks!
I never had a problem using the ones out of the box.
Perhaps, as Pentium10 mentioned on a comment, I read some open-source code and get some ideas but the final answer to your question is no.

Categories

Resources