I've just been playing around with this solution and it works, sort
of, but feels a little hacky.
I was wondering if this alternative might work:
1. Use a LinearLayout and set the background to be the same
StateListDrawable used by EditText - I can't get this to work, but
then again I'm a newbie
I have an EditText view and would like to make the corners more
rounded.
How can this be done?
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this
On Nov 2, 9:18 pm, Mark Murphy mmur...@commonsware.com wrote:
Create your own custom StateListDrawable to serve as the background. The
existing background should be in the Android source code -- clone that,
then modify the .9.png files as desired.
Won't the existing background vary from one
I have a ListView which displays the results of some search.
When the user makes a new search I repopulate the underlying Array of
an ArrayAdapter and call notifyDataSetChanged(). However, if the user
has previously scrolled down in the ListView then the scrolling is not
then reset to the top -
Thanks.
1. Does this still work if the list is empty? The docs don't specify.
2. Is this better than just resetting the adapter?
On Oct 9, 11:27 am, Romain Guy romain...@google.com wrote:
setSelection(0)
On Thu, Oct 8, 2009 at 8:14 PM, westmeadboy westmead...@yahoo.co.uk wrote:
I have
is empty? The docs don't specify.
Yes.
2. Is this better than just resetting the adapter?
Much much much much much more efficient.
On Oct 9, 11:27 am, Romain Guy romain...@google.com wrote:
setSelection(0)
On Thu, Oct 8, 2009 at 8:14 PM, westmeadboy westmead...@yahoo.co.uk
6 matches
Mail list logo