Android faux ppt into animation effect collection

Source: Internet
Author: User

Enteranimation

Android imitation ppt into the animation effect of the collection, shutter effect, wiping effect, box effect, ladder effect, diamond effect, wheel effect, split effect, checkerboard effect, plunge effect, fan spread effect, cross expansion effect, random line effect, inward dissolution effect, circular extension effect, Suitable for various view and viewgroup,activity i.e. for page root viewgroup, custom ViewGroup wrap layout, see

Series of entrance animation effects just like ppt in android.there is effects of BLINDS,WIPE,BOX,STRIPS,DIAMOND,WHEEL,SP Lit,checkerboard,peek in,wedge,plus,random bars,dissolve in,circle.the Animation effects can apply to any View or Viewgrou P.there is also a custom viewgroup of auto linefeed called Simplelinewraplayout to layout the Buttons.look the images:

650) this.width=650; "src=" Https://github.com/wangpeiming110/EnterAnimation/raw/master/image/1.gif "alt=" 1.gif " height= "/> 650) this.width=650; src=" HTTPS://GITHUB.COM/WANGPEIMING110/ENTERANIMATION/RAW/MASTER/IMAGE/2. GIF "alt=" 2.gif "height="/> 650) this.width=650; "Src=" https://github.com/wangpeiming110/EnterAnimation/raw/ Master/image/3.gif "alt=" 3.gif "height="/>650) this.width=650; src= https://github.com/wangpeiming110/ Enteranimation/raw/master/image/4.gif "alt=" 4.gif "height=" (/> 650) this.width=650; src= https://github.com/ Wangpeiming110/enteranimation/raw/master/image/5.gif "alt=" 5.gif "height="/> 650) this.width=650; "Src=" Https://github.com/wangpeiming110/EnterAnimation/raw/master/image/6.gif "alt=" 6.gif "height="/>650) this.width=650; "src=" Https://github.com/wangpeiming110/EnterAnimation/raw/master/image/7.gif "alt=" 7.gif "height = "/> 650") this.width=650; "Src=" Https://github.com/wangpeiming110/EnterAnimation/raw/masteR/image/8.gif "alt=" 8.gif "height=" (/> 650) this.width=650; src= https://github.com/wangpeiming110/ Enteranimation/raw/master/image/9.gif "alt=" 9.gif "height="/>650) this.width=650; src= https://github.com/ Wangpeiming110/enteranimation/raw/master/image/10.gif "alt=" 10.gif "height="/> 650) this.width=650; "Src=" Https://github.com/wangpeiming110/EnterAnimation/raw/master/image/11.gif "alt=" 11.gif "height="/> 650) this.width=650, "src=" Https://github.com/wangpeiming110/EnterAnimation/raw/master/image/12.gif "alt=" 12.gif " height= "/>650" this.width=650; "src=" https://github.com/wangpeiming110/EnterAnimation/raw/master/image/ 13.gif "alt=" 13.gif "height="/> 650) this.width=650; "Src=" https://github.com/wangpeiming110/EnterAnimation/ Raw/master/image/14.gif "alt=" 14.gif "height="/>

Attributes

There is several attributes you can set:

attr Property Description Description
Isvisibleatfirst Whether the view content is visible when you enter the page, which is visible by default
How to Uselayout:

A enteranimlayout in the outer package of the view or viewgroup that needs to be animated, and then set specific animations and controls in Java to start the animation; the entire activity needs to be played in the outermost layer plus a enteranimlayout , and then set specific animations in Java and control to start playing the animation

        <com.wangpm.enteranimation.EnterAnimLayout                         android:id= "@+id/anim_layout"              android:layout_width= "Wrap_content"              android:layout_height= "Wrap_content"              android:layout_gravity= "Center_horizontal"              android:background= "@android: Color/holo_blue_bright"              android:padding= "20DP"              >            < linearlayout                 android:layout_width= "Wrap_content"                  android:layout_ height= "Wrap_content"                  android:orientation= "Vertical"                  android:background= "@android: Color/holo_orange_light" >                 <TextView                     android: Id= "@+id/text_view"                      android:layout_width= "Wrap_content"                       android:layout_height= "Wrap_content"                      android:text= " Enteranimtextview "                     android:textsize= "30SP"                      />                 <LinearLayout                     android:layout_width = "Match_parent"                      android:layout_height= "Match_parent"                      android:orientation= "Horizontal" >                     <ImageView                          android:layout_width= "Wrap_content"                          android: layout_height= "Wrap_content"                          android:src= "@mipmap/ic_launcher"                           />                     <button                         android:layout_width= "Wrap_content"                           android:layout_height= "Wrap_content"                          android:text= " This is a button "/>                 </linearlayout>            </linearlayout >        </com.wangpm.enteranimation.EnterAnimLayout>
Java:
        enterAnimLayout =  (enteranimlayout)    Findviewbyid (r.id.anim_layout);             // The OnCreate does not yet have the exact dimensions of the view, so the animation         new handler () is delayed when the page is opened. Postdelayed (new runnable ()  {                      @Override              public void run ()  {                 //example Set as shutter animation                  anim anim = new animbaiyechuang ( Enteranimlayout);                 anim.startanimation (2500);//Start animation, animation playback duration 2500MS, default 2000            }         }, 1000);


Project Address:
Https://github.com/wangpeiming110/EnterAnimation
If you find it useful, please star one on GitHub, O (∩_∩) o Thank you

This article is from the "What's Program" blog, please be sure to keep this source http://283859701.blog.51cto.com/1943436/1945248

Android faux ppt into animation effect collection

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.