Hello,
I am having a problem with the AutoCompleteEditText styling.
It works with AutoCompleteEditText which are in design layouts but not with those added programmatically.
I do not encounter this problem with other types of view
In my Manifest:
I am having a problem with the AutoCompleteEditText styling.
It works with AutoCompleteEditText which are in design layouts but not with those added programmatically.
I do not encounter this problem with other types of view
In my Manifest:
SetApplicationAttribute(android:theme, "@style/Theme.MyApp")
CreateResource(values, theme.xml,
<resources>
<style name="Theme.MyApp" parent="Theme.AppCompat.NoActionBar">
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewStyle</item>
</style>
<style name="AutoCompleteTextViewStyle" parent="@android:style/Widget.AutoCompleteTextView" >
<item name="android:textColor">#000000</item>
<item name="android:textColorHint">#555555</item>
<item name="android:background">#FFFFFF</item>
<item name="android: padding">10dip</item>
<item name="android:layout_margin">10dip</item>
</style>
</resources>
)
Last edited: