1

I am using AutoCompleteTextView in my android application. I am using Theme.Light as my default theme for my application.

Here is how my AutoCompleteTextView look like enter image description here

Now, I want to change the BLUE color border of that AutoCompleteTextView to some other color ,for different selection, keeping the border style as it as. I dont want full border. How to do that?

Bharath
  • 3,001
  • 6
  • 32
  • 65

2 Answers2

0

You can try like this..

see http://www.androidworks.com/changing-the-android-edittext-ui-widget for details

For other theme implementation go for this way In your manifest in application

    android:theme="@style/firsttheme"

IN res/values you can define theme.xml

<resources> 
    <style name="firsttheme" parent="@android:style/Theme" > 
       <item name="android:_DEFAULT_BASE_COLOR_1">#XXXXXX</item>
       <item name="android:windowNoTitle">true</item>
        ... . 
    </style>
</resources>

For more info theme

Janmejoy
  • 2,721
  • 1
  • 20
  • 38
0

You can use Holo Colors to tint it. It generates the 9-patchs and the styles.

Brais Gabin
  • 5,827
  • 6
  • 57
  • 92