Skip to main content

Extensions Image 9.png Android

If you are an android app developer, is certainly no stranger to the image file with the extension .9.Png. Sometimes some android applications using image files with the extension .9.Png's. In this article I want to share with you about the image with the extension .9. Png.
Before going any further on the image with the extension .9. Png, we first discuss the meaning of .9.Png and unit of measure in the .9.Png.


What is .png file ?

PNG (Portable Network Graphics) image format one image using compaction methods do not eliminate the part of the image. Generally used for PNG images in web images. PNG image format has better compression factor than the GIF (5% -25% better than GIF format).

PNG files can work well on images with vivid color separation and graded. PNG files are divided into PNG-8 and PNG-24. For PNG-8 can compress the image with a smaller file size than GIF. While the PNG-24 save the file with a larger size. PNG-24 is commonly used for photographic images or graded, since the resulting image will be sharper. Another plus, PNG supports transparency as in the picture. GIFs.

For the Web, PNG format has three advantages over the GIF format: Channel Alpha (transparency). Gamma (setting the brightness image of en: "brightness"). Impressions image progressively (progressive display) For the purposes of image processing, though the PNG format can be used as an alternative during image processing but the JPEG format is still a better option. (Source: potter )


Wha Is .9. Png File ?

Is a file which is a derivative of. PNG in a single PNG file in use for several sizes. Or simply dynamic image size. Where size is determined from the pacth that is given in the file. Its use is intended to conserve file size. So the use of a static image into a minimum to reduce the file size of the application.

Problems with the .9. Png

  • Android devices come in many shapes and sizes, often making it very difficult for developers to design applications that look great on all screen sizes and a variety of orientations. To address this challenge, the graph can Nine Patch indispensable. In this article, we discuss what Nine Patch graphical format, how it works, and when to use them.
  • Sometimes when we edit the apk or create android application, we have a problem in the process of the application compile, because we forgot to use the image files with the extension .9.Png , therefore, in this article I want to share you about image editing with the extension .9 . png


What is Nine Patch ?
Graphics Nine Patch Android support for image scaling control. Graphic Nine Patch only PNG graphics that have patches, or areas of an image, defined to scale and stretch in the right areas, not the scale of the overall picture as a unit, which often obscures the graphic details. Generally, transparent or solid patch center, with the edge to remain fixed, the other edges are set to stretch, and the corners to remain fixed.

Illustration picture below will explain how an image (in this case, a square) is divided into nine patches.
extension image 9.png on android

When Do We Use Graphics NinePatch?

Graphics that can be stretched to be used anywhere in your application where size chart may vary, particularly useful for:

  • background Button (where text strings of various sizes)
  • Frames (where the picture of the inside should come in various sizes and aspect ratios)
  • Every time you use drawn with at least one dimension is set to wrap_conten



How To Edit Graphic Nine Patch (edit graphics on the apk)
To edit a graphic Nine Patch PNG graphic files using Draw 9-patch tool, perform the following steps draw nine patch tutorial:
  1. Open the / decompile apk file you want to edit by using the way you can find the article that i have make yesterday read how to edit apk file .
  2. Open the folder res / drawable (ldpi, mdpi, hdpi or another folder that contains the graphic)
  3. Edit the images you want to edit them using graphics editor like Adobe Photoshop or other graphics applications though.
  4. Once you are done editing, save the images in the format. Png
  5. Open the application "9-patch.bat" located in the Android SDK / directory "tools". (References: android development )
    image extension 9.png
    -Drag PNG file into the left pane (or use File-> Open NinePatch)
    how to use draw9patchstart
  6. Click the "Show Patch" checkbox at the bottom left.
    tutorial draw9patchstart
  7. Set your patch right scale (higher to see the results more clearly).
    To set the horizontal patch guide, click along the right edge of your graphic.
    To set the vertical patch guide, click along the top edge of your graphic.
  8. If you need to remove your patch, press Shift and click on your pixel (black).
  9. Keep your graphics with the extension .9. Png (for example, maxiandroid.9.png).



If you want to create a graphic file with the extension .9. Png you can find more detailed tutorial tutorial draw nine patch and here

Comments

Popular posts from this blog

The Kinds Of Android GPU

Hi all of tutorial for android blog reader. At This time I want to explain about the Graphics Processing Unit ( GPU on android ), which the brain of the graphics performance on our Android devices. GPU principle works with the Video Graphics Adapter (VGA) on PC / Computer. GPU principle works like the Video Graphics Adapter (VGA) on PC / Computer. GPU also plays an important role when we used to play Android games class 3D High Definition (HD) video or high quality. Well, for Teknokerz who often play games or graphics processing, this article can help you all about the GPU used on Android devices each. The following are the types of GPU installed for Android to help the performance of the CPU or the graphics processor in the process: Adreno GPU on Android Adreno GPU series is made ​​by the current ATI AMD subsidiary ATI imageon first referred to the series, circa 2002-2004 is the initial release of awa-series GPU's. In 2008, AMD imageon sold to one of the leading manufacturer

How to Sync Android Contacts to Gmail With Easy Contact Sync

The synchronization and integration of services is one of the strengths of Android device if compared to his rivals. Any android application can used or combined with almost any other application or native service. Applications like Carbon Backup or Titanium Backup make use of backup copies of our device. But, what happens if what we want to synchronize are the contacts? in this case, in addition to the native option to Google (syncronize with Gmail), Don't worry, now you just can give thanks to a member of XDA developers, because they have invented  Easy Contact Sync app. The native Android sync is a wonder ; just enter our account on our device and voila! We have all our contacts synchronized and accessible from Gmail. Thus whenever we introduce ourselves in a new device, have our contacts there of form automagica . The problem is when we don't have our available Google account available (because we do not have internet connection at that moment or because we have lost t

CONTACT

Contact Please use the provided contact-form to reach admin of tutorialfor-android. We will reply to your message within 24 hours as necessary. or you can manually send email to tutorialforandroid@gmail.com to reach us Name :(required) * Email :(required) * Subject : Message : <br /> &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;iframe src="https://www.google.com/recaptcha/api/noscript?k=6LchicQSAAAAAGksQmNaDZMw3aQITPqZEsX77lT9" height="300" width="500" frameborder="0"&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/iframe&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;am