Re: [android-developers] Re: change size of controls in a layout

2010-04-22 Thread ~ TreKing
On Wed, Apr 21, 2010 at 11:21 PM, karteek  wrote:

>   android:layout_height="50px">
> 
>

You should use "dp" to stay consistent across devices with different
resolutions, unless this is definitely what you want.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: change size of controls in a layout

2010-04-21 Thread karteek
If you declared EditText in xml file you can change by


  where you can use any nuber instead of 50

On Apr 22, 12:32 am, dillipk  wrote:
> Hi,
>   How do I change the size of the controls placed in a layout? (by any
> method)
>
>  I tried to change the height of an EditBox ->setHeight(10); doesn't
> seem to work.
>
> Thank you,
>
> -DK
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en