I have a horizontal LinearLayout containing a TextView followed by a Spinner next to it. This LinearLayout is dynamically
LinearLayout
TextView
Spinner
I added some dummy space after text by adding
textView.setText(firstString+"\n");
I tried all other solution.But this was the only solution worked for me