Is there a way to hide some (but not all) of the text in a TextView? I tried setting the size to 0 with AbsoluteSizeSpan, but that doesn\'t have any visual effect that I see.
try by this code:
I have complete by this code..
or
android:visibility="gone" />
or by code:-
TextView txtView = (TextView)findViewById(R.id.tvi); txtView.setVisibility(View.INVISIBLE);
OR
txtView.setVisibility(View.GONE);
May be this will help you