Sethu Sethu - 1 year ago 87
Android Question

Android autocompletetextview dropdown box's elements have a large font

I would like to change the autocomplete dropdown boxes element size to something smaller.
Any change i do with textview.settextsize affects only the value in the fieldbox and not in the drop down box!

Screeshot with shows the large font for drop down and the smaller for the listbox

I am adding the list items dynamically and my adapter is set to the resource


Should i add my own resource to customize the style of the font, if so does it matter that i use
to dynamically add data through the adapter.

Answer Source

Do you have the attribute "android:textSize" within your "android.R.layout.simple_dropdown_item_1line"? You may want to try to change the textSize there.

You may also want to check out this tutorial.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download