Hello hitesharo,
I'm not sure what you exactly want to do, but defining the height of views is done in the Layout-Resources.
Using xml Syntax Highlighting
<TextView
style="@style/settings_quickinfo_textstyle"
android:layout_width="wrap_content"
android:layout_height="30px" <!-- here -->
android:text="Hello World" />
Parsed in 0.001 seconds, using
GeSHi 1.0.8.4
Setting [font=Courier New]android:layout_height[/font] to an exact pixel-value is said to be 'executed' pixel-sharp, but this maybe conflicts with TextSizes.

( I haven't tried that)
Or do you want to extract that "30px" to a separate resource-file.
Regards,
plusminus