<?xml version= "1.0" encoding= "Utf-8"? ><linearlayout xmlns:android= "Http://schemas.android.com/apk/res/android"Android:layout_width= "Match_parent"Android:layout_height= "Match_parent"android:orientation= "Vertical" > <TextView android:layout_width= "Match_parent"Android:layout_height= "Wrap_content"Android:layout_margintop= "20DP"android:ellipsize= "Marquee"android:focusable= "true"Android:focusableintouchmode= "true"Android:singleline= "true"Android:text= "There are some marquee text on the top or bottom of many Android software, this just needs to add some attributes to the TextView code"android:textsize= "18SP"/></linearlayout>
Shortcut keys that are commonly used in eclipse
Ctrl+alt+↓ Copy the current row to the next row (replication incremented)
Ctrl+q positioning to the last edited place
Ctrl+o Quick Display OutLine
Ctrl+t quickly displays the inheritance structure of the current class
Ctrl+k the selected word quickly navigates to the next
Ctrl+shift+k the selected word quickly navigates to the previous
Alt+shift+l extract Local variables (you can directly extract some magical numbers and strings into a variable, especially when multiple calls are made)
Java Editor Formatting ctrl+shift+f
TextView to realize the effect of single-line marquee