Androidscreenslide Project Toggle View Animation effect
There are several good results in the Androidscreenslide project,
One: Card flip three-dimensional effect, two: screen Slide left and right switch view time and new load view rendering effect,
Three: Layout changes add each item effect and delete each item effect.
Four: Advanced screen slide Switch Viewpager when the page transitions animation effect.
Source of this project: Https://github.com/xiongwei-git/AndroidScreenSlide
Main code section:
Home Show:
public void OnCreate (Bundle savedinstancestate) {
Super.oncreate (savedinstancestate);
Setcontentview (R.layout.activity_main);
Instantiate the list of samples.
MSamples = new sample[]{
New Sample (R.string.title_crossfade, Crossfadeactivity.class),
New Sample (R.string.title_card_flip, Cardflipactivity.class),
New Sample (R.string.title_screen_slide, Screenslideactivity.class),
New Sample (R.string.title_zoom, Zoomactivity.class),
New Sample (R.string.title_layout_changes, Layoutchangesactivity.class),
New Sample (R.string.title_advanced_screen_slide, Advancedscreenslideactivity.class),
};
Setlistadapter (New arrayadapter<sample> (This,
Android. R.layout.simple_list_item_1,
Android. R.ID.TEXT1,
MSamples));
}
@Override
protected void Onlistitemclick (ListView listview, View view, int position, long ID) {
Launch the sample associated with this list position.
StartActivity (New Intent (Mainactivity.this, Msamples[position].activityclass));
}
Operating effect:
Related code
Androidscreenslide Project Toggle View Animation effect
Scrolldownlayout ScrollView and Viewpager colleagues existing event handling
Starratingbar Star Toggle Animation
Anyshareofandroid Android third-party login
Animcheckbox button click Animation effect
Android Market Mainstream slide frame
Percentagecircle Custom Ring Effects
Emojichat Chat page implementation, support send failed resend
Circularcounter double-layer prototype progress bar effect
Android ListView Item is implemented via Viewpager
Androidscreenslide Project Toggle View Animation effect