TextView

<TextView
android:id="@+id/textview1"			
android:layout_width="match_parent"		
android:layout_height="wrap_content"
android:text="Eingabe"
android:text="@string/button_finish"
android:ellipsize="marquee"
/>

Java:
TextView textview1 = null;

onCreate:
textview1 = (TextView) findViewById(R.id.textview1);