我在我的Android应用程序中使用AutoCompleteTextView
。我使用Theme.Light
作为我的应用程序的默认主题。
以下是我AutoCompleteTextView
的样子
现在,我想将AutoCompleteTextView
的蓝色边框更改为其他颜色,以进行不同的选择,保持边框样式。我不想要完全的边界。怎么做?
答案 0 :(得分:0)
你可以尝试这样..
有关详细信息,请参阅http://www.androidworks.com/changing-the-android-edittext-ui-widget
对于其他主题实现,请采用这种方式 在你的应用程序中的清单
android:theme="@style/firsttheme"
IN res / values,您可以定义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>
了解更多信息theme
答案 1 :(得分:0)
您可以使用Holo Colors为其着色。它生成9个补丁和样式。