Posts Tagged ‘ 9-patch ’

Changing background color and border color of an EditText widget using State List in Android

July 14, 2012
By
EditText Widget

In this article, we will create an application which will demonstrate how to change the background color and border color of an EditText widget. Here, we are changing the default background color and border color of theĀ  EditText widget using 9-patch image files. The state list xml file is used to define the 9-patch...

Read more »

Working with 9-patch (Nine Patch) images in Android

July 12, 2012
By
Nine Patch Demo in Action

Nine patch ( 9-patch ) images are normal images with an additional 1 pixel border. This additional 1 pixel border is used to define 1. the scalable portion of the image 2. the portion of the image where the Android’s view object can render the content ( eg : caption of a button )...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner