Hi hitesh ,
Its like that you want to save height value in the xml file and from
there you want to use it
then create .one xml file in value folder and then
write in it
<resources>
<style name="EditTextDiamention">
<item name="android:layout_height">30px</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:textSize">12sp</item>
<item name="android:textStyle">bold</item>
</style>
</resources>
and use this style in xml file just like below
<EditText android:id="@+id/username"
style="@style/EditTextDiamention" />
On May 22, 11:56 pm, Hitesh <[EMAIL PROTECTED]> wrote:
> HI SIR
> I WANT TO SET THE HEIGHT OF EDIT TEXT IN XML FILE AS 30 PX AND WANT TO
> USE IN MY JAVA FILE.HOW IT POSSIBLE.
> PLZ SUGGEST ANSWER
> THANKS IN ADVANCE
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---