Android-pulltorefresh using GIF motion diagram in pull-down loading

Source: Internet
Author: User

Effect preview:

XML layout

<com.handmark.pulltorefresh.library.pulltorefreshlistview xmlns:android= "http://schemas.android.com/apk/res/ Android "    xmlns:ptr=" Http://schemas.android.com/apk/res-auto "    android:layout_width=" Fill_parent    " android:layout_height= "Fill_parent"    android:divider= "#00000000"    android:cachecolorhint= "#00000000"    android:listselector= "#00000000"    android:fastscrollenabled= "true"     ptr:ptrheadertextcolor= "@color/ Gray "      ptr:ptranimationstyle=" Louisanimationstyle "    />


Lib underlying configuration

It is configured with its own defined animation style

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">





Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">


The rest is just like this library, which is often used to make use of the method.


"Address has been updated, csdn eat link" modified lib Library download: http://download.csdn.net/detail/richiezhu/9026211


GIF photo splitter: http://download.csdn.net/detail/richiezhu/9026175



Android-pulltorefresh using GIF motion diagram in pull-down loading

Related Article

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.