123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?xml version="1.0" encoding="utf-8"?>
- <com.bestv.edu.view.EnterAnimLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/activity_main"
- android:layout_height="match_parent"
- android:layout_width="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:orientation="vertical">
- <com.bestv.edu.view.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="这就是一个按钮"/>
- </LinearLayout>
- </LinearLayout>
- </com.bestv.edu.view.EnterAnimLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <CheckBox
- android:id="@+id/check_box"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="5dp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="apply enim to this Activity?"/>
- </LinearLayout>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_baiyechuang"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_baiyechuang"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="24sp"
- android:text="百叶窗效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_cachu"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_cachu"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="擦除效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_hezhuang"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_hezhuang"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="盒状效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_jieti"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_jieti"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="33sp"
- android:text="阶梯效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_lingxing"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_lingxing"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="菱形效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_lunzi"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_lunzi"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="轮子效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_pilie"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_pilie"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="劈裂效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_qipan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_qipan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="棋盘效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_qieru"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_qieru"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="切入效果"
- android:textSize="26sp"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_shanxingzhankai"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_shanxingzhankai"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="扇形展开效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_shizixingkuozhan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_shizixingkuozhan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="十字扩展效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_suijixiantiao"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_suijixiantiao"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="随机线条效果"
- android:textSize="30sp"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_xiangneirongjie"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_xiangneirongjie"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="向内溶解效果"
- android:textSize="28sp"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- <com.bestv.edu.view.EnterAnimLayout
- android:id="@+id/anim_yuanxingkuozhan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:isVisibleAtFirst="true"
- >
- <Button
- android:id="@+id/btn_yuanxingkuozhan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="圆形扩展效果"
- />
- </com.bestv.edu.view.EnterAnimLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- </com.bestv.edu.view.EnterAnimLayout>
|