I have this EditText
and Button, and I have to reduce its height. I try with android:height="10px"
but it doesn't work. Btw android:width="180px"
works OK, then I don't know why I can't adjust the height.
Here is the code:
<EditText
android:id="@+id/Movile"
android:layout_alignBaseline="@+id/MovileLabel"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="180px"
android:height="10px"/>
<Button
android:id="@+id/inviteButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/invite"
android:width="100px"
android:height="5px"
android:layout_marginLeft="40dip"/>