I have a vertical LinearLayout
with two TextView
inside it. The former contains a static text property (it\'s text never change) and the last conta
Try using negative margins. It may take a bit of playing with the numbers to get it right, but I've done it before and it worked out well.
android:layout_marginTop="-5dp"
Negative Margins would do the work. You can set it by two methods -
1) by xml - set the android:Layout_marginTop="-10dp"
field negative
2) by java (Programmatically) - set the topMargin
field of LayoutParams to negative.