Top "Nine-patch" questions

A NinePatch is a stretchable bitmap image, which Android will automatically resize to accommodate the contents of the View in which you have placed it as the background.

Is there a nine-patch loader for iPhone?

Android has a nice way of defining stretchable images called a nine-patch. See these docs for a description of the …

android iphone graphics uiimage nine-patch
Android / 9-patch PNG: What, if I need smth like a 11-patch PNG?

In Draw 9-patch, everything looks fine. However, my SDK says the 9-patch png is malformed. Because I have something like …

android android-layout nine-patch
Central sources of NinePatch Images?

Are there any central spots or collection in the net from created NinePatches? I think they are real fancy and …

android user-interface resources nine-patch
Android 9-Patch Background Image Initial PNG Size?

I'm looking at making a 9-Patch background image for my application and I'm wondering what size should I make the …

android user-interface nine-patch
Get All Installed Application icons in Android : java.lang.ClassCastException

There is a java.lang.ClassCastException when I am trying to get a installed applications icon. Here is my code. …

android bitmap classcastexception nine-patch
Different 9-patch images for different densities?

I have the same 9-patch images in MDPI / HDPI / xhdpi. Is there a particular reason why it will not be …

android nine-patch
How to programmatically re-apply a 9-patch image to an ImageView?

I have an activity that has an ImageView defined inside a HorizontalScrollView. The image source is a 9-patch file that …

android android-layout android-widget android-imageview nine-patch
Change the color of divider in LinearLayout

May I know how I can change the color of divider in LinearLayout? <LinearLayout android:layout_width="match_parent" …

android android-linearlayout nine-patch
Padding arround textview with nine patch background have no visual effect

Im trying to create toast like control based on textview, and i found very strange behavior of textview in case …

android textview nine-patch
Loading nine-patch image as a Libgdx Scene2d Button background looks awful

I'm trying to use a Nine Patch as a background for a Libgdx Scene2d UI button. It is loading, …

java libgdx nine-patch