How to make android EditText smaller than default in height?
If I change the height, I can't see my text, but it has extra blank on bottom.
EditText has a default padding set.
Try this,
<EditText
android:text="Any Text"
android:layout_width="fill_parent"
android:layout_height="16dp"
android:padding="2dp"
android:background="#FFF"
android:textSize="10dp"
/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With