want to take the height and width of editText from String file

by Mark Murphy » Mon, 19 May 2008 20:38:13 GMT


Sponsored Links
 > i want to declare the constant value for the  height and width for

Use the android:height and android:width properties:

 http://code.google.com/android/reference/android/widget/TextView.html 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
The Busy Coder's Guide to Android Development -- coming in June 2008!


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to get all contact's name phone number, email for 2.0

> You will need to use reflection (or intelligent class loading) and use
The Contacts.ContactMethods API is deprecated but not dropped. And
even deprecated APIs are required to function properly.
Google has to make sure (and even stated it in this forum) that this
is the case. It cannot be the idea for applications to check the
Android version invoke APIs accordingly via reflection.
I don't like to receive complaints from user that my application
doesn't work properly on their phone but if Google doesn't ensure that
event deprecated APIs, it is not my fault.
If many developers (especially of free applications) think likewise
user will experience a increasing number of non-working applications
in the Android market.
But thanks for your reply anyway :-)

Axel

-- 

2. third party jars in android apps how to

Hi all,

  I am trying to use a third party library for an application and I
also need to add all it's dependency jars in order for it to work.
What I did so far, was create a lib folder inside my android app
project and started adding the library and all it's dependencies in
there. However, when I tried to add them to the project java build
path in eclipse, my eclipse froze and I got an error that the
workbench state is not ok.
  Is there a different way to add jars to an application? Do I need to
compile and package the jars using dx and the apk packaging tools? Is
there a limitation on the size of the libraries (I think that all the
jars I am trying to import are about 5 MB's)?
 Can someone please point me to some documentation or give me some
pointers on using third party jar libraries from Android applications,
as I've tried searching and asking around, but haven't found anything
relevant - perhaps I missed something.

Thanks,
Mihai

-- 

3. Where store username and password?

4. How do I work around missing Java libraries?

5. How to get the current activity window in java program?

6. Read the GSM SIM Number on startup

7. GZIPInputstream & skip() weird behavior