If he brings her up listen and don't reveal your feelings, as he can use this against you. Respecting a girl's individuality and qualities is a part of earning her trust. Don't ramble. Follow these steps to keep your discussions fresh and interesting, whether you're talking in person, chatting online, or texting. There are many relationships that have still been successful for years without sex. You could also try being an honest person and say that you don't think it's working out, and that you need to leave early. Don't say anything offensive! Dress and present yourself well when you start flirting and dating. The note can say something like, Why don't we hang out soon? You'd never behave this way in person, so don't do it online. Ask yourself that. There is probably something you are passionate about that your partner is not. Smile, this shows confidence. Avoid pressure. Keep your laughs at a natural tone, not screaming loud or nervous-like. If they haven't free online dating sites answered the email in that time, let the percentages dip a little. Ignore the numbers. A quick little text to say good night is good, but don't call her to make sure she got home safely. or, How about coffee sometime? Hands with cement: Take a tray of cement with water and make a hand print of yours and hers. If you wouldn't do it on a date with a non-millionaire, why do it on a date with a millionaire? Be patient. Be very careful with any conversation that places both of you in the future, as a couple, until you're sure both of you are meant for one another. Laughter is spontaneous and wells up from situations and trying to see the side to all things. That means you don't mention years you graduated from school, or your parents age. Avgitidis suggests approaching people rather than waiting around to be asked on a date. Be careful not to undermine his manliness by criticizing the things he says or does. If he decides to break up with you say this - What break up with me, or are you not comfortable? Do not talk about yourself all the time.

Changing the Android EditText UI Widget


This article should be useful to people who want to customize the default UI EditText as well as TextView on the Android platform. Mostly, I mean the Orange skin that appears to be hard to change. No matter how many color properties I attempted, I failed. Then, after inspecting the Android source code, picking apart how they wrote the TextView control (which EditText extends), I realized it was just a skin of NinePatch drawables set in the background of the underlying View class. I'll take you through the steps.

Some background on how it works:

First lets look at the art that Android uses, and how they reference it. This provides a better understanding of what we need to do on our own.

Look in the \platforms\android-x.x\data\res\drawable directory. In this directory, you will notice this file, edit_text.xml:


This is the ColorStateList that is default for the EditText background. This file points to various background resources in each state. So, from inspection, it appears that we need to create NinePatch art for the following drawable files:

textfield_default.9.png, textfield_disabled.9.png, textfield_pressed.9.png, textfield_selected.9.png, textfield_disabled_selected.9.png, etc…

So, this is where and how Android's default EditText gets the Orange look!

Create your own NinePatch skins:

So change the look to your requirements (using gimp, photoshop, or Android's recommended Draw9Patch tool), in my case I just did a red version of these files. Place these new png's in your res/drawable directory. Now they can be referenced by your very own ColorStateList.

Name them .9.png

Create your new ColorStateList

Using the example provided by the default Android edit_text.xml above, create your own version of it, pointing to your own NinePatch files. This file should live in your res/drawable directory also. Now you have a valid ColorStateList visible to styles and widgets.


Save it as red_edit_text.xml and place in your res/drawable directory.

Point you EditText background to the ColorStateList

In my case, decided to use a theme and style approach to override all EditText boxes in my Application.

From my AndroidManifest.xml application element, set the theme


From my theme.xml

From my styles.xml



So now all EditText boxes should have my new red color instead of the default Orange. Although this might not be your end goal, just to change an EditText box from orange to red, it allows you to see how Android NinePatchColorStateList , Styles, and Themes can all work together to override and skin any control in Android. It could obviously be much more dramatic than my example below. Good luck, here is the result:

Please feel free to comment,
Marcus Williford



Tags: , , , , ,

20 Responses to “Changing the Android EditText UI Widget”

  1. My name is Piter Jankovich. oOnly want to tell, that your blog is really cool
    And want to ask you: is this blog your hobby?
    P.S. Sorry for my bad english

  2. miguel says:

    yep, it’s our hobby.

  3. can i see more of this please

  4. Hmmm…. pretty good article

  5. Great post as usual, thank you for posting so much informative content on a regular basis.

  6. Awesome post, I am a big fan of your blog, keep on writing these great posts, and I will be a regular visitor for a very long time.

  7. lolol where is a light beer whenever you need one

  8. Your blog is so awesome and your writing amazes me still until this day. Great site and wicked content to boot.

  9. Michael says:

    I really think your blog should rank higher up in google, you are nowhere to be found in the first page, i came across a video about promoting blogs to the first page of google, check it out if you want to – http://bit.ly/dx76Qr

  10. These topics are being very heavily promoted on Youtube and other Social media sites now a days. Excellent post and content, can’t wait for an update.

  11. Aria says:

    Thanks for the post. Is there a way to make the change only apply for certain edit texts and not all of them ?

    Thanks !

  12. Aaron Lieber says:

    Is it possible to do the same for the pop up box that comes up when you are in landscape mode and you try to edit text in a text box? I believe the information is in Extract_edit_text.xml ???

  13. Usman says:

    Thank you very much i’ve been looking for this solution.. thanks :)

  14. Jag says:

    Terrific one mate…you just made my day, i am going to use this for highlighiting my MANDATORY fields which is exactly what my client requires. Thanks a lot once again

  15. Mattias J says:

    Is it correct that this changes the style *within your application*, rather than globally on the phone (“all EditText boxes”)?

  16. Pokerplay.nu says:

    Another Title…

    I saw recently so sending a trackback to my site, thx again Si…

  17. Done Publicar Articulos…

    Hi there, very nice article….

  18. Thiago Amorim says:

    Hi, really nice this article.
    \o/ Congrats… make a lot of good article for us… =D

  19. Kalaji says:

    Great article!! thanks :)

  20. Nishant says:

    Very nice article…better if you guide to create NinePatch images