Hi - I tried doing this as this:
<b>
<code>
final Spinner dayText=new Spinner(this);
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_dropdown_item_1line,
DAY_OPTIONS);
dayText.setAdapter(adapter);
dayText.getLayoutParams().height=45;
</code>
</b>
This didn't work. Any ideas on how I can use the Java API to set the
width/height of a spinner object?
Thanks,
-Sid
p.s.: The spinner displays properly in my app if I don't bother about
the width and height
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en