Android Material Design (ii) Observable Scroll View

Source: Internet
Author: User

Observable Scroll Viewis the open Source Library on GitHub, a total of 49 different combinations of effects, I put the activity of each demo with a 49 item ListView binding, click to jump to the corresponding activity to view the effect.

  • Actionbarcontrolgridviewactivity//1
  • Actionbarcontrollistviewactivity//2
  • Actionbarcontrolrecyclerviewactivity//3
  • Actionbarcontrolscrollviewactivity//4
  • Actionbarcontrolwebviewactivity//5
  • Fillgap2listviewactivity//6
  • Fillgap2recyclerviewactivity//7
  • Fillgap2scrollviewactivity//8
  • Fillgap3listviewactivity//9
  • Fillgap3recyclerviewactivity//10
  • Fillgap3scrollviewactivity//11
  • Fillgaplistviewactivity//12
  • Fillgaprecyclerviewactivity//13
  • Fillgapscrollviewactivity//14
  • Flexiblespacetoolbarscrollviewactivity//15
  • Flexiblespacewithimagescrollviewactivity//16
  • Flexiblespacewithimagerecyclerviewactivity//17
  • Flexiblespacewithimagewithviewpagertab2activity//18
  • Flexiblespacewithimagelistviewactivity//19
  • Fragmentactionbarcontrollistviewactivity//20
  • Fragmenttransitionactivity//21
  • Handletouchgridviewactivity//22
  • Handletouchlistviewactivity//23
  • Handletouchrecyclerviewactivity//24
  • Handletouchscrollviewactivity//25
  • Handletouchwebviewactivity//26
  • Parallaxtoolbarlistviewactivity//27
  • Parallaxtoolbarscrollviewactivity//28
  • Scrollfrombottomlistviewactivity//29
  • Scrollfrombottomrecyclerviewactivity//30
  • Slidingupgridviewactivity//31
  • Slidinguplistviewactivity//32
  • Slidinguprecyclerviewactivity//33
  • Slidingupscrollviewactivity//34
  • Slidingupwebviewactivity//35
  • Stickyheaderlistviewactivity//36
  • Stickyheaderrecyclerviewactivity//37
  • Stickyheaderscrollviewactivity//38
  • Stickyheaderwebviewactivity//39
  • Toolbarcontrolgridviewactivity//40
  • Toolbarcontrollistviewactivity//41
  • Toolbarcontrolrecyclerviewactivity//42
  • Toolbarcontrolscrollviewactivity//43
  • Toolbarcontrolwebviewactivity//44
  • Viewpagertab2activity//45
  • Viewpagertabactivity//46
  • Viewpagertabfragmentactivity//47
  • Viewpagertablistviewactivity//48
  • Viewpagertabscrollviewactivity//49

Here are some of the following:




I'm not a producer of code, I'm just a copylefter porter. : )

GitHub Source:
Observable Scroll View

Here is an activity that I wrote that can be used to invoke the 49 activity of this project with the ListView:

Package Com.zms.materialdesign;import Android.app.activity;import Android.content.intent;import android.os.Bundle; Import Android.view.view;import Android.widget.adapterview;import Android.widget.arrayadapter;import Android.widget.button;import Android.widget.listview;import Android.widget.toast;import Com.zms.materialdesign.observablescrollview.activity.actionbarcontrolgridviewactivity;import Com.zms.materialdesign.observablescrollview.activity.actionbarcontrollistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.actionbarcontrolrecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.actionbarcontrolscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.actionbarcontrolwebviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgap2listviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgap2recyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.Fillgap2scrollviewactivity;import com.zms.materialdesign.observablescrollview.activity.FillGap3ListViewActivity ; Import Com.zms.materialdesign.observablescrollview.activity.fillgap3recyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgap3scrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgaplistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgaprecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fillgapscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.flexiblespacetoolbarscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.flexiblespacewithimagelistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.flexiblespacewithimagerecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.flexiblespacewithimagescrollviewactivity;import Com.zms.materialdesign.observablescrollview.aCtivity. Flexiblespacewithimagewithviewpagertab2activity;import Com.zms.materialdesign.observablescrollview.activity.fragmentactionbarcontrollistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.fragmenttransitionactivity;import Com.zms.materialdesign.observablescrollview.activity.handletouchgridviewactivity;import Com.zms.materialdesign.observablescrollview.activity.handletouchlistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.handletouchrecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.handletouchscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.handletouchwebviewactivity;import Com.zms.materialdesign.observablescrollview.activity.parallaxtoolbarlistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.parallaxtoolbarscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.scrollfrombottomlistviewactivity;import Com.zms.materialdesign.obServablescrollview.activity.scrollfrombottomrecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.slidingupgridviewactivity;import Com.zms.materialdesign.observablescrollview.activity.slidinguplistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.slidinguprecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.slidingupscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.slidingupwebviewactivity;import Com.zms.materialdesign.observablescrollview.activity.stickyheaderlistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.stickyheaderrecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.stickyheaderscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.stickyheaderwebviewactivity;import Com.zms.materialdesign.observablescrollview.activity.toolbarcontrolgridviewactivity;import Com.zms.materialdesign.observablescrollviEw.activity.toolbarcontrollistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.toolbarcontrolrecyclerviewactivity;import Com.zms.materialdesign.observablescrollview.activity.toolbarcontrolscrollviewactivity;import Com.zms.materialdesign.observablescrollview.activity.toolbarcontrolwebviewactivity;import Com.zms.materialdesign.observablescrollview.activity.viewpagertab2activity;import Com.zms.materialdesign.observablescrollview.activity.viewpagertabactivity;import Com.zms.materialdesign.observablescrollview.activity.viewpagertabfragmentactivity;import Com.zms.materialdesign.observablescrollview.activity.viewpagertablistviewactivity;import Com.zms.materialdesign.observablescrollview.activity.viewpagertabscrollviewactivity;import java.util.ArrayList; Import java.util.list;/** * Created by Alexzhou on 2015/3/20.    * 14:13 */public class Observablescrollviewactivity extends Activity {listview listview; @Override protected void OnCreate (Bundle savedinstancestate) {super.oncreate (savedinstancestate);        Setcontentview (R.layout.observable_scrollview);        ListView = (ListView) Findviewbyid (R.id.list);        Final List adapterdata = new ArrayList ();        Initial ListView Text Content adapterdata.add ("00-toast HeHe");    Adapterdata.add ("01-actionbarcontrolgridviewactivity");    1 Adapterdata.add ("02-actionbarcontrollistviewactivity");    2 Adapterdata.add ("03-actionbarcontrolrecyclerviewactivity");    3 Adapterdata.add ("04-actionbarcontrolscrollviewactivity");    4 Adapterdata.add ("05-actionbarcontrolwebviewactivity");    5 Adapterdata.add ("06-fillgap2listviewactivity");    6 Adapterdata.add ("07-fillgap2recyclerviewactivity");    7 Adapterdata.add ("08-fillgap2scrollviewactivity");    8 Adapterdata.add ("09-fillgap3listviewactivity");    9 Adapterdata.add ("10-fillgap3recyclerviewactivity"); Ten Adapterdata.add ("11-fIllgap3scrollviewactivity ");    Adapterdata.add ("12-fillgaplistviewactivity");    Adapterdata.add ("13-fillgaprecyclerviewactivity");    Adapterdata.add ("14-fillgapscrollviewactivity");    Adapterdata.add ("15-flexiblespacetoolbarscrollviewactivity");    Adapterdata.add ("16-flexiblespacewithimagescrollviewactivity");    Adapterdata.add ("17-flexiblespacewithimagerecyclerviewactivity");    Adapterdata.add ("18-flexiblespacewithimagewithviewpagertab2activity");    Adapterdata.add ("19-flexiblespacewithimagelistviewactivity");    Adapterdata.add ("20-fragmentactionbarcontrollistviewactivity");    Adapterdata.add ("21-fragmenttransitionactivity");    Adapterdata.add ("22-handletouchgridviewactivity");    Adapterdata.add ("23-handletouchlistviewactivity");    Adapterdata.add ("24-handletouchrecyclerviewactivity"); AdapTerdata.add ("25-handletouchscrollviewactivity");    Adapterdata.add ("26-handletouchwebviewactivity");    Adapterdata.add ("27-parallaxtoolbarlistviewactivity");    Adapterdata.add ("28-parallaxtoolbarscrollviewactivity");    Adapterdata.add ("29-scrollfrombottomlistviewactivity");    Adapterdata.add ("30-scrollfrombottomrecyclerviewactivity");    Adapterdata.add ("31-slidingupgridviewactivity");    Adapterdata.add ("32-slidinguplistviewactivity");    Adapterdata.add ("33-slidinguprecyclerviewactivity");    Adapterdata.add ("34-slidingupscrollviewactivity");    Adapterdata.add ("35-slidingupwebviewactivity");    Adapterdata.add ("36-stickyheaderlistviewactivity");    Adapterdata.add ("37-stickyheaderrecyclerviewactivity");    Panax Notoginseng adapterdata.add ("38-stickyheaderscrollviewactivity"); Adapterdata.add ("39-stickyheaderwebviEwactivity ");    Adapterdata.add ("40-toolbarcontrolgridviewactivity");    Adapterdata.add ("41-toolbarcontrollistviewactivity");    Adapterdata.add ("42-toolbarcontrolrecyclerviewactivity");    Adapterdata.add ("43-toolbarcontrolscrollviewactivity");    Adapterdata.add ("44-toolbarcontrolwebviewactivity");    Adapterdata.add ("45-viewpagertab2activity");    Adapterdata.add ("46-viewpagertabactivity");    Adapterdata.add ("47-viewpagertabfragmentactivity");    Adapterdata.add ("48-viewpagertablistviewactivity");    Adapterdata.add ("49-viewpagertabscrollviewactivity"); Arrayadapter adapter = new Arrayadapter (this, Android.        R.layout.simple_list_item_1, Adapterdata);        Listview.setadapter (adapter); Listview.setonitemclicklistener (New Adapterview.onitemclicklistener () {@Override public void Onitem Click (AdapTerview 

Android Material Design (ii) Observable Scroll View

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.