android:singleLine="true"
android:ellipsize="marquee"
are the only required attributes and scrolling even works with layout_weight defined with layout_width=0dp
here is some sample code:
But what is most important is implicitely or explicitely TextView should get selected.
You can do this with:
TextView txtView=(TextView) findViewById(R.id.scroller);
txtView.setSelected(true);