when I am using TextView with singleLine="true" and ellipsize="end"(my top TextView), it works well
TextView
singleLine="true"
ellipsize="end"
Try it
tv.setSingleLine(false); tv.setEllipsize(TextUtils.TruncateAt.END); int n = 3; // the exact number of lines you want to display tv.setLines(n);
refer Programmatically create TextView with ellipsis