GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Windsander/AnimatedRandomLayout: A flexible RandomLayout with controlable Animation

This repository was archived by the owner on Apr 20, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
libs
libs
 
 
res
res
 
 
src/com/special/animatedrandomlayout
src/com/special/animatedrandomlayout
 
 
.gitignore
.gitignore
 
 
AndroidManifest.xml
AndroidManifest.xml
 
 
README.md
README.md
 
 
ic_launcher-web.png
ic_launcher-web.png
 
 
proguard-project.txt
proguard-project.txt
 
 
project.properties
project.properties
 
 

Repository files navigation

AnimatedRandomLayout

      本布局实现了在屏幕上随机生成可供操作的子控件控件,并完成向中心移动的随控件出现位置,
  动态设定的动画效果。

#

SimpleExample:

#

可操控参数:

  随机生成的周期                  setLooperDuration(int mLooperDuration)
  最大动画时长                    setDefaultDruation(int mDefaultDruation)
  同一时刻随机生成控件的最大个数  setItemShowCount(int itemShowCount)
  随机控件分布网格空间大小        setRegularity(int xRegularity, int yRgularity)
  随机控件总数和显示(类似Adapter)setOnCreateItemViewListener(OnCreateItemViewListener itemViewListener)

#

子控件特点:

  对于子控件没有确切的要求,只要是控件父类为 View 类,就可以使用本随机布局添加显示。

#

注意:

  如果期望修改动画,可以先自定义动画,随后修改com.special.simplecloudview.random_layout
  文档中CloudRandomLayout.java(即,布局的所在文件)的startZoomAnimation方法即可。

About

A flexible RandomLayout with controlable Animation

Resources

Readme
Activity

Stars

137 stars

Watchers

1 watching

Forks

22 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.