Re: [android-beginners] Re: Rounded corners for EditText

2009-11-05 Thread Mark Murphy
westmeadboy wrote:
 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 device to another? For
 example, HTC might for Sensified it a little.

Conceivably. I would hope that HTC left the stock backgrounds alone and
only Sensified their own widgets.

After all, that would be the Sensible choice.

.
.
.

Thank you, thank you. Please, try the veal.

 If so, wouldn't you need to programmatically modify the background to
 maintain the correct look and feel?

I'm not sure that's practical. Moreover, it does not really matter: if
you customize your background, your customized background will be used
for whichever EditText widgets you use with it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
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 group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Rounded corners for EditText

2009-11-02 Thread Alex (PS3 Friends)
I think you want to use a 9-patch image.  Check out the link below,
just researched this last night.

http://www.anddev.org/tutorial_buttons_with_niceley_stretched_background-t4369.html

On Nov 2, 3:53 am, westmeadboy westmead...@yahoo.co.uk wrote:
 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 group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Rounded corners for EditText

2009-11-02 Thread westmeadboy
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 device to another? For
example, HTC might for Sensified it a little.

If so, wouldn't you need to programmatically modify the background to
maintain the correct look and feel?

-- 
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 group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en