Android in the marquee effect

Source: Internet
Author: User

<com.randy.test1.self.marqueetext
Android:id= "@+id/btn1"
Android:layout_width= "Match_parent"
android:layout_height= "Wrap_content"
Android:ellipsize= "Marquee"
Android:focusable= "true"
Android:focusableintouchmode= "true"
Android:singleline= "true"
Android:text= "A scholar Isaac loudly took place in the Aston sent to send to send to send to send to send to the occurrence occurrence of the sending to the occurrence of the occurrence of a Satan mage sent Stephen Aston took place Isaac sent Stephen"/>

public class MarqueeText extends textview{

Public MarqueeText (Context context) {
Super (context);
TODO auto-generated Constructor stub
}

Public MarqueeText (context context, AttributeSet attrs, int defstyle) {
Super (context, attrs, Defstyle);
TODO auto-generated Constructor stub
}

Public MarqueeText (context context, AttributeSet Attrs) {
Super (context, attrs);
TODO auto-generated Constructor stub
}

@Override
public Boolean isFocused () {
TODO auto-generated Method Stub
return true;
}

Android in the marquee effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.