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
LinearLayout
TextView
Negative Margins would do the work. You can set it by two methods -
1) by xml - set the android:Layout_marginTop="-10dp" field negative
android:Layout_marginTop="-10dp"
2) by java (Programmatically) - set the topMargin field of LayoutParams to negative.
topMargin