Git Product home page Git Product logo

randomlayout's Introduction

#运行效果 qcl

#使用步骤 1,这个开源项目的使用只需要导入jar包就行。 这里可以实现文字的随机摆布,并且这些随机的文件可以显示不同的颜色, 不同的大小。文字进来时有个飞入效果。退出时有个飞出效果

2,使用的时候可以使用StellarMap这个类来创建显示随机文字的控件
	stellarMap = new StellarMap(this);
	// 1.设置内部的TextView距离四周的内边距
	int padding = 15;
	stellarMap.setInnerPadding(padding, padding, padding, padding);
	stellarMap.setAdapter(new StellarMapAdapter());
	// 设置默认显示第几组的数据
	stellarMap.setGroup(0, true);// 这里默认显示第0组
	// 设置x和y方向上的显示的密度
	stellarMap.setRegularity(15, 15);// 如果值设置的过大,有可能造成子View摆放比较稀疏

randomlayout's People

Contributors

qiushi123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.